Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Build environment variable providers?

Hmm, I tried this and it didn't seem to work - it basically ended up
calling exec(cmd, env) putting my PATH variable in env and not finding
cmd because it wasn't already on the current PATH if that makes
sense...

2009/5/22 Pete Vidler <p.vidler@xxxxxxxxxxxxxxx>:
> Mike Wrighton wrote:
>>
>> I tried doing this using the configurationEnvironmentSupplier
>> extension point, but realised this only provides the environment
>> inside the processes which are spawned...
>
> We use configurationEnvironmentSupplier in the toolchain part of the XML to
> specify a IConfigurationEnvironmentVariableSupplier implementation that adds
> our compiler's path to the start of the PATH variable.
>
> Works quite well for us...
>
> Pete
>
> --
> Peter J. Vidler
> Senior Systems Developer, TTE Systems Ltd
> www.tte-systems.com
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>


Back to the top