Mail Archives: cygwin/2001/10/29/10:56:03
------------775B2412092BD30
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Hallo Jari, Hallo Thomas,
2001-10-29 15:45:52, du schriebst:
> I've been trying to compile the gd library under http://cygwin.com
> but I'd appreciate more expert help. The problem seems to be
> the linking phase. Compiling succeeded fine.
Yep, that is great;)
> The default started with:
[some errors snipped]
> Next I included some libs to satisfy the symbols, but got stuct to:
> ( -lcygwin -lbz2 -lcrypt -lcrypto -lpng -lz -ljpeg -lfreetype -lcygwin )
Why libbz2, libcrypto and twice libcygwin, any special reason I'm not aware of?
[snipped more errors]
It doesn't work as it does on a Linux machine.
I changed some lines in the Makefile so it works now also on Cygwin.
I attached the whole Makefile since the patch isn't much smaller.
See there for details.
Now building and installing are two steps, an additional target called
'strip-install' is available.
Move the old Makefile out of the way, and link Makefile.cygwin
to Makefile:
$ mv Makefile Makefile.orig
$ ln -s Makefile.cygwin Makefile
Make sure that there are no more old versions of libgd somewhere around
in /usr/local/lib or elsewhere.
Type 'make' to get the NEW instructions.
Modify the Makefile to your needs, I have Xfree86 installed with libXpm
and libfreetype, you may remove some of the flags and libraries if you
haven't Xfree86 installed.
Then:
'make dll'
'make install' or 'make strip-install'
Thomas,
you may include this Makefile.cygwin in your dist if you like it.
Gerrit
--
convey Information Systems GmbH http://www.convey.de/
Vitalisstraße 326-328
Gerrit P. Haase D-50933 Köln
gerrit DOT haase AT convey DOT de Fon: ++49 221 6903922
------------775B2412092BD30
Content-Type: application/octet-stream; name="Makefile.cygwin"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Makefile.cygwin"
I0RlcGVuZGluZyBvbiB5b3VyIHN5c3RlbSBhbmQgdGhlIGxpYnJhcmllcyBhbmQgZmVhdHVyZXMg
eW91IGhhdmUKI2FuZCB3YW50LCB5b3UgV0lMTCBuZWVkIHRvIG1vZGlmeSB0aGlzIE1ha2VmaWxl
IQoKI0lmIHlvdSBkbyBub3QgaGF2ZSBnY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WMgbGlicmFyeSwgaWYgeW91
IHJlYWxseSBuZWVkIG9uZSBmb3Igc29tZSByZWFzb24uCmxpYmdkLmE6ICR7TElCT0JKU30KCXJt
IC1mIGxpYmdkLmEKCSQoQVIpIHJjIGxpYmdkLmEgJHtMSUJPQkpTfQoJLXJhbmxpYiAkKElOU1RB
TExfTElCKS9saWJnZC5hCgpjbGVhbjoKCXJtIC1mICoubyAqLmEgKi5kbGwgKi5leGUgKi5zbyB0
ZXN0L2dkdGVzdC5qcGcgdGVzdC9nZHRlc3Qud2JtcAoK
------------775B2412092BD30
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
------------775B2412092BD30--
- Raw text -