Newsgroups: comp.lang.apl
Path: watmath!watserv1!utgpu!cs.utexas.edu!wupost!darwin.sura.net!haven.umd.edu!socrates!socrates!rockwell
From: rockwell@socrates.umd.edu (Raul Deluth Miller-Rockwell)
Subject: Re: J source
In-Reply-To: sam@csi.jpl.nasa.gov's message of Fri, 7 Feb 1992 23:17:14 GM
Message-ID: <ROCKWELL.92Feb7205536@socrates.umd.edu>
Sender: rockwell@socrates.umd.edu (Raul Deluth Miller-Rockwell)
Organization: Traveller
References: <1992Feb7.231714.2144@csi.jpl.nasa.gov>
Date: Sat, 8 Feb 1992 01:55:36 GMT

Sam Sirlin:
   I got the 4.1 source from waterloo (.tar.Z). I notice there's no
   makefile! Anyone have one? If not, I'll eventually have a working
   one...

Uh... sure, I made one.  I haven't been using it though.  [It's just
too easy to use cc directly.]  Makefile follows (next 7 lines):

# HP P/A J 4.1
# 

j:
	cc -Aa -g -o j *.c -lm


Um.. by the way, the -Aa option is what HP wants you to say to get
ansi compatibility.  The -g is because I'd been tracking down an
alignment problem (HP wants 8 byte floating point numbers aligned to
the nearest 8 byte boundary -- a couple patches in jt.h fixed that).

Also note that you have to modify j.h so that j knows what kind of
system you're using.  And for the above makefile to work you have to
compress or otherwise rename 'main.c' because it's just sample code.

Enough said?

-- 
Raul Deluth Miller-Rockwell                  <rockwell@socrates.umd.edu>
The U.S. Federal government went another billion dollars into debt today.
