Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiling with gcc not cc. How?

Status
Not open for further replies.

josel

Programmer
Oct 16, 2001
716
US
Howdy!

I just downloaded sendmail 8.13.0 and for a while now, have tried to and failed to tell the Build script to use /usr/local/bin/gcc in lieu of cc.

I do not have cc at all so sh Build fails with error.

I found confCC could be set and did in ../devtools/Site/site.config.m4 but I still have sample problem.

I tried setting local variable CC and confCC and nothing.

Where and how do I tell the Build script to use gcc?

Thank you all in advance!


Jose Lerebours


KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
Hi,

Quikc solution. If you want create a link called cc and point to gcc.

dbase77
 
dbase77 is correct. There is no cc in real life. It is just a link to gcc. You can create the link with this command:
Code:
ln -s /usr/bin/gcc /usr/bin/cc

 
I did, and it still failed, with a different message, but it failed none the less.

It appears that the paratemeters/arguments passed are not valid for gcc.

I have compiled other GNUs apps but have never, to this date, sucessfully compiled sendmail.

I'm giving up and research postfix.

Regards;


Jose Lerebours

KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top