Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Zsh 4.0.2 + 64bit Solaris 8 Forte 6.1 compiler
- X-seq: zsh-workers 15120
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: <Tomi.Vainio@xxxxxxx>, <zsh-workers@xxxxxxxxxx>
- Subject: RE: Zsh 4.0.2 + 64bit Solaris 8 Forte 6.1 compiler
- Date: Wed, 27 Jun 2001 16:23:25 +0400
- Importance: Normal
- In-reply-to: <15161.52699.177761.360508@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
First, why would you want to compile zsh in 64 bit mode? Does your compiler
support long long in 32 bit mode?
> 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
>
Use (in addition to the above)
DLLDFLAGS=-xarch=v9
> The second problem is with shared code. ./configure line 6833
> ${DLCFLAGS=-Kpic} doesn't work and you should use -KPIC
>
The same, give
DLCFLAGS=-KPIC
when configuring or
make DLCFLAGS=-KPIC ...
If you can provide a clean configure test to detect your compiler ...
> `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`
^^^^^^^^^^^^
where this comes from?
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author