Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Zsh 4.0.2 + 64bit Solaris 8 Forte 6.1 compiler



Hi,

I have couple problems with zsh compile process.  I don't know how to
give correct parameters to configure process.  Compile will fail
because ./Makefile line 124 (LDFLAGS= ) is empty and it should contain
-xarch=v9.  I have tried to use these methods for configure but no
success yet.
CC=cc CFLAGS='-xO3 -xarch=v9' LDFLAGS='-xO3 -xarch=v9' ./configure
CC=cc ./configure --enable-cflags='-xO3 -xarch=v9' --enable-ldflags='-xO3 -xarch=v9'

`stamp-modobjs' is up to date.
rm -f libzsh-4.0.2.so
cc   -G -o libzsh-4.0.2.so  `cat stamp-modobjs` -lsocket -ldl -lnsl -lcurses -lm  -lc
ld: fatal: file builtin.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to libzsh-4.0.2.so

The second problem is with shared code.  ./configure line 6833
${DLCFLAGS=-Kpic} doesn't work and you should use -KPIC

`stamp-modobjs' is up to date.
rm -f libzsh-4.0.2.so
cc -xO3 -xarch=v9  -G -o libzsh-4.0.2.so  `cat stamp-modobjs` -lsocket -ldl -lnsl -lcurses -lm  -lc
ld: fatal: too many symbols require `small' PIC references:
        have 1552, maximum 1024 -- recompile some modules -K PIC.

  Tomppa
-- 
SUN Microsystems Oy PL 112, Lars Sonckin kaari 12, 02601 ESPOO, Finland
Tomi Vainio (System Support Engineer)     +358 9 52556300 hotline
email: Tomi.Vainio@xxxxxxx                +358 9 52556252 fax



Messages sorted by: Reverse Date, Date, Thread, Author