On Tue, May 01, 2007, Scott Cruzen wrote:
> I'd like to build a 64bit OpenPKG instance on Solaris 11/06.
>
> I tried building OpenPKG from scratch, which succeeded for 32bit, and
> found that the OpenPKG gcc package does not include 64bit libgcc.
>
> I also tried to follow the instructions from the email here [1] in order
> to build an entirely 64bit OpenPKG instance, but it seems that things
> have changed enough to prevent this from working.
>
> from the hello.sh script:
> /openpkg/bin/gcc -o hello hello.c
> hello: ELF 32-bit LSB executable 80386 Version 1
> /openpkg/bin/gcc -m32 -o hello hello.c
> hello: ELF 32-bit LSB executable 80386 Version 1
> /openpkg/bin/gcc -m64 -o hello hello.c
> /openpkg/bin/ld: skipping incompatible
> /openpkg/lib/gcc/i386-pc-solaris2.10/4.1.2/./libgcc.a when searching for
> -lgcc
> /openpkg/bin/ld: cannot find -lgcc
> collect2: ld returned 1 exit status
> hello: cannot open: No such file or directory
Seems like the latest GCC doesn't automatically build a 32 and 64 bit
library by default. I'll investigate and try to find out what the reason
is for this...
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List [email protected]