Compilation problems on Ubuntu 64-bit

Marcus Clyne maccaday@gmail.com
Mon Jul 6 16:31:00 GMT 2009


I've tried adding all the elements in the environment, but it still 
doesn't work. :-(

Is there any reason why gcc/ld called from exec functions would have 
different options set (other than those relating to the environment) 
compared to being called from within a shell?

Marcus.


Ian Lance Taylor wrote:
> Marcus Clyne <maccaday@gmail.com> writes:
>
>   
>> I think I need to add something to the environment, but am not sure what.
>>     
>
> We don't know either.  I recommend running printenv to see what you have
> in your environment, adding all of it to your execve call, verify that
> it works, and then remove items one by one until it fails.
>
> Ian
>
>   



More information about the Gcc-help mailing list