Re: building a library using gtk+
- From: Rick Jones <rick jones2 hp com>
- To: Dov Kruger <Dov Kruger stevens edu>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: building a library using gtk+
- Date: Wed, 17 May 2006 09:20:40 -0700
So I try to build a library.
libglpp.a: $(OBJ3) GLPPmain.o
#g++ -shared $(OPT) $(DEBUG) $(OBJ3) GLPPmain.o -o glpp.so
`pkg-config --libs gtk+-2.0` $(LIBS) -lftgl
ar r libglpp.a $(OBJ3) GLPPmain.o
The first line did not work, and I'm hoping someone can give me the
right set of command line arguments. I want to resolve the links to all
the libraries and build a library of my own.
The ar line works, but all it does is combine the objects into a library
which does nothing to resolve the dependencies.
I'm not sure, but can static/archive libraries have dependencies? I
think you need to build a shared/dynamic library.
rick jones
still only getting started with all this...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]