This is not the right solution, but I don't have my source code handy right now. Basically LDFLAGS is for linker options, not libraries. There is a different make variable for libraries.

----- Original Message ----- From: "Björn Giesler" <[EMAIL PROTECTED]>
To: <gnustep-dev@gnu.org>
Sent: Thursday, February 02, 2006 2:29 PM
Subject: Windows and libraries, again


Hi,

OK, found the problem. $(GNUSTEP_INSTANCE)_LDFLAGS ends up in the link command *before* any of the instance's object files, which causes the link command not to see the libraries specified there. Could somebody fix this? It's in

target.make:885
Move $(ALL_LDFLAGS) after $(INTERNAL_LIBRARIES_DEPEND_UPON)

and

Instance/application.make:118
Move $(ALL_LDFLAGS) directly in front of $(ALL_GUI_LIBS)

Sorry for not providing a patch, but stupidly I didn't copy the old state first... anyway, this is trivial. I'm referring to the base-1.11.1-gui-0.10.1 installer, of course.

These changes cause everything to build and link fine. AddressManager starts up, but displays only the menu, and every attempt to make it show a window (info panel, preference panel) make it crash... can somebody tell me where to get gdb for GNUstep for MinGW for Windows? :-)

Thanks in advance,
Björn

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev




_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to