analog-help  

Re: [analog-help] compiling for UNIX Solaris

Simon McClenahan
Wed, 20 Oct 1999 15:06:16 -0700

Here are my changes for Solaris. Make what you will of them. Looks like your first 
problem is finding a C compiler.

cheers,
    Simon


$ diff analog3.90beta1/Makefile new/Makefile 
3c3
< CC = gcc           # which compiler to use: eg cc, acc, gcc. NB Different
---
> CC = /opt/SUNWspro/bin/cc           # which compiler to use: eg cc, acc, gcc. NB 
>Different
5c5
< CEXTRAFLAGS = -O2  # options, e.g. for optimisation or ANSI compilation.
---
> CEXTRAFLAGS = -O  # options, e.g. for optimisation or ANSI compilation.
17c17
< LIBS =             # extra libraries needed; Solaris 2 (SunOS 5) needs
---
> LIBS = -lnsl            # extra libraries needed; Solaris 2 (SunOS 5) needs
28c28,31
< CFLAGS = $(CEXTRAFLAGS) $(DEFS) -D$(OS)
---
> ANALDEFS=-DHTTPDIR=\"/usr/local/netscape/nes36/https-mwb/\" \
>       -DANALOGDIR=\"/usr/local/mwb/tools/analog/\" \
>       -DLOGFILE=\"/usr/local/netscape/nes36/https-mwb/logs/access\"
> CFLAGS = $(CEXTRAFLAGS) $(DEFS) -D$(OS) $(ANALDEFS)



------------------------------------------------------------------------
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/
------------------------------------------------------------------------