Hi all,
I remember having seen a conversation on using SunOS4.1.X's
C compiler under Solaris. At that time, the conclusion was
that this wasn't possible. Having run into a situation where
we needed to link old format .o files (that is, object files
produced with that older compiler) under Solaris 2.5.1, we
re-invested the whole thing and it turned out that it wasn't
so impossible after all (apologies if this is already known):
All we did was we binary-patched several hardwired paths in a
copy of SunOS4.1.4's cc, so that the compiler (running in
compatibility mode) now sees copies of the old precompiler,
compiler, linker, assembler, and libraries (at compile-time).
The (old a.out format) executables produced by the old compiler
run happily in compatibility mode under Solaris 2.5.1.
Since I don't have any idea on how legal this is (but suspect
not too much), I am rather reluctant to release the actual
patched code. All I want to point out is that it perfectly
technically achievable to produce old a.out format executables
under Solaris, thus answering a long-ago asked question
(again, apologies if this has already been answered).
Greetings to the list,
A. Varvitsiotis
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:15 CDT