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

Re: gcc-ld woes



Scott Bigham writes:
> Is there a version of gcc-ld more recent than the one in mgutil36.zoo on
> a.a?  That one's ca. May `93, and after fighting it for a while, I'm
> about ready to drop-kick it across the room.  Specifically:
> 
>   - The -lfred option only looks for fred.olb, and won't pick up
>     libfred.a.

well pl38 still does that.

 but ln(1) is your friend...

>   - It apparently doesn't scan libraries multiple times, leading to
>     scads of undefined symbols unless I explicitly put every library on
>     the command line twice.

 if your lib makefile looks for ranlib:

#! /bin/sh
exec /where/ever/yours/is/gcc-ar s $@

 otherwise add the s to the ar commands as someone else already said.
> 
> Surely this has been fixed since then.
> 
> 						-sbigham
 cheers
	Juergen