Re: g_malloc and glib.h
- From: Allin Cottrell <cottrell wfu edu>
- To: Daniel Carrera <dcarrera math toronto edu>
- Cc: gnumeric-list gnome org
- Subject: Re: g_malloc and glib.h
- Date: Sat, 18 May 2002 01:06:23 -0400 (EDT)
On Fri, 17 May 2002, Daniel Carrera wrote:
My compiler can't seem to find g_malloc and g_free.
I'm sure that I'm just not giving the right flags to gcc.
Yes.
CFLAGS=-Wall -lm -DSTANDALONE
INC=-I/usr/include/glib-1.2/ -I/usr/lib/glib/include/ \
-I/usr/X11R6/include/gnome-1.0
add: LIBS=`glib-config --libs`
all:
gcc $(CFLAGS) $(INC) non-linear-fit.c -o fit
add $(LIBS)
Allin Cottrell.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]