[physfs] MinGW GCC 4 Changes required

Dawie Joubert joubertdj at gmail.com
Sat Jul 11 17:48:14 EDT 2009


Dear PhysFS devs and contributors,

I failed to build PhysFS from source with MinGW GCC 4.4.0
The following changes worked which was suggested by:
http://supertux.lethargik.org/wiki/Building_on_Windows

Thus my new part of the CMakeLists.txt file looks as follows:

IF(PHYSFS_IS_GCC4 AND NOT WINDOWS)
        IF(NOT OS2 AND NOT SOLARIS) # Not supported on OS/2 or Solaris.
            ADD_DEFINITIONS(-fvisibility=hidden)
        ENDIF(NOT OS2 AND NOT SOLARIS)
    ENDIF(PHYSFS_IS_GCC4 AND NOT WINDOWS)

Best regards,

Dawie Joubert
   *Use caution:*
 Category:
 More info >>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/physfs/attachments/20090711/a2504093/attachment.htm>


More information about the physfs mailing list