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

[1] http://marc.info/?l=openpkg-users&m=116072933928495&w=2
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to