On Thu, Jan 25, 2001 at 10:31:22AM -0600, andy agena wrote:
hi markus:
Is there any chance to compile the mathlib extra with c-compiler?
how do i go about doing this?
Well, I don't know much about this. Usually I would expect that
libm comes along with the compiler. Perhaps you compile
"gcc" (www.gnu.org), then you should have it. But how can Mac
work without this lib??
Probably it is just in a place where configure doesn't look.
> checking for gcc... no
checking for cc... cc
Aha!
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
..
checking how to run the C preprocessor... cc -E -traditional-cpp
Markus
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
On Thu, Jan 25, 2001 at 05:21:26PM +0000, Markus Neteler wrote:
On Thu, Jan 25, 2001 at 10:31:22AM -0600, andy agena wrote:
> Is there any chance to compile the mathlib extra with c-compiler?
The question is, do you need to have -lm for math functions to work.
If you do not need the math library and still have functions like
sin() in the standard libraries for your system, you will be fine
with just removing the "-lm" options.
You should check were there is a libm* on your system somewhere.
You might be able to give the location to the configure script:
LDFLAGS=-L/your/path/to/libm.so
Probably it is just in a place where configure doesn't look.
> > checking for gcc... no
>
> checking for cc... cc
Aha!
So everything is fine here.
IIRC cc on MacOSX actually is some sort of gcc. :)=
Bernhard
--
Professional Service around Free Software (intevation.net)
The FreeGIS Project (freegis.org)
Association for a Free Informational Infrastructure (ffii.org)
FSF Europe (fsfeurope.org)
On Thu, Jan 25, 2001 at 05:21:26PM +0000, Markus Neteler wrote:
On Thu, Jan 25, 2001 at 10:31:22AM -0600, andy agena wrote:
> hi markus:
>
> Is there any chance to compile the mathlib extra with c-compiler?
>
> how do i go about doing this?
Well, I don't know much about this. Usually I would expect that
libm comes along with the compiler. Perhaps you compile
"gcc" (www.gnu.org), then you should have it. But how can Mac
work without this lib??
The mathlib may or may not exist as a separate library. Typical unix
systems have it separate. Windows, possibly Mac ??, have it compiled
into libc.
--
Eric G. Miller <egm2@jps.net>
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'