i386-pc-solaris2.7 to sparc-pc-solaris2.7 cross compiler

Gilbert Ramirez gram@xiexie.org
Sat Jun 19 07:31:00 GMT 1999

On Fri, Jun 18, 1999 at 05:30:59PM -0500, Terry Smith wrote:
> A quick 'hello world' will build and statically link fine. Anything a bit
> more complicated just doesn't link and complains about dlopen() and
> dlclose() being missing. I was hoping someone could give me a push in the
> right direction as to where I might find information on getting the
> linking stage working. Ideally it could cope with dynamically linking the
> libraries on the target when the binary is run.

Copy the sparc solaris libdl.so.* library to your host's
$prefix/TARGET/lib library. ld should pick them up automatically and
link them in. It does on my i686-pc-gnu-linux hosted sparc-solaris


New CrossGCC FAQ: http://www.objsw.com/CrossGCC
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

More information about the crossgcc mailing list