View Single Post
Old 11-14-2008, 07:30 PM   #6
pisdpaul
Developer PISD & OOTP
 
pisdpaul's Avatar
 
Join Date: Apr 2008
Posts: 1,207
Quote:
Originally Posted by lstephen666 View Post
Is a static build an option? I realize there would be a cost in
Thanks,
Levi terms of file size, but no idea how much.
I looked into this more than once. However I was unable to source all the required static libs to link too. If I recall there was a problem statically linking stdlibc and libc++ as they require dynamic parts which contain system specific information. This means you can't create a truly static elf file. This can then cause stdlibc/stdlibc++ to fail to initialise and be more dificult to resolve. The GCC man page strongly recomends NOT to statically link these std libs. Which are the ones that you are having issue with.

I think the best option is to install a 2yr old distro for building. That way most (if not all) systems will have a later set of libs that are backward compatible. I just need to resolve a troublesome lib that wont link on older systems.

Confused? I know I am
pisdpaul is offline