toolchain's sysroot via environment

Josh Henderson digitalpeer@digitalpeer.com
Sun Jul 11 08:07:00 GMT 2010


On Sat, Jul 10, 2010 at 11:44 PM, Enrico Weigelt <weigelt@metux.de> wrote:
> * Yann E. MORIN <yann.morin.1998@anciens.enib.fr> wrote:
>> Enrico, All,
>>
>> On Saturday 10 July 2010 17:44:57 Enrico Weigelt wrote:
>> > is there a way for passing the toolchain's sysroot prefix via
>> > environment, so one toolchain instance could be used for
>> > multiple parallel builds ?
>>
>> I'm not sure I understand the question.
>>
>> So I'll try to answer as best as I can:
>> - no, there's no way to pass the sysroot from the environment.
>> - nothing prevents you from running the same toolchain in //
>
> Let me clarify by an example:
>
> I've once built an toolchain one, lets say under /opt/x-tools/one.
> Now I'd like to start an build using /var/sysroot/1, and another
> one using /var/sysroot/2 - both at the same time.
>
Maybe set the environment PATH to include /var/sysroot/1 for build one
and /var/sysroot/2 for build two.  If the build uses gnu auto tools
look at --with-sysroot.
>
> cu
> --
> ----------------------------------------------------------------------
>  Enrico Weigelt, metux IT service -- http://www.metux.de/
>
>  phone:  +49 36207 519931  email: weigelt@metux.de
>  mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
> ----------------------------------------------------------------------
>  Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
> ----------------------------------------------------------------------
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list