zsh-workers
 help / color / mirror / code / Atom feed
From: Cosmo <cosmo@informix.com>
To: zsh-workers@sunsite.auc.dk
Subject: NCR compiler problems on NCR
Date: Mon, 09 Oct 2000 16:41:56 +0100	[thread overview]
Message-ID: <39E1E744.6E043176@informix.com> (raw)


I'm trying to make some use of an old NCR machine but I am having some trouble
compiling Zsh with the native compiler. The configure script works out that there
is a 64 bit type of long long and so zlong is defined as such. However the compiler
does not like the following syntax:

extern long long func1();

func2()
{
    /* This fails */
    int Z1 = (int)func1();
    
    /* This is OK */
    long long Z2 = func1();
}

Giving errors like:

>>>At "b.c", 8: >>>>>>>>   S Y S T E M   E R R O R   1   <<<<<<<<, in 
pop() -- stack is empty!

This is a problem in the zsh src (I'm using 3.1.9) with all the references
to zstrtol() which is of type zlong->long long. 

Trying to compile gcc on this machine is also not going very well so I need
a way to dissable the detection of long long type or some other way to get 
round this problem. It has an old zsh 2.6 which works but needs to be 
replaced.

cc -V gives me: NCR High Performance C Compiler R1.0 (SCDE 2.03.00)

If any one knows how to fix the compiler, fix the zsh src config or build
a working gcc I'd love to know.




Cosmo


             reply	other threads:[~2000-10-09 15:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-09 15:41 Cosmo [this message]
2000-10-09 16:26 ` Andrej Borsenkow
2000-10-10  9:36   ` Cosmo
2000-10-10  9:48     ` Andrej Borsenkow
2000-10-11  8:55       ` PATCH: " Andrej Borsenkow
2000-10-11 10:52       ` Cosmo
2000-10-11 12:27         ` Andrej Borsenkow

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=39E1E744.6E043176@informix.com \
    --to=cosmo@informix.com \
    --cc=zsh-workers@sunsite.auc.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).