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: Building a static toolchain ?


On Wed, Mar 31, 2010 at 2:08 PM, Trevor Woerner <twoerner@gmail.com> wrote:
> Okay, thanks so much for the information!
>
> Just out of curiosity:
>
> 1. Since newer glibc's are compatible with older glibc's (but not the
> other way around) is it not possible to take the latest glibc and
> lower the 'minimum supported kernel version'?

in addition to system calls. there could be other symbols which are
not present in older libc

>
> 2. If you have built your toolchain statically linked to an older
> glibc then wouldn't it would mean you couldn't compile programs which
> use newer system calls (e.g. futex, inotify)?

you have to understand that the toolchain components themselves need a
libc when they run. Its not same as the target libc that you
would use to link the programs that will be generated by your
statically linked cross compiler.

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