Subject: Re: GNU binutils 2.9.1 (was gcc-2.95.2 gcj)
To: Frederick Bruckman <fb@enteract.com>
From: Anders Dinsen <anders@dinsen.net>
List: netbsd-help
Date: 01/01/2000 17:21:23
Hello Frederick

On Thu, 30 Dec 1999, Frederick Bruckman wrote:
> On Thu, 30 Dec 1999, Anders Dinsen wrote:
> You might try the cross/binutils package. That will get you gnu ld,
> at least.

Ok, I got GNU ld now in /usr/pkg/cross/libexec/binutils/ld, but I cannot
use it to link my programs just so (I tried recompiling gcc in the hope
that it would pass the correct parameters to ld, but it does'nt - thats
why I have'nt asked this before):

ld says:

/usr/lib/crt0.o: file not recognized: File format is ambiguous
/usr/lib/crt0.o: matching formats: a.out-i386-netbsd a.out-hp300bsd

Do I need cross compiling libraries too? Or can I give an option to ld to
tell it what the library is? Or what?

Anders

-- 
Anders Dinsen
anders@dinsen.net
http://www.dinsen.net/anders/