Article View: gnu.gcc.help
Article #51515Using as/gas with GCC
From: Peter K. Campbell
Date: Fri, 14 May 1993 05:09
Date: Fri, 14 May 1993 05:09
20 lines
1573 bytes
1573 bytes
Howdy all. I've compiled gcc 2.3.3, and after that gas 2.0. I'd like to know if there is any way I can specify, on the command line, or in the make file, which version of the assembler I want gcc to call; as or gas. Note that I'm not doing an interim .c->.s->.o -> executable process, I want something I can set easily, that gcc will take notice of, e.g. "setenv AS /bin/as" and "setenv AS /local/bin/gas" (which doesn't work), in the same way you can do a "setenv CC cc" or "setenv CC gcc". In fact, I can't even tell which version I'm using now - I get three binary files which are different, depending upon whether I (1) Do it all in one process (ok, two; .c -> .o & link via gcc) (2) Break it up (gcc .c -> .s, assemble ->.o, gcc to link) using as (3) Break it up using gas Anyone know what's happening or how to fix it? Peter K. Campbell p.campbell@trl.oz.au
Technical Details
Message-ID:
<1993May14.050925.7503@trl.oz.au>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!wupost!uunet!munnari.oz.au!titan!tardis!peterShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,bd541fd5641da301,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-05-13 22:14:14 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!wupost!uunet!munnari.oz.au!titan!tardis!peter From: peter@tardis.trl.OZ.AU (Peter K. Campbell) Subject: Using as/gas with GCC Message-ID: <1993May14.050925.7503@trl.oz.au> Summary: How to choose the assembler GCC uses Keywords: gas, as, assembler, gcc, gnu Sender: root@trl.oz.au (System PRIVILEGED Account) Organization: Telecom Research Labs, Melbourne, Australia Date: Fri, 14 May 1993 05:09:25 GMT Lines: 20