On Wed, 22 Sep 2010, Paul. Z. Wu wrote:


Could anyone tell me how to define the flag? I tried

$ sh configure --build=i586-pc-mingw32  CXXFLAGS="-D_WIN32 -mwin32" CPPFLAGS="-mwin32 
-D_WIN32" CFLAGS="-D_WIN32 -mwin32"

1) you don't have to define it. i586-pc-mingw32-gcc and i586-pc-mingw32-g++ define it for you. 2) it's a preprocessor thing, so if you really want to define it, just add it in CPPFLAGS, not in CXXFLAGS and CFLAGS.

So

./configure --host=i586-pc-mingw32

shoud work.

Vincent Torri
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to