emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: Support for FreeBSD/amd64


From: Eli Zaretskii
Subject: Re: RFC: Support for FreeBSD/amd64
Date: Sat, 29 Oct 2005 12:07:50 +0200

> From: "Richard M. Stallman" <address@hidden>
> Date: Fri, 28 Oct 2005 14:09:06 -0400
> Cc: address@hidden
> 
>     > Yes, and they both are almost certainly needed.  The reason is that
>     > some functions in libgcc.a call functions from libc.a, and some libc.a
>     > functions need functions from libgcc.a.  Since most versions of ld are
>     > one-pass linkers, you need to mention -lgcc twice, or else risk
>     > getting unresolved externals.
> 
> Someone should add a comment above that line
> to explain this.

I don't object to such a comment, of course, but I thought this was
common knowledge.  E.g., anyone who has ever invoked GCC with the -v
option to build a C program already knows that GCC mentions -lgcc
twice on the linker's command line.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]