This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bootstrap/9361: [powerpc-linux] GCC 3.2.1 Boostrap stage 2 compile error (corrections)


On Thu, Feb 27, 2003 at 06:59:06PM -0000, dje at gcc dot gnu dot org wrote:
> Synopsis: [powerpc-linux] GCC 3.2.1 Boostrap stage 2 compile error (corrections)

Hi Thomas.

In your message you specify that you are bootstrapping on a PowerBook G3,
and that you are getting an "illegal instruction" error.  The G3 does not
have AltiVec so, this seems like a sensible error message ;-).

If you wish to bootstrap a native PPC compiler that will run on your G3,
but generate code for AltiVec, just bootstrap with powerpc-linux-gnu
and then use the following flags when compiling a program:

	-mabi=altivec -maltivec

Obviously, this program will not run on your G3.

Can you close this PR?

Aldy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]