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

Re: 64bits & df



On Tue, Nov 18, 2003 at 05:58:21AM +0100, Peter Eisentraut wrote:
> Ben Collins writes:
> 
> > I would suggest something close to ditching calling ld directly, so that
> > the CC env can make things work smoothly.
> 
> We need ld to do partial linking:
> 
> ld -r -o SUBSYS.o foo1.o foo2.o ...
> 
> We get the right ld to use with
> 
> gcc -print-prog-name=ld
> 
> but that does not pick up the right flags.  I'm open for better ideas.

Why can't you use AR instead to create SUBSYS.a, and then link that
directly? Should be an easy change.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/



Reply to: