View Single Post
Re: How to compile binaries (dll, so) under windows
Old
  (#13)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: How to compile binaries (dll, so) under windows - 13-05-2011

If You are using cygwin to get dll (windows binaries), but You are using it under windows - then the make file is layed and it may go the way like for linux (so the binary doesn't load correctly).
I mean this part:
Code:
ifdef ComSpec
    ifeq "$(HOST)" "cygwin"
        OS=LINUX
#        MCPU=-mcpu
        MCPU=-mtune
        PATH_WIN=/usr/local/cross-tools/i386-mingw32msvc/bin
        CLEAN=clean_linux
    else
        OS=WIN32
        MCPU=-mtune
        PATH_WIN=/mingw/bin
        CLEAN=clean_win32
    endif
else
    ifdef COMSPEC
        ifeq "$(HOST)" "cygwin"
            OS=LINUX
#            MCPU=-mcpu
            MCPU=-mtune
            PATH_WIN=/usr/local/cross-tools/i386-mingw32msvc/bin
            CLEAN=clean_linux
        else
            OS=WIN32
            MCPU=-mtune
            PATH_WIN=/mingw/bin
            CLEAN=clean_msys_w32
        endif
    else
        OS=LINUX
        PATH_WIN=/usr/local/cross-tools/i386-mingw32msvc/bin
        CLEAN=clean_linux
#        MCPU=-mcpu
        MCPU=-mtune
    endif
endif
You need to get it working with mingw. The other part for cygwin was prepared to let linux users make windows dll.

Metamod 19p32 doesn't make any difference for loading the dll. If You are compiling sources of podbot mm against the standard metamod - that is correct.
  
Reply With Quote