[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

4679.0. "lattice C problem" by SALEM::LEIMBERGER () Mon Apr 15 1991 11:19

    I reinstalled my "c" compiler this weekend, and am having a hard time
    working in the enviornment. I am using SAS 5.1 . What is happening 
    is that when I issue the command "lc -LM programname I get the message
    lm.c not found. I had this happen a long time ago, but can't remember
    what I did to get it to work.(actually I do remember it was so simple
    I could not believe it). I have all the assigns done properly, and so
    on . I just can't figure out why the command is taking the argument as
    the file name.
    							bill
T.RTitleUserPersonal
Name
DateLines
4679.1Did you set the path?SDOGUS::WILLIAMSTOPGUNMon Apr 15 1991 15:022
    Just asking, incase you forgot.
    Clark
4679.2HPSCAD::GATULISFrank Gatulis 297-6770Mon Apr 15 1991 15:256
    
    Sounds like you didn't include include the LC directory in your
    set path.
    
    Frank
    
4679.3path is markedCRISTA::LEIMBERGERI have my marbles now I want yoursTue Apr 16 1991 06:3212
>>    Sounds like you didn't include include the LC directory in your
>>  set path.
  	I set the path, and made the assignments for LC:,INCLUDE:,LIB:,
	and Quad:. The lc command is seen but it takes my argument for
	compiler options as the file name,and of course returns saying it
	can't find it. I turned to the workbench,and that enviornment seems
	to be working fine. I can use thisb but I really want to figure out
	why I can't run from the shell. I use Wshell,Conman,ARexx when I
	boot my system.					
							bill
    

4679.4STAR::GUINEAUbut what was the question?Tue Apr 16 1991 09:4112
>    is that when I issue the command "lc -LM programname I get the message
>    lm.c not found. I had this happen a long time ago, but can't remember

If your case here is as you type it at home, then that may be a problem:

		lc -LM programname		should be
		lc -Lm programname

The m on -L is case sensitive

john
4679.5See if you've got a rexx:lc.#? fileMADRE::MWMTue Apr 16 1991 17:404
One of Bill's distibutions came with some such creature, and you may be running
that instead of the real lc.

	<mike
4679.6I'll have to checkSALEM::LEIMBERGERWed Apr 17 1991 05:369
    RE .5
    	It looks like that is what may be happening. I can issue lc1 and it
    works. I checked the syntax for CASE and everything seems proper but I
    still have the problem. I will have to dig into my docs for
    Wshell,Arexx a little to see it this could be the problem. I have been 
    able to compile with the workbench, so at least I can get something
    done. I just don't like to have problems like this without resolving
    the cause.
    							bill
4679.7ASSIGNS,AND DIR PATHSALEM::LEIMBERGERThu Apr 18 1991 08:3411
    	Well I have my problem narrowse down. It stems from the way LC: is 
    assigned. If I issue the command lc it comes back with "dirpath"lc.c
    not found. If I issue the command lc -Lm dh6:lc/c/programdir/progname
    it works. LC: is assigned to Dh6:lc\c . This is the default set up by
    the install program. I always liked lc: assigned to devname:lc/ . I
    plan to redo the directory structure this weekend. What is the way that
    seems to work best for some of you other users ?
    							BILL
    
    		
    
4679.8devname:lc/cDECWET::DAVISyou always get what you deserveThu Apr 18 1991 12:543
    My LC:---->devname:lc/c  works for me.
    
    mark