No acceptable C compiler found

Joel Sherrill joel.sherrill at oarcorp.com
Tue Nov 13 20:45:39 UTC 2007


Ralf Corsepius wrote:
> On Tue, 2007-11-13 at 07:59 -0600, Joel Sherrill wrote:
>   
>> + MinGW doesn't run on Vista correctly.  The native compiler
>>     dies compiling hello world with a message like
>>      "cc1 not found". 
>>     
> cc1 not found indicates a toolchain relocation error.
> In general, GCCs based toolchains are not relocatible and must be
> installed into the prefix they have been configured for.
>   
Right but this is only happening on Vista.  I don't know
what subtle problem is happening but we installed on
a mix of 5 XP and Vista computers following the same
instructions.  XP's were OK.  Vista's all gave the same error.

Looks like the MinGW tools depend on something that
can't happen on Vista.
>   
>>  We searched online and others have
>>      run into this but the only solution I saw was to put the
>>      directory with cc1 in your PATH but that results in the
>>      RTEMS cross compiler finding the native cc1 not the
>>      cross one.
>>     
> Right. As you might recall, cross tools are named <host>-<tool>.
>
> You MUST not put the directory containing cc1 into $PATH.
>   
Yep.  Once I realized that was the only solution we had
found, we gave up on Vista.  That is a totally unacceptable
solution.

-joel
> Ralf
>
>
>   




More information about the users mailing list