i386-c required by cc1plus

Markus Duft mduft@gentoo.org
Mon Sep 28 06:34:00 GMT 2009


Ian Lance Taylor wrote:
> Markus Duft <mduft@gentoo.org> writes:
> 
>> c-pragma.o(.text+0x1f30):c-pragma.c: undefined reference to
>> `_ix86_register_pragmas'
>> c-cppbuiltin.o(.text+0x248c):c-cppbuiltin.c: undefined reference to
>> `_ix86_target_macros'
>>
>> while trying to link cc1plus-dummy. could it be, that CXX_C_OBJS in
>> gcc/cp/Make-lang.in is missing i386-c.o (or better $(C_TARGET_OBJS))? Or
>> am i missing something else here?
> 
> This normally works because in config.gcc cxx_target_objs is set to
> contain i386-c.o.  In your patch you have the line
>> +	cxx_target_objs="winnt-cxx.o"
> which is breaking this.  You may want something like
>> +	cxx_target_objs="${cxx_targets_objs} winnt-cxx.o"

Ah, thanks - that was what i was missing - i should have known that this
happens to me, as i always say that copy/paste is dangerous ;)

Cheers, and thanks for the *pointer, Markus

> 
> Ian



More information about the Gcc-help mailing list