This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: cross compile and checking for C compiler default output file name
- From: Josef Wolf <jw at raven dot inka dot de>
- To: newlib at sourceware dot org
- Date: Fri, 15 Jan 2010 07:45:24 +0100
- Subject: Re: cross compile and checking for C compiler default output file name
- References: <20100114131953.GA30625@raven.wolf.lan> <818ccfc41001142003q7dff3750mfb87f3bcb69f12b9@mail.gmail.com>
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...