> > From: Declan Moriarty <[EMAIL PROTECTED]> > Date: 2006/03/19 Sun AM 09:50:55 EST > To: Hardened LFS Development List <hlfs-dev@linuxfromscratch.org> > Subject: Re: gcc's --print-file specs > > Recently, Somebody Somewhere wrote these words > > > > > Any clues as to what may cause gcc --print-file specs to only > > echo specs and not give any destination? > > > > I have been fooling with gcc-4.1.0 lately, and all I can get in > > every single compile is that the specs file doesn't seem to > > exist. > > > > I must be doing something wrong, but I cannot seem to be finding > > the cause. > > > It should be in /usr/lib/gcc/<quadruplet>/<version>/ > Where <quadruplet> = i686-pc-linux-gnu or whatever yours is > <version> = 4.1.0 or whatever > > Unless they have moved it. Does it exist? > Sorry about the double-post, my e-mail client/network went haywire while I tried to e-mail.
Okay, I have been using the uclibc-gcc patches from the uclibc's svn. It seems that the file never appeared or was created ( I used my host --print-file specs (which is gcc-3.4.5) to get an idea where the toolchain spec file should be and it was never created) After looking into the patches done by the uClibc team, it seems that specs file was removed and is hardcoded into gcc itself. After using the following patches: gcc-uclibc-conf patch from the gcc team and a the specs patch i remade based off of the hlfs patches themselves. I had to run the following sed commands: sed -i -e 's|/lib/uClibc-*.so|/tools/lib/uClibc-*.so|g' */configure sed -i -e 's|/lib/ld-uClibc.so.0|/tools/lib/ld-uClibc.so.0|g'-e 's|/lib/ld.so.1|/tools/lib/ld.so.1|g' -e 's|/lib/ld-linux.so.2|/tools/ld-linux.so.2|g' gcc/config/*/*.h and sed -i -e 's|/lib/lib64-uClibc.so.0|/tools/lib/lib64-uClibc.so.0|g' -e 's|/lib/lib64.so.1|/tools/lib64.so.1|g' gcc/config/*/*.h if this is not done for the toolchain, then gcc may/may not compile and if it does, it will link everything to the host machine. (and thus causing many unobvious problems) -- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page