Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Authentication-Warning: ute.port.de: Host ute.port.de [194.173.33.3] claimed to be port.de Message-ID: <3ACC0E4A.C577CAB2@port.de> Date: Thu, 05 Apr 2001 08:18:50 +0200 From: Heinz-Juergen Oertel Organization: port.de X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.16 i686) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Compiler option questions References: <003201c0bd94$4871c940$4e2dbace AT default> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id DAA27851 You must have a special cross-compiler installation. Standard gcc (in the cygwin distribution ) does normally not create code other than Intel. Please look in all the mail archives for cross-compilation. There are more than enough you can find. The compiler option you have to use is -S, be careful with the case of all letters. Heinz Larry wrote: > > I have downloaded and installed the Cygwin package and it works despite my > having NO knowledge of Unix or C. My objectives are VERY limited. I want to > learn PowerPC assembly language and I thought that doing some C compiles and > looking over the assembly source output would be helpful. So, all I want to > do is make the GCC compiler generate PowerPC assembly code to some file that > I can look over. In checking the documentation it seems that I can tell the > compiler to generate code for a Powerpc machine by using the "-mpowerpc" > parameter. It also seems that I can tell the compiler to quit after > generating this code by using the "-s" parameter. I'm entering these options > on the command line like: > "gcc hello.c -mpowerpc -s", but it isn't working. Thanks for any help. > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple -- with best regards / mit freundlichen Grüßen Heinz-Jürgen Oertel =========================================== Heinz-Jürgen Oertel port GmbH phone +49 345 77755-0 Regensburger Str. 7c fax +49 345 77755-20 D-06132 Halle/Saale mailto:oe AT port DOT de Germany http://www.port.de =========================================== -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple