![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Link type between working machine and server machine | palash2k | UNIX for Dummies Questions & Answers | 1 | 05-22-2008 03:43 AM |
| Can I link object files compiled with xlC and g++? | luop0812 | AIX | 0 | 04-07-2008 03:23 PM |
| Link error while linking a shared library in unix | arunkumar_mca | UNIX for Dummies Questions & Answers | 3 | 02-15-2007 05:59 AM |
| Difference between hard link and soft link in unix | RAJACHOKALINGAM | UNIX for Dummies Questions & Answers | 2 | 08-01-2006 01:10 AM |
| use gcc and link with a library | AUBERT | High Level Programming | 1 | 06-21-2004 09:20 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Is it possible to link a library compiled on Solaris 10 with SunCompiler 5.9 in a project compiled with SC 5.8 ?
Is there an option to "downgrade" the SC5.9 => SC5.8 to be sure of the compatibility ? Thanks 4 your help |
| Forum Sponsor | ||
|
|
|
|||
|
I would not do it that way, remember the code compiled on a later platform will be linking against later include files and later libraries.
Code compiled on 5.8 should run on 5.9 and 5.10, but not the otherway round. Doing what you want would actually count as a cross-compile because you would need to get a copy of the 5.8 libraries and headers, and recompile making sure you compiled and linked against those and did not use any default /usr/include or /usr/lib. |
|
|||
|
I believe you can fake a library to an earlier release with the elfedit command which appeared in Solaris Express build 75.
elfedit(1) Of course, there is a slight risk in doing so. |
|||
| Google The UNIX and Linux Forums |