help compiling bash static

Albert Wagner alwagner at tcac.net
Wed Jan 8 14:21:44 PST 2003


On Monday 06 January 2003 5:56 pm, Gerard Beekmans wrote:
<snip>
>
> You can try using 'strace'  and see if it shows you anything
> useful. Install strace and run it like "strace -o outputfile
> config.guess"
>
> Then examine the 'outputfile' file.

I ran strace as user lfs and as user root then compared the two.  As 
user root config.guess appears to use cc, but as user lfs 
config.guess appears to use gcc.  cc is linked to gcc.  You seem to 
be right about the problem being in the compiler. After compiling, 
the lfs version makes references to a bunch of directories I don't 
have:

read(255, "rm -f $dummy.c $dummy\n\n# Apollos"..., 8176) = 887
 
read(255, "\n# Apollos put the system type i"..., 8176) = 865

stat64("/usr/apollo", 0xbffff9ac)       = -1 ENOENT (No such file or 
directory)

stat64("/usr/convex/getsysinfo", 0xbffff92c) = -1 ENOENT (No such file 
or directory)

stat64("/usr/amiga", 0xbffff9bc)        = -1 ENOENT (No such file or 
directory)

stat64("/bin/fxc.info", 0xbffff9bc)     = -1 ENOENT (No such file or 
directory)
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list