Is there a way to make static executable out of ELF shared one?
Axel Kittenberger
Axel.Kittenberger@maxxio.at
Tue Dec 11 23:54:00 GMT 2001
> Yes I can but most shared binaries need (guess what?....) libc
> which isn't exactly small :-(
I do not now what your apps do but without a libc yoh have not interfacing in
na way (except raising the kernel traps yourself), no printf, no puts, no
exit, and argh you don't even have something that calls your main routine.
(You'll have to make the sjstem jump in yourself) Until you aren't doing
something very very special/crazy there will be na way aronud having any
libc) It's like building an embedded processor without RAM.
More information about the Gcc-help
mailing list