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: [PATCH] populate: add support for alternate sysroot


Hello Nate!
All,

On Tuesday 23 March 2010 19:27:41 Nate Case wrote:
> Add a new command line option, "-r", which allows the user to specify
> an alternate sysroot location to copy libraries from.  This is useful
> when using the toolchain in combination with a separate root filesystem,
> or when working with multiple different root filesystems.

I'm not sure I am following you into this...
What you are saying is that you want to use an existing rootfs as a place
to look for system libraries, instead of the toolchain's own sysroot?
That's pretty vicious... :-/

OTOH, if you have more than one rootfs, then just populate them separately,
with as many calls to populate as you have rootfs-es:

populate -s rootfs-1 -d rootfs-1.full
populate -s rootfs-2 -d rootfs-2.full
ad libitum...  [*]

Or?...

Anyway, I can see another reason we'd want this option for. But that's just
a wild guess for a (very) distant future (think multilib...).

Will apply shortly.

Thank you!

Regards,
Yann E. MORIN.

[*] it might be interesting to add a -c option (for 'concat', or whatever
    else we'd see fit), where the source rootfs would simply added to the
    existing rootfs (replacing existing files therein) and still populated
    accordingly, in case you are building the rootfs incrementaly. Might
    be needed when the destination directory is used as an NFS export (or
    whatever) that the target mounts as / .
YEM.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



--
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]