|
From: Petr M. <mi...@ph...> - 2008-12-17 06:28:08
|
> I have been struggling to build gd libraries for these days. Today I have succeeded to build > gd-2.0.36RC1 static library and get rid of the problem of mingw-gcc-4.3.0 building. > > No modification has not been required for gd.trm. > > However it is required to add '-lfontcongfig -liconv' to linker flag in makefile.mgw. > (This is required regardless gcc version.) > > Where is the suitable place to add the flags: '-lfontconfig -liconv' ? I use an older static version of gd and these flags cannot be used (no iconv.a). > Temporary I modified > > ifdef FREETYPE > CFLAGS += -DHAVE_GD_TTF > TERMLIBS += -lfreetype > endif > | > V > ifdef FREETYPE > CFLAGS += -DHAVE_GD_TTF > TERMLIBS += -lfreetype -lfontconfig -liconv > endif > > But it seem not so good to do it. Aha, so you need them for your version of freetype, not for gd. Where do fontconfig.a and iconv.a come from? --- PM |