QUESTION:
We have begun upgrading our systems to Solaris 2.6 and Sparcworks C
and fortran compilers. Currently, our development systems are up to 2.6,
while our application server is still at 2.4 as we resolve some problems
the upgrade will cause to our enviornment. In the meantime, one of our
applications is still being updated on the 2.4 machine.
What would be the easiest way to compile applications for 2.4 on a
2.6 machine? Is there a compiletime switch? can I create a directory
with the 2.4 libaries and complie using them? The client does not want
us doing compiles on the 2.4 machines. Any help would be appreciated,
and will be summarized.
ANSWER:
To compile for 2.4, you should:
- hand edit GNU autoconfig files (or run autoconfig on the 2.4 system)
- copy 2.4 include files and libraries
- invoke the compiler pointing at those files.
Since the APIs remain (largly) unchanged, you could try taking a copy of
/usr/lib form the 2.4 box and setting LD_LIBRARY_PATH accordingly.
THANK LIST:
Casper Dik <casper@holland.Sun.COM>
Sean Ward <sdward@uswest.com>
Kevin.Sheehan@uniq.com.au
ian@masuma.com
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:44 CDT