scotth@sgi.com (Scott Henry) (06/09/89)
I have gotten a copy of the VMS GCC binaries, and they seem to work OK (I can compile, link and run the "hello world" program). I have copied over the GNUEmacs source directories from a UN*X machine to the VAX, and set up config.h and paths.h according to the file [...src]VMSBUILD, and changed the default compiler to be GCC. I have run into several problems: 1) the file s-vms.h contains the line: globalref char sdata[]; which GCC barfs on, giving the error message: [...]s-vms.h:216: parse error before `char' Anybody know the correct GCC-compatible replacement (I guessed that extern would do, but I haven't been able to test it yet)? 2) There are lots of missing include files. I presume that they come with the VAX-C compiler, but we no got, which is why I am trying to use GCC. Anybody have a (PD?) set of VAX/VMS include files (at least those needed to compile Emacs)? I can figure out a list of needed files on request. 3) I am also getting some "interesting" compiler errors. Specifically, in [...src]dir.h (from dired.c) it complains about declarations that look fine to me: [...src]dir.h:74: field `dir$t_name' has incomplete type [...src]dir.h:95: field `dir$t_linkname' has incomplete type 4) And in [...src]vmsfns.c I get several "invalid lvalue in unary `&' in function ..." errors in lines 273, 464, 656, 779, and 838. These don't look hard to fix, but I would have to ASSUME that what is meant is a pointer to a location holding the #define'd constant value. ------- Scott Henry <scotth@sgi.com> Silicon Graphics, Inc. Mountain View, CA #include <std/disclaimer.h> -- Scott Henry <scotth@sgi.com> #include <std_disclaimer.h>