This is the mail archive of the
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: <email@example.com> <41FE8FAB.firstname.lastname@example.org>
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
> >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.