- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I'm trying to use tbb with code blocks (10.05, with gcc 4.4 and gmake 3.81 coming with the installer).
So I'm first trying to build the .a and .dll for tbb and tbb_malloc (i've always worked with the visual binary versions until now)
When i run "mingw32-make compiler=gcc arch=ia32 runtime=mingw tbb", it creates the object files correctly in the build folder, but fails at the link step with the following message:
g++ -o tbb_debug.dll concurrent_hash_map.o concurrent_queue.o concurrent_vecto
r.o dynamic_link.o itt_notify.o cache_aligned_allocator.o pipeline.o queuing_mut
ex.o queuing_rw_mutex.o reader_writer_lock.o spin_rw_mutex.o spin_mutex.o critic
al_section.o task.o tbb_misc.o mutex.o recursive_mutex.o condition_variable.o tb
b_thread.o concurrent_monitor.o private_server.o rml_tbb.o task_group_context.o
governor.o market.o arena.o scheduler.o observer_proxy.o tbb_main.o concurrent_v
ector_v2.o concurrent_queue_v2.o spin_rw_mutex_v2.o task_v2.o -lpsapi -shared
-Wl,--enable-runtime-pseudo-reloc-v2 -m32 -Wl,--version-script,tbb.def
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: unrecognized option '--enable-runtime-pseudo-reloc-v2'
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: use the --help option for usage information
collect2: ld returned 1 exit status
mingw32-make[1]: *** [tbb_debug.dll] Error 1
mingw32-make[1]: Leaving directory `[..]/tbb30_035/build/windows_ia32_gcc_mingw_debug'
mingw32-make: *** [tbb] Error 2
What did I do wrong ?
Regards,
Link Copied
- 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
- 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
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page