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: Frank Schmitt
Subject: Re: RFC: Support for FreeBSD/amd64
Date: Thu, 27 Oct 2005 22:56:45 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> > +#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o
>> [...]
>> 
>> Theres -lgcc two times in above line.
>
> 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.

I see. Always nice to learn something new ;-)

-- 
Did you ever realize how much text fits in eighty columns? If you now consider
that a signature usually consists of up to four lines, this gives you enough
space to spread a tremendous amount of information with your messages. So seize
this opportunity and don't waste your signature with bullshit nobody will read.





reply via email to

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