From: Tomi Vainio - Sun Finland - <Tomi.Vainio@Sun.COM>
To: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
Cc: <zsh-workers@sunsite.dk>
Subject: RE: Zsh 4.0.2 + 64bit Solaris 8 Forte 6.1 compiler
Date: Thu, 28 Jun 2001 12:13:02 +0300 [thread overview]
Message-ID: <15162.62750.136548.435614@gargle.gargle.HOWL> (raw)
In-Reply-To: <004a01c0ff15$c20557a0$21c9ca95@mow.siemens.ru>
Andrej Borsenkow writes:
>
> Yes. I do not have either Solaris or Forte compiler so I cannot do it
> myself. As said, either describe how your compiler can be detected or, if it
> is confirmed that -KPIC is supported by all compilers on Solaris, we can
> change it.
>
I have made some digging. Oldest compiler I could find is 4.2 which
is quite old (cc: WorkShop Compilers 4.2 30 Oct 1996 C 4.2) and all
series 4 compilers are quite the same. This old compiler knows -KPIC
-option and I also checked xemacs 21.4 configure and they use -KPIC
almost for every system available (irix/sysv4/unixware/solaris).
/opt/SUNWspro/bin/cc -cflags|grep -i pic
-KPIC Compile position independent code with 32-bit addresses
-Kpic Compile position independent code
Next thing is how to detect 64-bit. Isainfo is quite good for this
and old compilers don't know anything about -xarch=v9 or v9a/v9b.
Only things that change for eg. on xemacs configure when using 64-bit
are size of long and void *
man cc
---clip clip---
v9 Compile for the SPARC-V9 ISA.
v9a Compile for the SPARC-V9 ISA with UltraSPARC extensions.
v9b Compile for the SPARC-V9 ISA with UltraSPARC-III extensions.
---clip clip---
man isainfo
---clip clip---
-b Prints the number of bits in the address space of the
native instruction set.
-k Prints the name of the instruction set(s) used by the
operating system kernel components such as device
drivers and STREAMS modules.
-n Prints the name of the native instruction set used by
portable applications supported by the current version
of the operating system.
-v Prints more detailed information about the other
options.
---clip clip---
% /usr/bin/isainfo -b
64
% /usr/bin/isainfo -k
sparcv9
% /usr/bin/isainfo -n
sparcv9
% /usr/bin/isainfo -bv
64-bit sparcv9 applications
% /usr/bin/isainfo -kv
64-bit sparcv9 kernel modules
% /usr/bin/isainfo -nv
64-bit sparcv9 applications
--
SUN Microsystems Oy PL 112, Lars Sonckin kaari 12, 02601 ESPOO, Finland
Tomi Vainio (System Support Engineer) +358 9 52556300 hotline
email: Tomi.Vainio@Sun.COM +358 9 52556252 fax
next prev parent reply other threads:[~2001-06-28 9:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 - [this message]
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
2001-06-27 12:13 Tomi Vainio - Sun Finland -
2001-06-27 12:23 ` Andrej Borsenkow
2001-06-27 13:57 ` Clint Adams
2001-06-27 14:21 ` Tomi Vainio - Sun Finland -
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=15162.62750.136548.435614@gargle.gargle.HOWL \
--to=tomi.vainio@sun.com \
--cc=Andrej.Borsenkow@mow.siemens.ru \
--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).