Changeset 2868 for box/trunk/docs


Ignore:
Timestamp:
01/03/2011 00:31:31 (15 months ago)
Author:
chris
Message:

Instruct to build PCRE with shared libs disabled, to avoid dependency
on DLL in a directory not in the path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt

    r2865 r2868  
    6969        export CFLAGS="-mno-cygwin" 
    7070        export CXXFLAGS="-mno-cygwin" 
    71         ./configure --prefix=/usr/i686-pc-mingw32 
     71        ./configure --prefix=/usr/i686-pc-mingw32 --disable-shared 
    7272        make  
    7373        make install 
     74 
     75Note: we must disable shared libraries on Windows because otherwise 
     76libpcreposix.a is built to depend on libpcre.dll, even if you define 
     77PCRE_STATIC, and since /usr/i686-pc-mingw32/bin (the location of the DLL) 
     78is not normally on the PATH, the DLL can't be found, which stops you 
     79from running any executables. 
    7480 
    7581== Readline (Optional) == 
Note: See TracChangeset for help on using the changeset viewer.