From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,aa1932a3e72e6e8d,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-07-12 07:29:45 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Albert Chin-A-Young Newsgroups: comp.unix.tru64 Subject: Passing option to assembler from cc Date: Fri, 12 Jul 2002 14:26:36 -0000 Organization: The Written Word Message-ID: Sender: Albert Chin-A-Young Summary: User-Agent: tin/1.5.12-20020311 ("Toxicity") (UNIX) (Linux/2.2.20 (i686)) X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.unix.tru64:8122 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)