linker - solaris studio link against specific libc.so version -


i want compile/link on new solaris version (libc.so sunw_1.22.6) system older solaris (libc.so sunw_1.22.4). how can specify linker (on new version) should build binary uses older (1.22.4) libc.so?

in general, unix systems support backward compatibility (a program built on older system continues work on newer system), not opposite: program built on newer system may not work on older system.

for reason, build program on oldest os release going support.

how can specify linker (on new version) should build binary uses older (1.22.4) libc.so

you need "new solaris -> old solars" cross-compiler that. gcc can built such cross-compilation, not trivial. building on older system simpler approach.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -