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

See crosstool-NG 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: ct-ng 1.16.0: setting glibc 2.8 cause build to fail


Dear Members,

The cause to the problem is the -L argument in the link phase (with Intel Compiler)
I must give a path to glibc libraries contained in the gcc created with crosstool-ng.
The path was wrong and intel compiler used the libraries supplied with default gcc in the host (Red hat 5.3, gcc 4.1.2, glibc 2.5)


Thanks,
Zvika

-----Original Message----- From: Yann E. MORIN
Sent: Wednesday, October 31, 2012 1:52 AM
To: Zvi Vered
Cc: crossgcc@sourceware.org
Subject: Re: ct-ng 1.16.0: setting glibc 2.8 cause build to fail


Zvi, All,

On Wednesday 31 October 2012 Zvi Vered wrote:
glibc 2.8 was last modified at 26-Feb-2009.
I must use glibc 2.8 (or earlier) because Intel Compiler does not
support glibc 2.9 (or later).

crosstool-NG does not support the Intel Compiler (whatever that may be (yes, I know what it is)). The only compiler supported by crosstool-NG is gcc.

I have to use kernel 3.2.x (or later) because this kernel contains the
drivers I need for the PC104 chipset.
Kernel 3.2.25 (for example) was released at: 08-Feb-2012

No, you can use /old/ kernel headers to build the toolchain, and run a newer kernel on the target.

Of course, you loose whatever new features that were exposed to userland
since the /old/ kernel was released, but as you use an old glibc, those
features would anyway not be available to you.

Regards,
Yann E. MORIN.

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