This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Gcc for PowerPC
- From: Ramana Radhakrishnan <ramana dot radhakrishnan at codito dot com>
- To: "Chen, Qin Fei" <Qinfei_Chen at adaptec dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 13 Apr 2005 15:14:18 +0530
- Subject: Re: Gcc for PowerPC
- References: <16808BEAD68708489AE865F48D87938915608E@AMSE2K02.adaptec.com>
Chen, Qin Fei wrote:
Hi,
I can use gcc compile for Intel and AMD cpu by specifying the switch "-mcpu=pentium4", but can't get powerPC work. if I set the switch to "-mcpu=powerpc", I always get the error message "cc1: error:had value <powerpc> for -mcpu switch". Could you help me and provide some advice if any. Thanks.
best regards.........qinfei
If you are using the -mcpu=powerpc with the same GCC image
that is used to build i386 apps, then the error is expected.
You might choose to use that option with GCC built for powerpc.
cheers
Ramana
--
Ramana Radhakrishnan
GNU Tools
codito ergo sum (www.codito.com)