This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

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


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
cross-compiler.

--gilbert

_______________________________________________
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.

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