zsh-workers
 help / color / mirror / code / Atom feed
* Re:  ZSH on 64 bit systems
@ 1998-11-17  9:28 Sven Wischnowsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 1998-11-17  9:28 UTC (permalink / raw)
  To: zsh-workers


Andrej Borsenkow wrote:

> I plan update my server to new 64 bit version of OS, and am interested in
> any experience with running ZSH on such sort of systems. Some background
> information:
> 
> ...

I've been using zsh on a DEC Alpha for quite some time now without any 
problems (after some fixes in previous zsh versions that have already
made it into the baseline). Alphas use the LP64 convention which seems 
to become standard for 64Bit systems (longs and pointers are 64 bit,
ints are 32 bit).

This reminds me... One note for Zefram: when trying to compile a zsh
with dynamic loading on this Digital Unix 4.0d I had to use gcc as the 
linker. Without it the binary couldn't be linked. With it I got heaps
of warnings about unresolved symbols but the binary worked fine. The
warnings could have been avoided by using `-Xlinker -z -Xlinker defs', 
I think.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

* ZSH on 64 bit systems
@ 1998-11-17  8:37 Andrej Borsenkow
  0 siblings, 0 replies; 2+ messages in thread
From: Andrej Borsenkow @ 1998-11-17  8:37 UTC (permalink / raw)
  To: ZSH workers mailing list

I plan update my server to new 64 bit version of OS, and am interested in
any experience with running ZSH on such sort of systems. Some background
information:

the system is ReliantUNIX 5.44 from SIEMENS (before Siemens Nixdorf). This
version has 64 bit kernel and provides three user execution environments

  32 bit
    this is fully compatible with previous versions; existing binaries will
run without recompilation.
    Virtual process memory is limited to 2GB; file system size is limited to
4GB; file size is
    limited to 2GB. It is not possible to access large files (over 2GB)

  64 on 32
    This is implementation of LFS model. Both explicit and mixed models are
supported. Virtual
     process memory is still limited to 2GB; file access is full 64 bit.
Special compiler flags are
     needed to enable either model. Most types have the same size as on 32
bit system;
     depending of LFS model either off_t is 64 bit, or off64_t &co should be
used instead

  true 64 bit
     In this model, process runs in true 64 bit environment; virtual memory
is almost unlimited :))
     full access to large files is provided. The size of most basic types
cheanges, notably

        sizeof(int) = 4
        sizeof(long) = 8
        sizeof(void *) = 8
        sizeof(off_t) = 8

The simplest way is to compile ZSH in true 64 bit mode. Unforunately, *any*
attempt to mix int and void * is doomed.

I gave it test-drive, and ZSH at least did run. But there was so much
warnings about possible truncation of large integer, that I am really
unsure.

regards

/andrej


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-11-17  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-17  9:28 ZSH on 64 bit systems Sven Wischnowsky
  -- strict thread matches above, loose matches on Subject: below --
1998-11-17  8:37 Andrej Borsenkow

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