This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: a problem about "g++"



# Your comment on LD_LIBRARY_PATH was correct; your assumption that it
# is a Linux system was probably not - he said that he got the binary
# from sunfreeware.com :-)

I apologise - I should've spotted that, and the obvious reference to
"ld.so.1" (considering I was hacking around attempting to find a way of
executing Solaris x86 ELF binaries under Linux just this weekend, this is
something I should've noticed!)

If my memory serves me, however, the Solaris and Linux architectures in
this respect are pretty similar. I'm pretty sure /etc/ld.so.conf and
ldconfig -v do the same thing on both platforms. Unfortunately, I don't
have a Solaris machine to play with at the moment, so I can't confirm
this. 

Incidentally, does anybody know a way to execute Solaris x86 binaries
under Linux? I know the reverse is possible (i.e., executing Linux
binaries under Solaris). If anybody has any ideas on how to do this (short
of dual booting!), let me know in a private e-mail. Perhaps the GNU
Universal Emulation System needs to be created? :-)

-- 
Mo McKinlay                                T: +44 (0) 709 22 55 05  x1
Chief Software Architect                   F: +44 (0) 709 22 55 05  x3
inter/open                                 E: mmckinlay@labs.interopen.org
A division of Bekon Marketing Limited      W: http://www.interopen.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]