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]

Setting correct (cross) compiler for newlib?


My CrossGCC toolchain build just failed because newlib configure would pick up the wrong gcc. I'm guessing it's just a matter of doing CC=$TARGET-gcc ./configure, but notice that build-crossgcc.sh doesn't do it. Does it really work without it? How?

On a somewhat unrelated note, the method of 'mkdir build-newlib; cd build-newlib; ../newlib-<version>/configure' also fails for me. It seems like make gets a bit confused when not running on the source directory. In addition to this, it will complain about libgloss unless I run libgloss/configure "by hand".

This is all with newlib-1.11.0.

- Toralf


------ 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]