[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tell config about f2c
From: |
John Eaton |
Subject: |
Re: Tell config about f2c |
Date: |
Sun, 13 Nov 94 22:05:18 CST |
Rudiger Belch <address@hidden> wrote:
: I have one problem installing octave:
:
: On our system, neither f77 nor f2c is available, and I had to install
: f2c in my own directory. I put
:
: f2c.h into ~/Gnu/include
: and
: libF77.a and libI77.a into ~/Gnu/lib.
:
: How can I tell config to look for libF77.a libI77.a at this place?
Configure doesn't have an option for this. The best thing is to put
them in a place that gcc would normally look for include files and
libraries.
If for some reason you can't do that, it should work to simply
redefine the values of CFLAGS, CXXFLAGS, and LDFLAGS when running
make.
./configure ...
make CFLAGS="-O -g -I$HOME/Gnu/include" \
CXXFLAGS="-O -g -I$HOME/Gnu/include" LDFLAGS=-L$HOME/Gnu/lib
jwe