help-octave
[Top][All Lists]
Advanced

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

Re: Installing Octave 2.9.9 on a Mac


From: John W. Eaton
Subject: Re: Installing Octave 2.9.9 on a Mac
Date: Tue, 19 Dec 2006 20:06:50 -0500

On 19-Dec-2006, Paul Kienzle wrote:

| If that doesn't work, you can try adding the directories on
| the configure line itself:
| 
|   ./configure CFLAGS="-O2 -g -I/usr/local/include" \
|       CXXFLAGS="-O2 -g -I/usr/local/include" LDFLAGS="-L/usr/local/lib"

That should work, but

  configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"

is better because setting CPPFLAGS works for gcc and g++ with just the
one variable, you don't have to know what the default CFLAGS and
CXXFLAGS values are.  The default for CPPFLAGS is empty.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]