analog-help  

Re: [analog-help] compiling for UNIX Solaris

Jason Linhart
Thu, 21 Oct 1999 21:25:41 -0700

If the compiler is installed, it either isn't installed correctly or 
isn't called 'gcc', 'cc', or 'acc'. The error message you quote (sh: gcc: 
not found) explicity says that it couldn't find the compiler.

Figure out what your compiler is called, or install it properly, and then 
set the CC= line to the name of the compiler. 

Jason

On 10/20/99 9:42 PM Catherine Montalvo ([EMAIL PROTECTED]) wrote:

>No,  CCS is infact installed on the machine. Any other suggestions?
>
>Catherine
>
>Jason Linhart wrote:
>
>> On 10/20/99 5:49 PM Catherine Montalvo ([EMAIL PROTECTED]) wrote:
>>
>> >When trying to compile Analog for Unix (Solaris), I receive the
>> >following error:
>> >________________________________________________________
>> >make -f Makefile
>> >gcc -O2  -DUNIX -c alias.c
>> >sh: gcc: not found
>> >*** Error code 1
>> >make: Fatal error: Command failed for target `alias.o'
>> >________________________________________________________
>> >
>> >I have tried editing the CC= line in the Makefile to both 'acc' and 'cc'
>> >but I still receive the same error. Additionally I have edited the DEFS=
>> >line to read 'DEFS=-DNODNS ' and still no luck.
>> >
>> >Any suggestions would be greatly appreciated,
>>
>> It would appear that you do not have a compiler on your machine. Not all
>> Sun systems ship with a compiler. The DEFS= thing doesn't matter until
>> you have a compiler. You might try 'whereis gcc' and 'whereis cc' to
>> check if either of them are hidden somewhere unusual on your machine, but
>> I suspect neither one is installed.


-----------------
[EMAIL PROTECTED]
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
  -- Peter van der Linden, Expert C Programming, Deep C Secrets


------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
------------------------------------------------------------------------