This is the mail archive of the cygwin mailing list for the Cygwin 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]

Rebuilding gnu gcc or gnu as for the SPARC assembler

   I've installed cygwin fine on my machine. I am having trouble
compiling an assembly file, which is written in the SPARC assembly
architecture. When I type:

as --version
GNU assembler 2.17.50 20060817
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i686-pc-cygwin'.

So this tells me this isn't SPARC.

Looking at the man page for as, it has:
Target SPARC options:

So my questions are:
(1) Do I just change some options at the command-line to compile my
assembly file (written in SPARC)? If so, in gcc or via as and how do I
do this? I've tried:
$ as -Av6 printHello.s
as: unrecognized option '-Av6'

And also:
$ gcc -Wa,-Av6 printHello.s
as: unrecognized option '-Av6'

So this tells me that I don't have the SPARC assembler (i686, I think?).

(2) How do I rebuild gcc or as to have the SPARC assembler? I've
downloaded the src to:

and it has the files:

I do not know how to compile/rebuild gcc because I just downloaded the
binary via cygwin.

Thanks in advance for any advice, I've been reading man pages and
googling for the past 4 hours so I'm pretty lost.
but do not know what to do from there. I've attached my cygcheck.out
file just in case.

Attachment: cygcheck.out.txt
Description: Text document

Unsubscribe info:
Problem reports:

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