This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: toolchain's sysroot via environment


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]