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

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

>  >
> Everything is moving to 64-bit environment and it's much easier to
> have only one set of local libraries for free software.  For example
> compiling something like xemacs I will need ten extra libraries and I
> rather compile only 64-bit versions if I need these even once and
> don't touch 32-bit stuff at all.

O.K., granted. But note, that it is not a simple. Currently zsh tries to
autodetect compiler flags (including those to enable LFS mode). But it does
it only if you did not explicitly specify any flags yourself. It is near to
impossible to write configure that wil parse e.g. LDFLAGS and infer
DLLDFLAGS. So, if you specify LDFLAGS you must specify DLLDFLAGS.

So, what you actually want is the way to specify "I want LP64 mode". It was
briefly discussed here when LFS support was added. The problem is, while LFS
support is more or less standardized (via getconf interface), there is no
standard way to enable LP64 mode. We'd end up listing every possible
combination of system/compiler.

> Firstly I thought you like to see how my environment is probed but you
> like to get piece of code how to detect Sun 64-bit Forte compiler.

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.


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