Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Sender: brendan AT edison DOT dialix DOT com DOT au Message-ID: <37570B31.B28F5B10@dgs.monash.edu.au> Date: Thu, 03 Jun 1999 23:09:37 +0000 From: Brendan Simon Reply-To: brendan AT dgs DOT monash DOT edu DOT au Organization: CTAM Pty Ltd X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.6 i586) X-Accept-Language: en MIME-Version: 1.0 To: "dkirtley AT red-river-eng DOT com" CC: "'cygwin AT sourceware DOT cygnus DOT com'" Subject: Re: PowerPC and GCC!! References: <01BEADD9 DOT DC71B320 DOT dkirtley AT red-river-eng DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The cywin GCC is compiled to generate Intel 386,486... code ONLY. To generate code for the powerpc you must use a cross-compiler. There are a number of ways to obtain a gcc cross-compiler. 1) build one yourself from the gcc/egcs sources (not recommended for newbies unless this is what you really want to do). 2) obtain some precompiled binaries. I would recommend the Oject Software site (http://www.objsw.com). It has precompiled binaries (including libraries) of gcc that target m68k, powerpc, and sh-1. These run on DOS and Windows platforms. Get the powerpc downloads and the -mpowerpc option will then be recognised. The web site has the CrossGCC FAQ and details on how to join the CrossGCC mailing list. Brendan Simon. David Kirtley wrote: > I am relatively new at this and am trying to compile a simple program for > my target PowerPC 604. Ime using the Win32 Cygwin GCC and stuff, but I > have no idea how to compile for the 604. When I try the "-mpowerpc' I get > "Invalid Option: powerpc". "-mcpu=604" yields "cc1.exe: bad value (604) > for -mcpu= switch". Do I need additional libraries to compile to my 604? > libgcc.a? I bet this is a relatively simple question, but any and all > advice or locations where I could get advice would be extremely helpful. > Thank you very much. > > David Kirtley > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com