From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,aa1932a3e72e6e8d X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-07-12 09:13:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!nntp.abs.net!uunet!dca.uu.net!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail Message-ID: <3D2F002C.64669512@_no_spam_hp.com> From: Joe Mario X-Mailer: Mozilla 4.79 [en] (X11; U; OSF1 V5.1 alpha) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Passing option to assembler from cc References: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Date: Fri, 12 Jul 2002 16:19:48 GMT NNTP-Posting-Host: 16.141.0.18 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1026490788 16.141.0.18 (Fri, 12 Jul 2002 09:19:48 PDT) NNTP-Posting-Date: Fri, 12 Jul 2002 09:19:48 PDT Organization: Compaq, part of the new hp Xref: archiver1.google.com comp.unix.tru64:8125 Albert: For a default compilation of a .c file, the assembler is not involved and never gets called. The gemc_cc C compiler does the assembly pass internally before emitting an object file. Joe Mario Albert Chin-A-Young wrote: > > Shouldn't: > $ cc -Wa,-oldas foo.c > pass -oldas to the assembler? I get: > $ cc -v -Wa,-oldas foo.c > /usr/lib/cmplrs/cc.dtk/gemc_cc -D__LANGUAGE_C__ -D__unix__ -D__alpha > -D_SYSTYPE_BSD -D_LONGLONG -D__arch64__ -D__digital__ -D__osf__ -g0 -O2 > -preempt_module -std -intrinsics -noansi_alias -oldas -v > -I/usr/include.dtk -o a.o a.c > cc: Error: Extraneous text follows option name in "-oldas" > /usr/lib/cmplrs/cc.dtk/gemc_cc: > 0.00u 0.02s 0:00 28% 0+3k 2+2io 0pf+0w 3stk+280mem > > -- > albert chin (china at thewrittenword dot com)