[SunHELP] make command

BABAK DANESHPAJOH sunhelp at sunhelp.org
Fri Sep 7 23:27:39 CDT 2001


hi
i have downloaded gcc source code and others from
sunfreeware but when i dont have any gcc or compiler
 on my solaris how can i compile gcc source code.
also i unzip another gcc from sunfreeware but it does not work.what must i
do for install gcc on my solaris 8.
please tell me step by step

thanks
babak
----- Original Message -----
From: "Paul Dlug" <pdlug at portjeff.net>
To: <sunhelp at sunhelp.org>
Sent: Friday, July 20, 2001 9:53 AM
Subject: Re: [SunHELP] make command


> If you don't have it installed already, install gcc from
www.sunfreeware.com
>
> Once it's installed in your shell set the environment variable CC to gcc
(for csh: setenv CC gcc  sh/bash: export CC=gcc). (This assumes that gcc is
in your path).
>
> Then:
>
> rm config.cache
> ./configure
>
> Then attempt the make again.
>
> --Paul
>
> >hi
> >thanks all for help
> >i add /usr/ccs/bin directory with following command:
> >PATH=$PATH:/usr/ccs/bin:.:
> >export PATH
> >now i want to compile my source code for midnight
> >commander with following command:
> >make -f /mc/Makefile
> >and it respond with following error:
> >cc -c -I..  -Dinline= -I./../vfs -I./.. -I./../slang
> >-I.. -DBINDIR=\""/usr/local/bin/"\"
> >-DLIBDIR=\""/usr/local/lib/mc/"\"
> >-DICONDIR=\""/usr/local/lib/mc/icons/"\"
> >-DHAVE_CONFIG_H -g local.c
> >/usr/ucb/cc:  language optional software package not
> >installed
> >*** Error code 1
> >*** Error code 1
> >what is this?
> >in the source directory i have configure file.
> >with ./configure some scripts executes
> >but nothing happend.
> >how can i install midnight commander or any other
> >source code on my solaris 8.
> >
> >thanks
> >babak
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Get personalized email addresses from Yahoo! Mail
> >http://personal.mail.yahoo.com/
> >_______________________________________________
> >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




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the SunHELP mailing list