Boost logo

Boost Users :

From: sfinks (sfinks2_at_[hidden])
Date: 2006-11-27 01:43:58


Larry Smith wrote:
> Mathias Gaunard wrote:
>
>>Larry Smith wrote:
>>
>>>sfinks wrote:
>>>
>>>>hasn't anyone really at least tried to compile boost with linux+mingw ?
>>>
>>>No. Why would one do that, since mingw is
>>>for Windows, not Linux?
>>
>>That's called cross-compiling.
>>You compile binaries for windows on a linux distribution. That allows to
>>not have to buy and install a proprietary system on your machine in
>>order to make builds.
>
>
> Cross-compiling would be using a Linux GCC that's been
> specifically built to gen Windows code.

thats how it works.

>
> The OP is trying to use the Windows version (Windows binaries)
> of mingw (via 'wine') on Linux, that will be problematic.

no.
devel_at_kroko386:~$ file /usr/bin/i586-mingw32msvc-g*
/usr/bin/i586-mingw32msvc-g++: ELF 32-bit LSB executable, Intel
80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses
shared libs), for GNU/Linux 2.2.0, stripped
/usr/bin/i586-mingw32msvc-gcc: ELF 32-bit LSB executable, Intel
80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses
shared libs), for GNU/Linux 2.2.0, stripped
/usr/bin/i586-mingw32msvc-gcc-3.4.5: ELF 32-bit LSB executable, Intel
80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses
shared libs), for GNU/Linux 2.2.0, stripped
/usr/bin/i586-mingw32msvc-gccbug: Bourne shell script text executable
/usr/bin/i586-mingw32msvc-gcov: ELF 32-bit LSB executable, Intel
80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses
shared libs), for GNU/Linux 2.2.0, stripped
devel_at_kroko386:~$ cat /etc/issue
Debian GNU/Linux 4.0 \n \l

devel_at_kroko386:~$


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