Thanks, everyone who replied to my question. I'll save some bandwidth by
not replying to each individually. Looks like some of the suggestions
will get me on track - assuming, of course, that I get an answer to my
next dumb question :-)
James
___
gtk-
> I tried on one of my projects, and the only static libraries are those
> compiled inside the project.
> It seems that those flags are intended for libraries production. To have
> static linking of the libraries in the executable, you must probably
> list the libraires in the LDFLAGS, i.e. /usr/li
On Sat, Feb 05, 2005 at 09:17:59PM +0100, Jean Br?fort wrote:
...
> It seems that those flags are intended for libraries production. To have
> static linking of the libraries in the executable, you must probably
> list the libraires in the LDFLAGS, i.e. /usr/lib/libglib.a instead of
> -lglib, which
Le samedi 05 fÃvrier 2005 Ã 10:40 -0800, Ben Johnson a Ãcrit :
> On Sat, Feb 05, 2005 at 06:44:15PM +0100, [EMAIL PROTECTED] wrote:
> > > [EMAIL PROTECTED]:~/Projects/hpntpos$ vi configure.in
> > > [EMAIL PROTECTED]:~/Projects/hpntpos$ autoconf
> > > configure.in:14: error: possibly undefined macro
Hi,
James Frye <[EMAIL PROTECTED]> writes:
> OK, this is probably a dumb question, but I can't find the answer.
> How can I statically link a Gtk program? That is, I've written a
> program that uses Gtk graphics (and the GtkGL extension widget to
> allow OpenGl). It works fine on my personal Li
On Sat, Feb 05, 2005 at 06:44:15PM +0100, [EMAIL PROTECTED] wrote:
> > [EMAIL PROTECTED]:~/Projects/hpntpos$ vi configure.in
> > [EMAIL PROTECTED]:~/Projects/hpntpos$ autoconf
> > configure.in:14: error: possibly undefined macro: AC_ENABLE_STATIC
> > If this token and others are legitimate, p
> [EMAIL PROTECTED]:~/Projects/hpntpos$ vi configure.in
> [EMAIL PROTECTED]:~/Projects/hpntpos$ autoconf
> configure.in:14: error: possibly undefined macro: AC_ENABLE_STATIC
> If this token and others are legitimate, please use
> m4_pattern_allow.
> See the Autoconf document
Le samedi 05 fÃvrier 2005 Ã 09:35 -0800, Ben Johnson a Ãcrit :
> On Sat, Feb 05, 2005 at 10:05:39AM +0100, Jean Br?fort wrote:
> ...
> > Add:
> > AC_ENABLE_STATIC
> > AX_DISABLE_SHARED
> > to configure.in (or configure.ac), run autoconf then configure.
>
> [EMAIL PROTECTED]:~/Projects/hpntpos$ vi
On Sat, Feb 05, 2005 at 10:05:39AM +0100, Jean Br?fort wrote:
...
> Add:
> AC_ENABLE_STATIC
> AX_DISABLE_SHARED
> to configure.in (or configure.ac), run autoconf then configure.
[EMAIL PROTECTED]:~/Projects/hpntpos$ vi configure.in
[EMAIL PROTECTED]:~/Projects/hpntpos$ autoconf
configure.in:14: e
Le samedi 05 fÃvrier 2005 Ã 00:54 -0800, Ben Johnson a Ãcrit :
> On Sat, Feb 05, 2005 at 08:48:49AM +0100, Jean Br?fort wrote:
> ...
> > use configure --enable-static --disable-dynamic doesn't work?
>
> no, that doesn't seem to do anything at all. I'm using the configure
> script that glade made
On Sat, Feb 05, 2005 at 08:48:49AM +0100, Jean Br?fort wrote:
...
> use configure --enable-static --disable-dynamic doesn't work?
no, that doesn't seem to do anything at all. I'm using the configure
script that glade made for me to build my app. Should it work?
[EMAIL PROTECTED]:~/Projects/hpnt
Le vendredi 04 fÃvrier 2005 Ã 21:28 -0800, Ben Johnson a Ãcrit :
> On Fri, Feb 04, 2005 at 07:48:14PM -0800, James Frye wrote:
> ...
> >
> > So how can I statically link my program (or at least the GtkGl library
> > part of it) so that the executable will run on any system? There doesn't
> > seem
On Fri, Feb 04, 2005 at 07:48:14PM -0800, James Frye wrote:
...
>
> So how can I statically link my program (or at least the GtkGl library
> part of it) so that the executable will run on any system? There doesn't
> seem to be a make or configure option to even make static libs...
huh. as far a
Hi,
OK, this is probably a dumb question, but I can't find the answer. How
can I statically link a Gtk program? That is, I've written a program that
uses Gtk graphics (and the GtkGL extension widget to allow OpenGl). It
works fine on my personal Linux boxes, where I have control and can
install
14 matches
Mail list logo