zsh-workers
 help / color / mirror / code / Atom feed
* NCR compiler problems on NCR
@ 2000-10-09 15:41 Cosmo
  2000-10-09 16:26 ` Andrej Borsenkow
  0 siblings, 1 reply; 7+ messages in thread
From: Cosmo @ 2000-10-09 15:41 UTC (permalink / raw)
  To: zsh-workers


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


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

end of thread, other threads:[~2000-10-11 12:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-09 15:41 NCR compiler problems on NCR Cosmo
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

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