emphasize that mingw32-make and not MSYS make must be used to build using makefile.gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ecc63060e7
commit
2e9e197cf2
@ -491,23 +491,20 @@ NOTE: The makefile.gcc makefiles are for compilation under MinGW using
|
|||||||
other environments (such as UNIX or Unix-like, e.g. MSYS where you have
|
other environments (such as UNIX or Unix-like, e.g. MSYS where you have
|
||||||
to use configure instead, see the section below)
|
to use configure instead, see the section below)
|
||||||
|
|
||||||
Here are the steps required using the provided makefiles:
|
Use the makefile.gcc files for compiling wxWidgets and samples,
|
||||||
|
e.g. to compile a debugging version of wxWidgets:
|
||||||
- If you are using gcc-2.95, edit build\msw\config.gcc and set the GCC_VERSION
|
|
||||||
variable to "2.95".
|
|
||||||
|
|
||||||
- Use the makefile.gcc files for compiling wxWidgets and samples,
|
|
||||||
e.g. to compile a debugging version of wxWidgets:
|
|
||||||
> cd c:\wx\build\msw
|
> cd c:\wx\build\msw
|
||||||
> make -f makefile.gcc BUILD=debug
|
> mingw32-make -f makefile.gcc BUILD=debug
|
||||||
> cd c:\wx\samples\minimal
|
> cd c:\wx\samples\minimal
|
||||||
> make -f makefile.gcc BUILD=debug
|
> mingw32-make -f makefile.gcc BUILD=debug
|
||||||
(See below for more options.)
|
(See below for more options.)
|
||||||
|
|
||||||
Ignore the warning about the default entry point.
|
Notice that Windows command interpreter (cmd.exe) and mingw32-make must be
|
||||||
|
used, using Bash (sh.exe) and make.exe from MSYS will only work when using
|
||||||
|
configure-based build procedure described below!
|
||||||
|
|
||||||
- Use the 'strip' command to reduce executable/dll size (note that
|
You can also use the 'strip' command to reduce executable/dll size (note that
|
||||||
stripping an executable/dll will remove debug information!).
|
stripping an executable/dll will remove debug information!).
|
||||||
|
|
||||||
All targets have 'clean' targets to allow removal of object files
|
All targets have 'clean' targets to allow removal of object files
|
||||||
and other intermediate compiler files.
|
and other intermediate compiler files.
|
||||||
|
Loading…
Reference in New Issue
Block a user