Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 5 Apr 2001 02:02:46 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Cc: mrbitty@cedar.alberni.net
Subject: Re: Compiler option questions
Message-ID: <20010405020246.A8315@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com, mrbitty@cedar.alberni.net
References: <003201c0bd94$4871c940$4e2dbace@default>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <003201c0bd94$4871c940$4e2dbace@default>; from mrbitty@cedar.alberni.net on Wed, Apr 04, 2001 at 09:12:44PM -0700

On Wed, Apr 04, 2001 at 09:12:44PM -0700, 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.

You can't do this.  If you want to build PowerPC binaries, you have to find
a compiler and linker that is designed to do this.  The Cygwin compiler is
built to produce Windows executables.

You can build a PowerPC cross-compiler but it is not an easy task.
Unfortunately this is not the forum for learning how to do this.
http://gcc.gnu.org/ would be one place to start.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

