[comp.sys.amiga.tech] Lattice LC question

kms@ecsvax.UUCP (Ken Steele) (06/11/89)

It seems that the Lattice LC is not maintaining the correct
directory path to lc1 and lc2.  Here are the symptoms.

lc, lc1, lc2, blink are in L1: (no subdirectory).  Libs and includes
are in L2: (in appropriate subdirectories). LC: is assigned to L1:,
INCLUDE: and LIB: are assigned to L2:, QUAD: is assigned to ram:,
and I added LC: to the search path. The source file is in sys:src.
SYS: is in DF0: and L1: is in DF1:. I then proceed to run the
ever-popular "lc -L sys:src/hello". After the sign-on garbage, I am
asked to insert L2: in ANY drive. If I put L2: in DF0:, then
compilation proceeds (with much-o disk swapping). If I put L2: in
DF1: (removing L1: of course) THEN I get the big screen-flash abort,
with the complaint that "LC2 is unknown command."

It seems as if LC is looking in currently mounted volumes for
LC2 instead of the logical device LC:.  Has any else noted this?

If true, can LC be patched/zapped to look for lc:lc1 and
lc:lc2 _safely_?

Thanks for the help.

                --ken
-- 
Ken Steele   Dept. of Psychology    kms@ecsvax.[bitnet || UUCP]
             Mars Hill College      kms@ecsvax.uncecs.edu
             Mars Hill, NC 28754       

morris-ng@cup.portal.com (Yuklung Morris Ng) (06/13/89)

I still can't figure out what is your assign are, but here is my startup with
no problem at all:

Stack 16000
c:Echo ""
c:echo "                 Lattice *e[0;33mAmigaDOS C Compiler*e[0m Version 5.0"
c:echo "                     Copyright ) 1988 *e[33mLattice, Inc.*e[0m"
c:echo ""
Assign INCLUDE: SYS:Program/LC/include LC: SYS:Program/LC/c
Assign LIB: SYS:Program/LC/Lib QUAD: RAM:
Path ADD SYS:Program/LC/c

The Assign command is an ARP command, if you don't have it (well, you better 
do!) you can't onlt assign one device by using one command.

Happy programming!
+---------+----------------------------+----------------------------------+
|      ///| Morris Y. L. Ng            | Usenet: morris-ng@cup.portal.com |
|     /// | Computer Science & Finance | Portal: Yuklung Morris Ng        |
|    ///  | San Jose State University  | Home  : (###)###-#### (Guess?!)  |
|\\\///   +----------------------------+----------------------------------+
| \XX/    |          "Be my Amiga!  And I will be your Amigo!"            |
+---------+---------------------------------------------------------------+