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

RE: Zsh 4.0.2 + 64bit Solaris 8 Forte 6.1 compiler



>
> 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
>

So, what others think? Should we change it to -KPIC for Solaris?

>
> Next thing is how to detect 64-bit.

No. Next thing is - why should zsh default to LP64 (that is what you mean.
Zsh already supports 64-bit atithmetic and large files)? Does it fix
something or adds new features?

-andrej



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