Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

Building TBB with MinGW

gogins
Beginner
734 Views
I would appreciate any help or hints in how to build the TBB libraries from source code using MinGW and MSYS (gcc version 3.4.2).

Regards,
Mike Gogins
0 Kudos
4 Replies
doehoe
Beginner
734 Views
Please can someone reply with useful information with regards to this topic. As a cross-platform compiler, TBB should support MinGW. Specifically, how does one build TBB with mingw32-make.exe?
Can it be done without Visual C++?
0 Kudos
no-nonsense
Beginner
734 Views
I would be interested to build and use TBB with MinGW or Cygwin, too!

If somebody has managed to achieve this, I would be interested in getting the needed informations.

Thanks in advance,
-Jens
0 Kudos
mikedeskevich
Beginner
734 Views
I'd also like to know how to build TBB under cygwin with GCC, not MSVC. Right now, when I run make under cygwin, it finds that I have MSVC and builds it with that. I actually need to do a compiler benchmark and try the code on windows, but compiled under GCC.

Mike
0 Kudos
Anton_M_Intel
Employee
734 Views

Neither MinGW nor Cigwin are supported yet. But the build system has modular and quite clear design. So, you are welcome to contributeyour modules necessary for support of those compilers.

For MinGW, you canclone linux.gcc.inc file into windows.gcc.inc with fixingfor some windows-specifics (see windows.cl.inc).

AsI wrote insimilar topic, Cygwin looks rather like a separate platform than just a toolset for Windows. It requires implementation ofbuild/cygwin.inc and build/cygwin.gcc.inc files because settings of build/windows.inc don't fit into Cygwin's rules. And some modifications of common.inc are necessary to recognize Cygwin as a platform different from Windows.

0 Kudos
Reply