On 12 April 2010 20:36, AOL <[email protected]> wrote:
> Good day. Please excuse my English.
> Thanks for the help Andy and Chris.
> I ask help to understand this, if it possible: "$LFS_TGT-gcc
> -print-libgcc-file-name", from:
> ln -vs libgcc.a `$LFS_TGT-gcc -print-libgcc-file-name | \
> sed 's/libgcc/&_eh/'` (5.5. GCC-4.4.3 - Pass 1)
> Sincerely, fuf.
>
You defined LFS_TGT in section 4.4, so in my case the
program name is x86_64-lfs-linux-gnu-gcc-4.4.3.
From 'info gcc':
3.9 Options for Debugging Your Program or GCC
=============================================
(snip the many other options) ...
`-print-libgcc-file-name'
Same as `-print-file-name=libgcc.a'.
This is useful when you use `-nostdlib' or `-nodefaultlibs' but
you do want to link with `libgcc.a'. You can do
gcc -nostdlib FILES... `gcc -print-libgcc-file-name`
ĸen
--
After tragedy, and farce, "OMG poneys!"
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page