12-11-2012 09:06 PM
I just downloaded and installed the BB10 Gold.
Fired it up and tried to do a build on an existing project that I've had no problems with before. I get a build error:
**** Internal Builder is used for build ****
qcc -o src\main.o ..\src\main.c -V4.4.2,gcc_ntoarmv7le -w1 -IC:/BB_SDK/target/qnx6/usr/include/freetype2 -IC:/BB_SDK/target/qnx6/../target-override/usr/inc
cc1: error: unrecognized command line option "-fstack-protector-strong"
cc: C:/BB_SDK/host/win32/x86/usr/lib/gcc/arm-unknown-n
Build error occurred, build is stopped
Time consumed: 4483 ms.
I don't know what to do with this. There's obviously some kind of command line option that isn't right but I have no experience modifying these sorts of things.
Any suggestions?
Solved! Go to Solution.
12-12-2012 06:01 AM
Well, my solution is (I don`t know what other consequences it may have):
1) Go into Project Properties (I assume you use QNX Momentics IDE)
2) C/C++ Build
3) Settings -> Tool Settings -> Output Control in QCC Compiler -> Uncheck "Enchanced Security (-fstack-protector-strong)" option
4) Rebuild
Works for me.
12-12-2012 06:57 AM - edited 12-12-2012 06:57 AM
Thanks, Tramontane.
I'll give that a shot and see how it goes, although just looking at what you're suggesting, it seems to be the answer.
12-12-2012 10:08 AM
Gave it a go.
Seems to work. At least I can now build the projects.
Thanks again, Tramontane.
I'm happy now.