small cross-compilation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
12
BuildCVS.txt
12
BuildCVS.txt
@@ -114,7 +114,8 @@ library; cross-compiling errors can be pretty obscure and you'll want to be
|
|||||||
sure that your configure setup is basically sound.)
|
sure that your configure setup is basically sound.)
|
||||||
|
|
||||||
To cross compile the windows library, do
|
To cross compile the windows library, do
|
||||||
-> cd win32
|
-> cd win32
|
||||||
|
(or whatever you called it)
|
||||||
Now run configure. There are two ways to do this
|
Now run configure. There are two ways to do this
|
||||||
-> ../configure --host=i586-mingw32 --build=i586-linux --with-mingw \
|
-> ../configure --host=i586-mingw32 --build=i586-linux --with-mingw \
|
||||||
--enable-dnd=no
|
--enable-dnd=no
|
||||||
@@ -130,15 +131,20 @@ yourself:
|
|||||||
(all assuming you're using mingw32)
|
(all assuming you're using mingw32)
|
||||||
Drag'n'drop is disabled because mingw32 lacks (AFAIK) OLE headers.
|
Drag'n'drop is disabled because mingw32 lacks (AFAIK) OLE headers.
|
||||||
|
|
||||||
|
[ Update: some new mingw32 versions now have a new set of windows header
|
||||||
|
files, which apparently can handle ole. Untested at the moment ]
|
||||||
|
|
||||||
Configure will conclude that shared libraries are out of the question and
|
Configure will conclude that shared libraries are out of the question and
|
||||||
opt for a static one. I haven't looked into DLL creation yet.
|
opt for a static one. I haven't looked into DLL creation yet.
|
||||||
|
|
||||||
Type
|
Type
|
||||||
-> make -C src
|
-> make
|
||||||
and wait, wait, wait. Don't leave the room, because the minute you do there
|
and wait, wait, wait. Don't leave the room, because the minute you do there
|
||||||
will be a compile error :-)
|
will be a compile error :-)
|
||||||
|
|
||||||
If this is successful, try building the minimal sample:
|
If this is successful, you end up with a libwx_msw.a in win32/lib. Now try
|
||||||
|
building the minimal sample:
|
||||||
|
|
||||||
-> cd samples/minimal
|
-> cd samples/minimal
|
||||||
-> make
|
-> make
|
||||||
-> mv minimal minimal.exe
|
-> mv minimal minimal.exe
|
||||||
|
Reference in New Issue
Block a user