gcc 3.6 compile for nios2

16 Nov
2008
16 Nov
'08
8:16 p.m.
Hi, I am trying cross compile boost for the nios2 processor. I am running into trouble when bjam generates the -pthread compiler option which is rejected by gcc for nios. I would like it to generate -D_REENTRANT instead. How can I do this? Here is what I am doing now: 1. cd boost_1_35_0 2. echo "using gcc : nios : nios2-linux-g++ ;"> tools/build/v2/user-config.jam 3. ../bjam clean 4. ../bjam -d2 --toolset=gcc-nios '-sBUILD=release static multi/single' link=static --prefix= --layout=system --with-thread --with-signals --with-filesystem install Please can you help? Shlomo Best Regards, Shlomo Kut eMail: shlomo_kut@softmodule.com Mobile: 972-54-771-8308
6055
Age (days ago)
6055
Last active (days ago)
0 comments
1 participants
participants (1)
-
Shlomo Kut-SM