Boost logo

Boost Users :

From: Rafał Maj Raf256 (boost-news-ticket_at_[hidden])
Date: 2006-02-04 14:50:22


Hi,
I have had a terrible time when trying to crossbuild. Is it really not
possible with boost?

I want to build, on linux, boost for win32 programs (to crossbuild
programs using boost), using mingw g++ compiler.

It worked fine with other libraries, usually just
CXX=i586-mingw-msvc-g++ && ./configure --prefix=/usr/local/win32/ &&
make install

but it do not work with boost / bjam :-/

I even got wine installed and installed MinGW 5 and MSys there,
the MSys didnt worked (probably wine windows emulator fault), as for
MinGW bjam have problems with some shell commands like it tries to call
MkDir1,

raf256_at_lore:~/.wine/drive_c/boost_1_33_1$ wine ../bjam/bjam.exe
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(and if you don't know what ICU is then you probably don't need it).
******************************************************
Building Boost.Iostreams with bzip2 support disabled.
To enable bzip2, consult the Boost.Iostreams documentation
******************************************************
******************************************************
Building Boost.Iostreams with zlib and gzip support disabled.
To enable zlib and gzip, consult the Boost.Iostreams documentation
******************************************************
---------------------------------------------------------------------
*** If you don't need Boost.Python, you can ignore this section ***
*** pass --without-python to suppress this message in the future ***

skipping Boost.Python library build due to missing or incorrect
configuration

couldn't find Python.h in "c:/Python24/include"

You can configure the location of your python installation by setting:
PYTHON_VERSION - The 2-part python Major.Minor version number (e.g.
                 "2.2", NOT "2.2.1") - currently "2.4"

PYTHON_ROOT - automatically configured from PYTHON_VERSION if not
                 otherwise set ; currently "c:/Python24"

The following are automatically configured from PYTHON_ROOT if not
otherwise set:

    PYTHON_LIB_PATH - path to Python library object; currently
                            "c:/Python24/libs"
---------------------------------------------------------------------
...patience...
...patience...
...found 9007 targets...
...updating 1363 targets...
MkDir1 bin
spawn: No such file or directory

bjam with -d+4 ends with:

    PYTHON_LIB_PATH - path to Python library object; currently
                            "c:/Python24/libs"
---------------------------------------------------------------------
Executing through .bat file
Executing command [cmd.exe] [/Q/C] [c:\windows\temp\jam8-00.bat]
spawn: No such file or directory

and his bat contains only mkdir "bin" ...

$ cat ../windows/temp/jam8-00.bat
mkdir "bin"

btw. the moderation system of NNTP access is horrible, it took 3 days to
send this meesage, after several email (register, verify, send,
re-verify, and so on) it really is not too wellcomming for new members
of community, IMHO, perhaps such strong anti-spam security is not needed.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net