Around 11 o''clock on Apr 23, "Andrew Pendleton" wrote:> Does fontconfig compile under mingw?Never tested that. fontconfig uses automake and libtool for compiling, so perhaps the problem is in one of those two tools. What is mingw, anyway? -keith
Andrew Pendleton writes: > I tried to install fontconfig, and got through the ''./configure'' > and ''make'' stages, but ran into a problem midway through ''make > install,'' when make tried to copy a file from the .libs directory > that didn''t exist. What didn''t exist? The .libs directory or the import library .libs/libfontconfig.dll.a that src/Makefile(.am) wants to install? If the latter, where did libtool produce the import library then? Or didn''t you build as a DLL? > What''s the problem? Does fontconfig compile under mingw? Well, it does for me. What version of libtool do you use? --tml
Nicholas Wourms
2005-Nov-21 08:50 UTC
[Fontconfig] Re: Problem with make install under mingw
Keith Packard wrote:> Around 11 o''clock on Apr 23, "Andrew Pendleton" wrote: > > >>Does fontconfig compile under mingw? > > > Never tested that. fontconfig uses automake and libtool for compiling, so > perhaps the problem is in one of those two tools.He probably needs to compile inside cygwin and pass the -mno-cygwin cflag during the configuration process so that libtool/gcc will produce mingw binaries.> What is mingw, anyway?It''s a set of development tools which allow you to compile unix-style code into MFC/Win32 native binaries&libraries without a posix/syscall emulation layer (Cygwin). However, to my knowledge there is no native X11 support in Windows (XonX style), so I really fail to see the point in building fontconfig for it. The person would be best advised to use the existing TT font rendering API if he/she needs truetype support in their application. [Of course, I could be wrong and someone has figured out a use for a native Win32 api version of fontconfig...] OTOH, Alan Hourhaine has fixed up things for the Cygwin/XFree86 project so that Xft2 & Fontconfig will be in 4.3.x when it is released. This is still a WIP, so there aren''t any releases yet, AFAIK. Cheers, Nicholas
Tor Lillqvist
2005-Nov-21 08:50 UTC
[Fontconfig] Re: Problem with make install under mingw
Nicholas Wourms writes: > It''s a set of development tools which allow you to compile > unix-style code into MFC/Win32 native binaries&libraries Umm, you are a bit mixed up here. Mingw is a port of gcc and binutils to Win32. I wouldn''t say that, in general, it allows you to build "unix-style" code much more than for instance MSVC does. It uses the Microsoft C library, which does have some Unixish non-ANSI stuff like open()/read()/write()/close(). (Well actually, the latest mingw versions have an auxiliary library and header files that provide a little more Unixishness, but only such that can easily be emulated using what''s in the Microsoft C library, or Win32 API. I.e. no fork(), fcntl(), mmap(), etc.) In no way does MFC come into the picture. In fact, unless I''m mistaken, it''s not even possible to compile MFC code with gcc, as MFC uses some Microsoft C++ extensions. > However, to my knowledge there is no native X11 support in Windows > (XonX style), so I really fail to see the point in building > fontconfig for it. Umm, fontconfig doesnn''t depend on X11. > [Of course, I could be wrong and someone has figured out a use for > a native Win32 api version of fontconfig...] Yep. The Pango Freetype2 backend uses fontconfig, which was the reason why fontonfig needed to be ported to Windows, too. --tml
I tried to install fontconfig, and got through the ''./configure'' and ''make'' stages, but ran into a problem midway through ''make install,'' when make tried to copy a file from the .libs directory that didn''t exist. What''s the problem? Does fontconfig compile under mingw? Andrew Pendleton _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail