Installed gcc but cannot make...

Installed gcc but cannot make...

Post by Harison Phiniz » Sun, 17 Jun 2001 09:59:43



When I try to install qmail it looks for cc instead of gcc... I was able to
workaround by altering a makefile for portsentry but in qmail's Makefile I
cannot find anyhting refereing to the compiler.  Is there a file I can alter
to have the OS default to gcc instead of cc?

Thanks,

Harison

 
 
 

Installed gcc but cannot make...

Post by Ludvig Eriksso » Sun, 17 Jun 2001 11:14:45



Quote:> When I try to install qmail it looks for cc instead of gcc... I was able
to
> workaround by altering a makefile for portsentry but in qmail's Makefile I
> cannot find anyhting refereing to the compiler.  Is there a file I can
alter
> to have the OS default to gcc instead of cc?

> Thanks,

> Harison

The CC that comes with solaris from scrach is a non working complier, you
have to buy cc.

An ugly but simple workaround is:

# mv /usr/bin/cc /usr/bin/cc-*
# ln -s /usr/local/bin/gcc /usr/bin/cc

--

[/------------------------------------------------------------\]

 Personal WWW: http://www.veryComputer.com/
 ICQ UIN: 7655698
 True multitasking in realtime environment. That's me.
[\------------------------------------------------------------/]

 
 
 

Installed gcc but cannot make...

Post by Tony Curti » Sun, 17 Jun 2001 11:25:09


>> On Sat, 16 Jun 2001 00:59:43 GMT,

> When I try to install qmail it looks for cc instead of
> gcc... I was able to workaround by altering a makefile
> for portsentry but in qmail's Makefile I cannot find
> anyhting refereing to the compiler.  Is there a file I
> can alter to have the OS default to gcc instead of cc?

Unless "cc" is hardwired into the Makefile, make
understands the environment variable CC (and a macro
definition of the same name) to specify the C compiler.

So you can either setenv (% = csh/tcsh) / export ($ =
sh/ksh/bash) CC,

  % setenv CC gcc    or    $ CC=gcc ; export CC
  % make ...               $ make ...

do a one-shot environment setting,

  % env CC=gcc make ...
  $ CC=gcc make ...

or pass the correct value of the CC macro on the
command-line,

  %$ make CC=gcc ...

hth
t
--
Just reach into these holes.  I use a carrot.

 
 
 

Installed gcc but cannot make...

Post by Mathew Kirsc » Tue, 19 Jun 2001 22:33:13



> An ugly but simple workaround is:

> # mv /usr/bin/cc /usr/bin/cc-*
> # ln -s /usr/local/bin/gcc /usr/bin/cc

No.

All that will do is confuse the various configure scripts into thinking that
you have Sun's Workshop compiler installed, and the Makefiles will have
incorrect options in them. We've been down this road in this group before.

Please just add "/usr/local/bin" to your PATH statement.

 
 
 

1. Cannot install sbpcd module - cannot install linux:(

I am really in a bind here.  After an agonizing week of waiting, my new
debian CD showed up and I got to work installing.  Everything went
smoothly untill I went to install the kernel modules.  I have a 'reveal'
cd rom drive (possibly made by panasonic), that connects to the SC400
Reveal 4R sound card.  

I tried to install the sbpcd module for the kernel during the install,
but after taking 5 minutes or so to test a variety of addresses and names
(SoundBlaster, Lasersomethingorother, etc), it said that the installation
failed.  It seemed to get something at 0x230 SoundBlaster (the busy light
on the drive went on) but after spending a bit of time there, it just
continues.

I took those parameters and tried to feed them in manually doing:
append "sbpcd=0x230,SoundBlaster"
but it doesnt do anything.  I read the CDROM howto, and that was the only
advice I could glean from it.

As you may have gathered, I am really at a loss here, and would be most
grateful for any help offered.

Ciao,
--
David Welton  

Se quest'email e` in Italiano, mi dispiace per gli errori:-) FORZA PANTANI!

2. Problem Compiling the kernel binfmt-464c

3. made a reall mess trying to install the new gcc c compiler (please help)

4. Q: swap partition on a PCMCIA memory card

5. installed gcc but cannot make files

6. ipfw variables

7. Cannot install gcc using pkgadd

8. how to test shell beside look at /etc/passwd or set

9. gcc-2.7.0 (usr/bin/gcc: cannot execute binary.)

10. cannot install gcc (as missing)

11. cannot install gcc