ftp.nice.ch/peanuts/GeneralData/Usenet/news/1991/CSNAnn-91.tar.gz#/comp-sys-next-announce/1991/Nov/FAQ.languages:-Questions-about-programming-languages-on-the-NeXT

This is FAQ.languages:-Questions-about-programming-languages-on-the-NeXT in view mode; [Up]


Date: Sun 27-Nov-1991 03:36:31 From: lacsap@plethora.media.mit.edu (Pascal Chesnais) Subject: FAQ.languages: Questions about programming languages on the NeXT FAQ.languages: Questions about programming languages on the NeXT There is a fortran to c translator called f2c available via anonymous ftp from purdue in /pub/next/2.0-release/binaries specifically for the next. Also there is a commercially available fortran from Absoft (313) 853-0095 - Scheme is available from altdorf.ai.mit.edu. A quick tutorial on how to install it on the NeXTs is in the works. Schematik is a NeXT front end app available on the archive servers. - Xlisp is available from bikini.cis.ufl.edu. To make it work on the NeXT changes in unixstuf.c : #define BSD in function init_tty: declare extern char xltoplevel() in function read_keybd: change char buf[1] to char buf[100] change sizeof(buf) to sizeof(char) - AKCL is available from sonata.cc.purdue.edu. - Scheme->C Compiler is available from sonata.cc.purdue.edu and gatekeeper.dec.com. - ACL (allegro common lisp) used to be bundled with 1.0, now it is available directly from Franz Inc. , 1995 University Avenue, Berkeley, CA 94704, (510) 548-3600, FAX (510) 548-8252, email info@franz.com. p2c, David Gillespie's Pascal to C translator, can be obtained from csvax.cs.caltech.edu in pub/p2c-1.18.tar.Z. It compiles on the NeXT by changing line 80 of src/trans.h from #ifdef BSD to #if defined(BSD) && !defined(__STDC__) It translates many dialects of Pascal including Turbo, VAX, Sun/Berkeley. cc++ shipped with the NeXT 2.0 is actually: NeXT Release 2.0 (v31.1) -- GNU version 1.36.4 (based on GCC 1.36) libg++ is not provided, you need to compile it (GNU software is available from prep.ai.mit.edu). Two things to note about the cc++ on NeXT. Any C include files have to be specified as below: extern "C" { #include <libc.h> #include <stdio.h> #include <stdlib.h> #include <math.h> } This tells that the code is C++, so you won't have problems with the standard libraries thinking your program is Objective C. Also the /usr/include/stdio.h in line 75 has a variable "new" that conflicts with a g++ keyword. You can redefine it using #define new __new__ #include "stdio.h" #undef new After the above two fixes, g++ programs that do not use the g++ class library (and therefore do not need libg++ to be available) work. Pascal Chesnais lacsap@media.mit.edu John Garnett garnett@cs.utexas.edu Erik Kay erikkay@athena.mit.edu Copyright 1991 Massachusetts Institute of Technology
Date: Sun 09-Dec-1991 19:10:39 From: lacsap@plethora.media.mit.edu (Pascal Chesnais) Subject: FAQ.languages: Questions about programming languages on the NeXT FAQ.languages: Questions about programming languages on the NeXT There is a fortran to c translator called f2c available via anonymous ftp from purdue in /pub/next/2.0-release/binaries specifically for the next. Also there is a commercially available fortran from Absoft (313) 853-0095 - Scheme is available from altdorf.ai.mit.edu. A quick tutorial on how to install it on the NeXTs is in the works. Schematik is a NeXT front end app available on the archive servers. - Xlisp is available from bikini.cis.ufl.edu. To make it work on the NeXT changes in unixstuf.c : #define BSD in function init_tty: declare extern char xltoplevel() in function read_keybd: change char buf[1] to char buf[100] change sizeof(buf) to sizeof(char) - AKCL is available from sonata.cc.purdue.edu. - Scheme->C Compiler is available from sonata.cc.purdue.edu and gatekeeper.dec.com. - ACL (allegro common lisp) used to be bundled with 1.0, now it is available directly from Franz Inc. , 1995 University Avenue, Berkeley, CA 94704, (510) 548-3600, FAX (510) 548-8252, email info@franz.com. p2c, David Gillespie's Pascal to C translator, can be obtained from csvax.cs.caltech.edu in pub/p2c-1.18.tar.Z. It compiles on the NeXT by changing line 80 of src/trans.h from #ifdef BSD to #if defined(BSD) && !defined(__STDC__) It translates many dialects of Pascal including Turbo, VAX, Sun/Berkeley. cc++ shipped with the NeXT 2.0 is actually: NeXT Release 2.0 (v31.1) -- GNU version 1.36.4 (based on GCC 1.36) libg++ is not provided, you need to compile it (GNU software is available from prep.ai.mit.edu). Two things to note about the cc++ on NeXT. Any C include files have to be specified as below: extern "C" { #include <libc.h> #include <stdio.h> #include <stdlib.h> #include <math.h> } This tells that the code is C++, so you won't have problems with the standard libraries thinking your program is Objective C. Also the /usr/include/stdio.h in line 75 has a variable "new" that conflicts with a g++ keyword. You can redefine it using #define new __new__ #include "stdio.h" #undef new After the above two fixes, g++ programs that do not use the g++ class library (and therefore do not need libg++ to be available) work. Pascal Chesnais lacsap@media.mit.edu John Garnett garnett@cs.utexas.edu Erik Kay erikkay@athena.mit.edu Copyright 1991 Massachusetts Institute of Technology
Date: Sun 19-Dec-1991 06:58:33 From: lacsap@plethora.media.mit.edu (Pascal Chesnais) Subject: FAQ.languages: Questions about programming languages on the NeXT FAQ.languages: Questions about programming languages on the NeXT There is a fortran to c translator called f2c available via anonymous ftp from purdue in /pub/next/2.0-release/binaries specifically for the next. Also there is a commercially available fortran from Absoft (313) 853-0095 - Scheme is available from altdorf.ai.mit.edu. A quick tutorial on how to install it on the NeXTs is in the works. Schematik is a NeXT front end app available on the archive servers. - Xlisp is available from bikini.cis.ufl.edu. To make it work on the NeXT changes in unixstuf.c : #define BSD in function init_tty: declare extern char xltoplevel() in function read_keybd: change char buf[1] to char buf[100] change sizeof(buf) to sizeof(char) - AKCL is available from sonata.cc.purdue.edu. - Scheme->C Compiler is available from sonata.cc.purdue.edu and gatekeeper.dec.com. - ACL (allegro common lisp) used to be bundled with 1.0, now it is available directly from Franz Inc. , 1995 University Avenue, Berkeley, CA 94704, (510) 548-3600, FAX (510) 548-8252, email info@franz.com. p2c, David Gillespie's Pascal to C translator, can be obtained from csvax.cs.caltech.edu in pub/p2c-1.18.tar.Z. It compiles on the NeXT by changing line 80 of src/trans.h from #ifdef BSD to #if defined(BSD) && !defined(__STDC__) It translates many dialects of Pascal including Turbo, VAX, Sun/Berkeley. cc++ shipped with the NeXT 2.0 is actually: NeXT Release 2.0 (v31.1) -- GNU version 1.36.4 (based on GCC 1.36) libg++ is not provided, you need to compile it (GNU software is available from prep.ai.mit.edu). Two things to note about the cc++ on NeXT. Any C include files have to be specified as below: extern "C" { #include <libc.h> #include <stdio.h> #include <stdlib.h> #include <math.h> } This tells that the code is C, so you won't have problems with the standard libraries thinking your program is Objective C. Also the /usr/include/stdio.h in line 75 has a variable "new" that conflicts with a g++ keyword. You can redefine it using #define new __new__ #include "stdio.h" #undef new After the above two fixes, g++ programs that do not use the g++ class library (and therefore do not need libg++ to be available) work. At NeXT Fed-Expo Meridian Software demonstrated a NeXT Ada compiler (800)221-2522 FAX: (714)727-3583 Pascal Chesnais lacsap@media.mit.edu John Garnett garnett@cs.utexas.edu Erik Kay erikkay@athena.mit.edu Copyright 1991 Massachusetts Institute of Technology

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.