Re: ./configure and gcc



> Hi all!
> 
> I am trying to compile GNOME-DB on Solaris. I have just installed gcc-2.8.1 and would like to compile with it, but, when I run configure, it detects the cc compiler.
> 
> My question is: how can I tell configure to use gcc instead of sun compiler?
> 
> Thanks to all!

set your CC enviroment variable to gcc (and make sure you have it in your PATH)

/Erik

-- 
                            \|/
-----------------------000-------000----------------------------------
Erik Bagfors                   | http://www.acc.umu.se/~bagfors
Email: bagfors@acc.umu.se      | SysAdmin at HPC2N umea university
       bagfors@hpc2n.umu.se    | Supporter of free software
Work: +46-90 786 7928          | GSM: +46-70 632 19 06
----------------------------------------------------------------------
        *** The light at the end of the tunnel is electric ***
----------------------------------------------------------------------




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]