- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
is MinGW compiler support planned for next TBB release?
I download a patch for MinGW for TBBtbb21_20080605 but on last release i don't see any MinGW related file.
Thanks!
Gian
is MinGW compiler support planned for next TBB release?
I download a patch for MinGW for TBBtbb21_20080605 but on last release i don't see any MinGW related file.
Thanks!
Gian
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And now there's also "[windup] TBB for MinGW"... but if you want to learn only one thing from TBB, it should be that the goal is to create parallel slack by dividing the work into more tasks, not to create more threads.
Anyway, for my best advice follow the last reference in my previous posting.
Anyway, for my best advice follow the last reference in my previous posting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MinGW support was added to the 20090511 development release. Try it!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The basic support for MinGW has been added (see the announcement right above). It is only available in source code form; for the moment there isno plans to provide binaries.
To compile TBB, make sure you properly set up the MinGW environment and tool chain, and run the following:
gmake compiler=gcc
Be aware however that it does not work reliably, which I think isdue to MinGW weakness in supporting exception propagation across thread and DLL boundaries (the corresponding support was added just recently as far as I can judge, and seems for more complex cases like in TBB it might not work correctly). Some exception related checks in TBB unit tests have been switched off (see __TBB_EXCEPTION_HANDLING_BROKEN macro; I have to set it on for MinGW); despite that, some tests might fail in ugly ways. Of course there might be some issues in our code, e.g. some implicit assumptions about compiler that I overlooked, so if you find anything that can be improved for better MinGW support please tell us.
Also, building TBB examples with MinGW is not supported yet; it will follow later.
To compile TBB, make sure you properly set up the MinGW environment and tool chain, and run the following:
gmake compiler=gcc
Be aware however that it does not work reliably, which I think isdue to MinGW weakness in supporting exception propagation across thread and DLL boundaries (the corresponding support was added just recently as far as I can judge, and seems for more complex cases like in TBB it might not work correctly). Some exception related checks in TBB unit tests have been switched off (see __TBB_EXCEPTION_HANDLING_BROKEN macro; I have to set it on for MinGW); despite that, some tests might fail in ugly ways. Of course there might be some issues in our code, e.g. some implicit assumptions about compiler that I overlooked, so if you find anything that can be improved for better MinGW support please tell us.
Also, building TBB examples with MinGW is not supported yet; it will follow later.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page