From: Joe Mario <joe.mario@_no_spam_hp.com>
Subject: Re: Passing option to assembler from cc
Date: Fri, 12 Jul 2002 16:19:48 GMT [thread overview]
Message-ID: <3D2F002C.64669512@_no_spam_hp.com> (raw)
In-Reply-To: uitposeepohb56@corp.supernews.com
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)
prev parent reply other threads:[~2002-07-12 16:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-12 14:26 Passing option to assembler from cc Albert Chin-A-Young
2002-07-12 16:19 ` Joe Mario [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox