This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: problem cross-compiling gcc 3.4.3 from x86/linux to ppc604/vxWorks
- From: Daniel Jacobowitz <drow at false dot org>
- To: jf <j_f at laposte dot net>
- Cc: Roberto Fichera <robyf at tekno-soft dot it>, gcc at gcc dot gnu dot org
- Date: Mon, 31 Jan 2005 15:09:40 -0500
- Subject: Re: problem cross-compiling gcc 3.4.3 from x86/linux to ppc604/vxWorks
- References: <6.2.0.14.2.20050131111511.0722d0a0@mail.isolaweb.it> <41FE8FAB.8000102@laposte.net>
On Mon, Jan 31, 2005 at 09:06:03PM +0100, jf wrote:
> Roberto Fichera wrote:
>
> >Hi Jean-Francois,
> >
> >I've read your post at the gcc-help mailing list about the gcc3.4.3 cross
> >compilation for linux/x86 to PPC604/vxWorks. Currently I've the same
> >error,
> >did you resolve the CPU undefined error in some way?
> >
> >Best regards,
> >
> >Roberto Fichera.
>
> Yes I did !
> I remember it is a problem with multi lib...
> I didn't really solved the problem but If you just plan to use your
> compiler only with ppc604 I've got a dit hack that works fine :
> In the file that cause the error (#error directive) just hard define CPU
> and CPU_FAMILY then run make again....
> let me know if it works (if no I'll have a look deeper into what I did)
IIRC, CPU is normally defined on the command line by the VxWorks
makefiles. One of many quirks of building compilers for VxWorks.
--
Daniel Jacobowitz