Added brief instructions for compiling wxMSW with configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,10 +12,15 @@ relevant section below for details.
|
|||||||
|
|
||||||
IMPORTANT NOTE: If you experience problems installing, please
|
IMPORTANT NOTE: If you experience problems installing, please
|
||||||
re-read this instructions and other related files (changes.txt,
|
re-read this instructions and other related files (changes.txt,
|
||||||
readme.txt, notes on the Web site) carefully before mailing
|
readme.txt, FAQ) carefully before mailing wx-users. Preferably,
|
||||||
wx-users or the author. Preferably, try to fix the problem first and
|
try to fix the problem first and then upload a patch to
|
||||||
then send a patch to the author. Please report bugs using the
|
SourceForge:
|
||||||
bug report form on the wxWindows web site.
|
|
||||||
|
http://sourceforge.net/patch/?group_id=9863
|
||||||
|
|
||||||
|
Please report bugs using the SourceForge bug tracker:
|
||||||
|
|
||||||
|
http://sourceforge.net/bugs/?group_id=9863
|
||||||
|
|
||||||
Unarchiving
|
Unarchiving
|
||||||
-----------
|
-----------
|
||||||
@@ -468,19 +473,26 @@ NOTE: some notes specific to old Cygwin ( < 1.1.x )
|
|||||||
and MinGW ( < 1.0 ) are at the end of this section
|
and MinGW ( < 1.0 ) are at the end of this section
|
||||||
( see OLD VERSIONS )
|
( see OLD VERSIONS )
|
||||||
|
|
||||||
Here are the steps required:
|
|
||||||
|
|
||||||
- Retrieve and install the latest version of Cygwin, or Mingw32, as per the
|
There are two methods of compiling wxWindows, by using the
|
||||||
instructions with either of these packages.
|
makefiles provided or by using 'configure'.
|
||||||
|
|
||||||
- If using Mingw32, you need some extra files to use the wxWindows
|
Retrieve and install the latest version of Cygwin, or Mingw32, as per the
|
||||||
makefiles. You can find these files in ports/mingw32 on the
|
instructions with either of these packages.
|
||||||
wxWindows ftp site or CD-ROM, as extra.zip.
|
|
||||||
|
|
||||||
ftp://ftp.remstar.com/pub/wxwin/ports/mingw32/extra.zip
|
If using Mingw32, you need some extra files to use the wxWindows
|
||||||
|
makefiles. You can find these files in ports/mingw32 on the
|
||||||
|
wxWindows ftp site or CD-ROM, as extra.zip.
|
||||||
|
|
||||||
|
ftp://biolp22.york.ac.uk/pub/ports/mingw32/extra.zip
|
||||||
|
|
||||||
These should be extracted to the Mingw32 directory. If you have
|
These should be extracted to the Mingw32 directory. If you have
|
||||||
already downloaded rm, cp, mv from elsewhere, you won't need this.
|
already downloaded rm, cp, mv from elsewhere, you won't need this.
|
||||||
|
|
||||||
|
Using makefiles
|
||||||
|
===============
|
||||||
|
|
||||||
|
Here are the steps required using the provided makefiles:
|
||||||
|
|
||||||
- Set your WXWIN variable to where wxWindows is installed.
|
- Set your WXWIN variable to where wxWindows is installed.
|
||||||
*** IMPORTANT: For Cygwin/Mingw32, use forward slashes in the path, not
|
*** IMPORTANT: For Cygwin/Mingw32, use forward slashes in the path, not
|
||||||
@@ -526,6 +538,28 @@ All targets have 'clean' targets to allow removal of object files
|
|||||||
and other intermediate compiler files and 'cleanall' targets to
|
and other intermediate compiler files and 'cleanall' targets to
|
||||||
allow removal of all object files and library files.
|
allow removal of all object files and library files.
|
||||||
|
|
||||||
|
Using configure
|
||||||
|
===============
|
||||||
|
|
||||||
|
Instead of using the makefiles, you can use the configure
|
||||||
|
system to generate appropriate makefiles, as used on Unix
|
||||||
|
and Mac OS X systems.
|
||||||
|
|
||||||
|
Change directory to the root of the wxWindows distribution,
|
||||||
|
make a build directory, and then run configure and make.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
cd $WXWIN
|
||||||
|
mkdir build-debug
|
||||||
|
cd build-debug
|
||||||
|
../configure --with-msw --enable-debug --enable-debug_gdb --disable-shared
|
||||||
|
make
|
||||||
|
cd samples/minimal
|
||||||
|
make
|
||||||
|
./minimal.exe
|
||||||
|
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
|
|
||||||
1. See also the Cygwin/Mingw32 on the web site or CD-ROM for
|
1. See also the Cygwin/Mingw32 on the web site or CD-ROM for
|
||||||
|
Reference in New Issue
Block a user