From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1579 invoked from network); 27 Jun 2001 12:23:40 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 27 Jun 2001 12:23:40 -0000 Received: (qmail 23386 invoked by alias); 27 Jun 2001 12:22:50 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15120 Received: (qmail 23370 invoked from network); 27 Jun 2001 12:22:48 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: , Subject: RE: Zsh 4.0.2 + 64bit Solaris 8 Forte 6.1 compiler Date: Wed, 27 Jun 2001 16:23:25 +0400 Message-ID: <003501c0ff03$f6a7a2e0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <15161.52699.177761.360508@gargle.gargle.HOWL> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 Importance: Normal 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