This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: !GNU, needs *2* binutils?


Allan Clark wrote:
Hi;

It seems that for non-Linux (or would that be non-GNU? Not the kernel) OSes, such as MacOSX, it seems that teo binutils builds are needed:

(MacOSX 10.3.9, crosstool-0.32, sleepy geek v1.1)

On these non-GNU OSes, the "as" and "ld" are not GNU as and ld. The crosstool-built binutil of course is a cross (armv5b-softfloat-linux-ar, etc) and includes no "as" binary... it builds only for the cross target. There is no "as" nor "ld" in the path that is acceptible to glibc's ./configure...

Is this a real problem in practice?


It seems that a simple way around this would be to "as --version || ld --version || {build a binutils for the host}".

Seem logical? What's often the workaround for this?

The workaround is probably "install binutils from fink (or from sources)", I suppose. Does installing it from fink work for you? - Dan

--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]