* Passing option to assembler from cc
@ 2002-07-12 14:26 Albert Chin-A-Young
2002-07-12 16:19 ` Joe Mario
0 siblings, 1 reply; 2+ messages in thread
From: Albert Chin-A-Young @ 2002-07-12 14:26 UTC (permalink / raw)
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Passing option to assembler from cc
2002-07-12 14:26 Passing option to assembler from cc Albert Chin-A-Young
@ 2002-07-12 16:19 ` Joe Mario
0 siblings, 0 replies; 2+ messages in thread
From: Joe Mario @ 2002-07-12 16:19 UTC (permalink / raw)
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-12 16:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-12 14:26 Passing option to assembler from cc Albert Chin-A-Young
2002-07-12 16:19 ` Joe Mario
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox