On 03/26/2017 06:36 PM, sunlf wrote:
> Hi, IoT devs
>
>
>
> I want to make a build for ARM architecture. The command is like 'scons
> 'ARGET_ARCH=arm TC_PREFIX=.... TC_PATH=....'
> But the building failed and it shows 'unrecognized command line option
> '-pthread'' on terminal.
>
> Should I remove all flags('-pthread') in OCF scripts? Here will be a lots
> things to do then.
>
> Do you have any suggestions?
what is your target OS? is there some reason why it doesn't support
pthreads?
if it turns out you have to fiddle something, it should be enough to
make sure that the configure has generated the right configuration, and
possible making a tweak in build_common/thread.scons - the rest of the
build should pick things up from there.