$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] gcc 3.6 compile for nios2
From: Shlomo Kut-SM (shlomo_kut_at_[hidden])
Date: 2008-11-16 15:16:48
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_at_[hidden]
Mobile: 972-54-771-8308