[SunHELP] Compiler

Larry Snyder sunhelp at sunhelp.org
Sun Nov 11 17:52:38 CST 2001


Not if you grab the binaries....
-ls-

"Mike's List" <mikelist at sky.net> wrote:
> IP Filter recommend not using gcc, but then don't you need a compiler to
> compile gcc?
> 
> 
> - Mike
> 
> 
> On Sun, 11 Nov 2001, Mike Nicewonger wrote:
> 
> > www.sunfreeware.com
> > 
> > download GCC
> > 
> > Read installation intructions
> > 
> > Compile away.
> > 
> > Mike N
> > 
> > On Sun, 11 Nov 2001, you wrote:
> > > I'm attempting to install IP Filter on a machine with Core installation.
> > > First of all, the Core installation does not install make, and don't think
> > > any compiler comes with Core installation as well.
> > > 
> > > I've copied /usr/ccs/bin/make and /usr/share/lib/make directory from 
> > > another sun4m machine onto the core installation machine but I'm not sure 
> > > if this is the correct way to do it or how to get cc or crucila compiler
> > > components onto the Core machine?
> > > 
> > > summary: I just wanted some sort of compiler (cc?) onto the Core install.
> > >          machine to install a few utilities.   What's the best way to get
> > >          make, cc, and other crucial compiler components from one machine
> > >          onto another machine?  Thanks.
> > > 
> > > Regards,
> > > 
> > > 
> > > - Mike
> > > 
> > > 
> > > 
> > > # make solaris
> > > if [ ! -f netinet/done ] ; then \
> > >         (cd netinet; ln -s ../*.h .; ln -s ../ip_*_pxy.c .; ); \
> > >         (cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); \
> > >         touch netinet/done; \
> > > fi
> > > CC="gcc -Wstrict-prototypes -Wmissing-prototypes" ./buildsunos
> > > ./buildsunos: gcc: not found
> > > bbuild 32 bit binaries.
> > > (cd SunOS5/sparc-5.8; make build TOP=../.. "CC=cc -Xa -xildoff"
> > > "BINDEST=/usr/lo
> > > cal/bin" "SBINDEST=/sbin" "MANDIR=/usr/local/man" 'CFLAGS=-I$(TOP)
> > > -DSOLARIS2=8
> > >  '  "IPFLOG=-DIPFILTER_LOG" "LOGFAC=-DLOGFAC=LOG_LOCAL0"
> > > "POLICY=-DIPF_DEFAULT_P
> > > ASS=FR_PASS"  "SOLARIS2=-DSOLARIS2=8" "DEBUG=-g" "DCPU="
> > > "CPUDIR=sparc-5.8" 'ST
> > > ATETOP_CFLAGS=-DSTATETOP'  'STATETOP_INC=' 'STATETOP_LIB=-lcurses'
> > > "BITS=32" "O
> > > BJ=." "IPFLKM=-DIPFILTER_LKM" "SOLARIS2=-DSOLARIS2=8" "CPU=-Dsparc
> > > -D__sparc__";
> > >  cd ..)
> > > cc -Xa -xildoff -g -I../..  -DSOLARIS2=8 -c ../../ipf.c -o ipf.o
> > > sh: cc: not found
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `ipf.o'
> > > Current working directory /tmp/ip_fil3.4.21/SunOS5/sparc-5.8
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `sunos5'
> > > Current working directory /tmp/ip_fil3.4.21
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `solaris'
> > > 
> > > 
> > > _______________________________________________
> > > SunHELP maillist  -  SunHELP at sunhelp.org
> > > http://www.sunhelp.org/mailman/listinfo/sunhelp
> > _______________________________________________
> > SunHELP maillist  -  SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> > 
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp




More information about the SunHELP mailing list