Re: linking SPARC applications
On Sat, 2007-07-21 at 16:53 +1000, Jim Watson wrote:
> Hi,
>
> I have been building SPARC applications - I mean the shared libraries
> report SPARC in response to the file command.
>
> Now I noticed these are linked to various standard libs in /lib/v9 which
> report SPARC32PLUS, instead of linking to the required SPARC libs in /lib
>
> Is this something that has to be configured when building or is it
> something happens when running ldd? (I only have sun4u here)
IIRC the output of ldd is something like
libraryNameInProgram => /where/it/maps/to/on/this/system
if the first is incorrect, you have to change you build system /
environment. If the second is incorrect you have to change how ld is
set up on your system.
Thus it would sound, to me, like your system was behaving correctly and
the binaries should work on sun4m.
HTH
Cheers,
- Martin
Reply to: