zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: <Tomi.Vainio@Sun.COM>, <zsh-workers@sunsite.dk>
Subject: RE: Zsh 4.0.2 + 64bit Solaris 8 Forte 6.1 compiler
Date: Wed, 27 Jun 2001 16:23:25 +0400	[thread overview]
Message-ID: <003501c0ff03$f6a7a2e0$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <15161.52699.177761.360508@gargle.gargle.HOWL>


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


  reply	other threads:[~2001-06-27 12:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-27 12:13 Tomi Vainio - Sun Finland -
2001-06-27 12:23 ` Andrej Borsenkow [this message]
2001-06-27 13:57 ` Clint Adams
2001-06-27 14:21   ` Tomi Vainio - Sun Finland -
     [not found] <15161.58232.30647.918340@gargle.gargle.HOWL>
     [not found] ` <004201c0ff11$e8dcb840$21c9ca95@mow.siemens.ru>
2001-06-27 14:15   ` Tomi Vainio - Sun Finland -
2001-06-27 14:30     ` Andrej Borsenkow
2001-06-28  9:13       ` Tomi Vainio - Sun Finland -
2001-06-28  9:34         ` Andrej Borsenkow
2001-06-29 13:51           ` Clint Adams
2001-06-29 15:09             ` Andrej Borsenkow
2001-06-29 15:29               ` Clint Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003501c0ff03$f6a7a2e0$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=Tomi.Vainio@Sun.COM \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).