Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#13 cross compilation to windows fix + improvements

open
nobody
None
5
2012-10-16
2012-06-25
Vincent TORRI
No

lib/egif_lib.c : fix cross compilation to windows : '\' is not usable on linux and '/' is usable on Windows. the other headers exist on Windows so no hurt if we include them

configure.ac :
for Windows compilation (cross compile or not), AC_LIBTOOL_WIN32_DLL is needed (see autoconf manual)
use silent rule for better make output
build doc only if xmlto is found (otherwise, make fails)
-no-undefined can be (and should be) used also on unix (simpler code)
* -lm directly added. If a system don't have libm, it will probably not be able to compile giflib.

other files reflects the changes in configure.ac

Discussion

  • Vincent TORRI
    Vincent TORRI
    2012-06-25

    cross compilation to windows fix + improvements

     
    Attachments
  • I would like to merge these changes, but they don't apply cleanly against repository head. Please fix that and resubmit.

     
  • OK, I managed to incrementally merge some build changes by inspection of your diff. Not the Windows build support, though; please send me an update patch for that.