gcc specs

Robert Connolly cendres at videotron.ca
Sun Mar 14 14:35:08 PST 2004


On March 14, 2004 04:21 pm, Christopher James Coleman wrote:
> On Sun, 14 Mar 2004, Robert Connolly wrote:
> > static char CC1_PREPEND_SPEC[] = CC1_SPEC;
> > #undef CC1_SPEC
> > #define CC1_SPEC CC1_PREPEND_SPEC STD_SSP_EXCLUDE(CC1_SSP)
>
> I am guessing you are trying to re-assign the array pointer referred to as
> `CC1_PREPEND_SPEC' to instead point to the list that will be created by
> the `STD_SSP_EXCLUDE' macro, is this correct?

I want to append "STD_SSP_EXCLUDE(CC1_SSP)" on to "CC1_SPEC".

> I am not too knowledgeable about GCC in particular, but I assume that you
> have seen the definition, ``static char CC1_PREPEND_SPEC[] = CC1_SPEC;'',
> somewhere else in the GCC source code?

I tried "#define CC1_PREPEND_SPEC CC1_SPEC" and that didn't work either 
because CC1_SPEC gets undefined.



More information about the hlfs-dev mailing list