#13 cross compilation to windows fix + improvements

Unstable_(example)
closed
None
5
2015-05-28
2012-06-25
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

     
  • Eric S. Raymond

    Eric S. Raymond - 2012-10-16

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

     
  • Eric S. Raymond

    Eric S. Raymond - 2012-10-16

    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.

     
  • Eric S. Raymond

    Eric S. Raymond - 2015-05-28

    Closing, as this patch is obsolete.

     
  • Eric S. Raymond

    Eric S. Raymond - 2015-05-28
    • status: open --> closed
    • assigned_to: Eric S. Raymond
    • Group: --> Unstable_(example)
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks