cross compile and checking for C compiler default output file name

Josef Wolf
Fri Jan 15 06:50:00 GMT 2010

On Fri, Jan 15, 2010 at 09:03:58AM +0500, Ahsan Khawaja wrote:

> I got the similar error when i was building newlib. I figured it out that CC
> and CPP variables are intialized to your GCC_initial compiler which is not
> ready for making execuatables yet. I worked arround it by unsetting CC and
> CPP variables by CC="" and CPP="". by doing this the configure script
> initializes them to host GCC. I hope this will resolve your problem.

Thanks for your answer, Ahsan

Hmm, I don't really understand. I need to compile newlib for the target (m68k),
so I have to use the cross compiler. I don't think host GCC will solve the
problem here...

More information about the Newlib mailing list