This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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: Is there a way to make static executable out of ELF shared one?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]