[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: GNUmakefile in gui/Model
From:
Adam Fedor
Subject:
Re: GNUmakefile in gui/Model
Date:
2001年10月11日 09:13:27 -0600
User-agent:
Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.4) Gecko/20010915
Stephen Brandon wrote:
Adam,
Thanks for making the change to GNUmakefile in gui/Model,
but unfortunately something is still not right. I don't know
why this has happened -- when I tested it the other day the
change you made seemed to work.
In any case, what is happening on Win32/mingw/cygwin is that
the dlltool also needs the -lobjc flag.
The way I have patched this is to append $(OBJC_LIBS) to
libgmodel_LIBRARIES_DEPEND_UPON as follows. This rings alarm
bells to me though... shouldn't all libraries that are
required for linking be held together somewhere and appended
to the DLL_TOOL string in the system makefiles rather than
in an individual makefile like this?
You're right. -lobjc should be in there. I don't know why it would have
worked before. In general the only library you can assume is needed is
-lobjc, so perhaps that could be put in the library.make makefile, but
anything else would have to be added by the developer.
--
Adam Fedor, Digital Optics | Fudd's law of opposition: Push
fedor@doc.com http://www.doc.com | something hard enough, and it
fedor@gnu.org http://www.gnustep.org | will fall over.