gcc 2.95 - 4.4

2009-04-02 Thread Mark
Hello,

 

I recently upgraded my old gcc 2.95 to gcc44. Question is, though, what

make.conf, or other settings, do I need to apply to get the system to use

the new gcc? Ports keep finding (and using) the old gcc 2.95.

 

I also set things like this in the Makefile:

 

$(GCC) = /usr/local/bin/gcc44

 

But that doesn't seem to help.

 

Thanks

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gcc 2.95 - 4.4

2009-04-02 Thread Polytropon
On Thu, 02 Apr 2009 10:01:00 GMT, Mark ad...@asarian-host.net wrote:
 I also set things like this in the Makefile:
 
 $(GCC) = /usr/local/bin/gcc44
 
 But that doesn't seem to help.

Should be, according to syntax:

GCC=/usr/local/bin/gcc44

or

CC=/usr/local/bin/gcc44

As far as I understood, CC is the variable used by the
port's make subsystem.



Maybe it's possible to install the port over the system's
compiler by defining a prefix other than /usr/local, but I
don't know if this is recommended.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: gcc 2.95 - 4.4

2009-04-02 Thread Mark
-Original Message-
From: Polytropon [mailto:free...@edvax.de] 
Sent: donderdag 2 april 2009 12:15
To: Mark
Cc: freebsd-questions@freebsd.org
Subject: Re: gcc 2.95 - 4.4

On Thu, 02 Apr 2009 10:01:00 GMT, Mark ad...@asarian-host.net wrote:

  I also set things like this in the Makefile:
  
  $(GCC) = /usr/local/bin/gcc44
  
  But that doesn't seem to help.
 
 Should be, according to syntax:
 
   GCC=/usr/local/bin/gcc44
 
 or
 
   CC=/usr/local/bin/gcc44

Ok, got it working now. Thanks. :)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org