thanks for the replies. for anyone who wants to know this wxwidgets page
[https://wiki.wxwidgets.org/index.php?title=Linking_With_Gtk_And_Running_On_Any_Linux]
says 2 things that pretty much answer my question:
"Do not try to link purely static with all libs. First they are not fully
compatible
i understand i can statically link the iup library but is it possible to make a
completely static iup executable in linux? i tried using the -static option on
gcc and it gives me this warning on various function names:
warning: Using 'getaddrinfo' in statically linked applications requires at
ru
Yes, it is, sort of... Depends what includes in "completely static". :)
I do this here for the iuptest application. It statically links with IUP,
CD and IM. But it uses GTK and their sub-libraries, also Cairo, from the
system, I mean dynamically linked. Never did a fully static linking, don't
As far as I know, yes and no. I mean that you can statically link IUP, but
you will still have the dependency on GTK (to more experienced people on
the list, obviously please correct me if I'm wrong).
I managed to statically link IUP by passing to GCC the path to libiup.a and
adding the shared GTK