[ELDK] ELDK 4.2 static linking

Wolfgang Denk wd at denx.de
Fri Apr 18 07:41:27 CEST 2008


Dear Azra,

in message <a9067d050804171207m7e198a88m16bd9bb84f659d4e at mail.gmail.com> you wrote:
> 
> Today I tried to test the gcj from ELDK 4.2 for a PPC405EP.
> Because the system the application should running on is 3
> years old (with Linux 2.4 and uclibc) i thought to link the
> HelloWorld.java statically. Everything went fine till i got a
> sigsegv on the target system. Then I tried to compile
> helloworld.c with gcc -static. It crashed too.

This will not work. Glibc is not really doing what you think it might
do when you talk about "static linking".

Sorry, but ELDK 4.2 is a glibc environment for 2.6 kernels. It neither
supports linking for / running in a uClibc based environment nor with
a 2.4 kernel.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Ahead warp factor 1"                                  - Captain Kirk


More information about the eldk mailing list