Problem with $(gcc -dumpmachine)

Dan Nicholson dbn.lists at
Fri Nov 9 10:08:28 PST 2007

On Nov 9, 2007 4:56 AM, John Whitmore <johnfwhitmore at> wrote:
> In my /tools directory I've got two candidates:
> /tools/i686-pc-linux-gnu-gcc
> /tools/i686-pc-linux-gnu-gcc-4.1.2

The first one is wrong, and it should be in /tools/bin.

> However my $(gcc -dumpmachine) gives me
> i486-pc-linux-gnu

This indicates further that your installation of gcc in Ch. 5 is
screwed up. Probably the safest plan is to start over at the beginning
of Ch. 5. It will be hard to determine where the problem occurred and
what is affected by the issue.


More information about the lfs-support mailing list