Hi Mark,
Thanks for answering.
On Sun, 1 Mar 2009, Mark Mitchell wrote:
> I think there's some confusion here. There is no relationship between
> the ASM_SPEC definition in a config *.h file regarding options to be
> passed to the assembler and the old "asmspec" parameter to
> rest_of_decl_compilation, which related to uses of the "__asm__(...)"
> extension in the source code.
>
Are you sure about that? From a brief look on the code over the 3.4.6
branch I assumed that this is the issue.
Well in the ASM_SPEC def as I ve described it in my previous message, in
3.4.6 branch works fine and even if gcc.c is not linked over cc1 still
toplev.o contains the ASM_SPEC extra commands. On GCC 4.x.x branch
cc1 doesnt get at all those extra options. I also used to document
those options in the --help line with SUBTARGET_SWITCHES macro which is
also not present anymore.
It is my guess that if I pass the above ASM_SPECS as CC1_SPECS it will
work but thats not the right thing!
ASM_SPECS were always custom extra command line commands to be been passed
to the assembler right? So re-stating my question:
1) the old way to do that (3.4.X branch ASM_SPEC) doesnt seem to work
anymore
2) How do you do it in the 4.X.X branch...
Regards,