ShareOpenSolaris


Home » OpenSolaris.com Forums » Packaging

Thread: Where is the x64 gcc library? Where are all the x64 installable packages?


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Pages: 1 - Last Post: Aug 13, 2008 11:01 PM Last Post By: ProdosProgrammer Threads: [ Previous | Next ]
JoeKuan

Posts: 4
Registered: 7/18/08
Where is the x64 gcc library? Where are all the x64 installable packages?
Posted: Jul 21, 2008 3:05 PM
 
  Click to reply to this thread Reply
I have been compiling code using gcc -m64 building my amd 64 bits executables and *.so libraries. When I did ldd on the so library, I realised the gcc library is only 32 bits.

libc.so.1 => /lib/64/libc.so.1
libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1 - wrong ELF class: ELFCLASS32
libm.so.2 => /lib/64/libm.so.2

How do I resolve this without building a 64 bits gcc library?

The OpenSolaris is said to support AMD64 but where are 64 bits packages, mysql, apache, etc.

Thanks
Joe
ProdosProgrammer

Posts: 2
Registered: 8/13/08
Re: Where is the x64 gcc library? Where are all the x64 installable packages?
Posted: Aug 13, 2008 11:01 PM   in response to: JoeKuan in response to: JoeKuan
 
  Click to reply to this thread Reply
There is a 64-bit gcc AMD64 runtime library:

file /usr/sfw/lib/amd64/libgcc_s.so.1
/usr/sfw/lib/amd64/libgcc_s.so.1: ELF 64-bit LSB dynamic lib AMD64 Version 1, dynamically linked, not stripped

pkg search /usr/sfw/lib/amd64/libgcc_s.so.1
INDEX ACTION VALUE PACKAGE
path file usr/sfw/lib/amd64/libgcc_s.so.1 pkg:/SUNWgccruntime@3.4.3-0.94

There is a 64-bit apache:

/usr/apache2/2.2/bin/amd64/httpd

There is a 64-bit mysql:

/usr/mysql/5.0/bin/amd64/mysql

In short, I'm not certain what you're asking.

Point your RSS reader here for a feed of the latest messages in all forums