- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've tried to make my own inc files to get it working but I am, how you say, bad at it.
I have an angle on how it could be done, but I'd appreciate it if a more skilled person either helped or did it himself. If I knew what TBB required of the compiler and how to satisfy those needs via GCC, this would be trvial. Alas, the inc files are a little opaque to my amateur eyes.
I know of one issue, that is that the windows inc file called detect.js. The thing is, this script gets information like the runtime version by calling the VC++ compiler. Not good. I'm not sure how to get such info for MinGW and the linux gcc inc isn't very helpful.
Basically the inc files have to be spliced together; part linux gcc, part windows cl. I don't know how to do it.
I do know that mingw uses the same runtime as VC++, so it should be possible with a little work.
"Halp."
Link Copied
- « Previous
-
- 1
- 2
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anyway, the "patch" can be downloaded from here (I cannot see my attachment to my prev post - do they work?):
http://digitus.itk.ppke.hu/~oroba/tbb/tbb21_20080605oss_mingw_patch_1.zip
Balzs, it would be great if you could contribute your patch via the official TBB contribution page: http://www.threadingbuildingblocks.org/contribution_first.php. Without that, we couldnot use your work to improve MinGW support in TBB. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Balzs, it would be great if you could contribute your patch via the official TBB contribution page: http://www.threadingbuildingblocks.org/contribution_first.php. Without that, we couldnot use your work to improve MinGW support in TBB. Thank you!
Whatever happened to the MinGW patch? Did it get submitted and then included into mainline TBB?
Pasquale
- 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
Pasquale
Forgetting all about last year's promises: how far do you get with atomic.Raf_Schietekat.20081206.zip plus this last-minute replacement for its include/tbb/atomic.h?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Alexey: that's really too bad. I've now tried to contact him directly via email (googled him), I really hope he gets my message and has a chance to submit his patch(es) officially to TBB. While we wait for that, is there any plan for the TBB team to start to work at MinGW support anyway? If not, do you think that the submission of the patch by balage will trigger dedicated MinGW support at some level?
Regards, Pasquale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[...]
Support for atomics means getting involved with assembler, which is the biggest part of porting, Atomics are also by far the biggest part of assembler, so it was relatively easy to also do the non-atomic parts. The patch now supports three times as many architectures as the original: x86(-64), POWER/PowerPC, Itanium (these are now in TBB, and even there it has been confirmed that more platforms work with the patch than TBB out-of-the-box), Alpha, ARM, ESA/390-z/Architecture, MIPS, PA-RISC, SPARC (most of them still need to be validated and perhaps corrected, but they're fairly complete). Of course, that's only the architecture side of it, there's also the compiler side, but MinGW is about the GNU compiler, which is the one used for all of these platforms, exceptions notwithstanding. The third part is operating systems, and I did add a couple of those, too. Maybe MinGW needs additional work, but forgive me for thinking that this might be a good base for it, and of course I wouldn't mind adding this to its list of features.
- 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
Given the general amount of (non)-support and (non)-interest, I don't plan on spending much time on it. Even if I have invested already months on writing TBB-based parallel code, results so far are less than exciting, and if all stays like that, I'm sooo out of here. Strip away all TBB nonsense and forget about the multicore (illusion)-(delusion)-revolution. Maybe Intel would have been better off staying an hardware-only company... Just release processors, and let serious developers write libraries...
P.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"I will have to try to find a solution in about a couple months, and I'll report then." See #5.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »