Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: lovelypp on September 30, 2020, 12:14:35 AM
-
when port my app from other linux dist, there are some lib requre c++11 support, like log4cplus, boost(version 1.72) qt ? and others
thanks
-
Hi lovelypp
Run this command:
tc@E310:~$ gcc -std=c++11 2>&1
gcc: fatal error: no input files
compilation terminated.
tc@E310:~$
That response means it supports c++11.
If the response includes:
gcc: error: unrecognized command line option '-std=c++11
That means it does not support c++11
If it supports c++11, try adding this to CXXFLAGS:
-std=c++11
-
Rich
sorry, I seems that it supports c++11, I have made a mistake.
-
Hi lovelypp
That's OK. I make mistakes all the time. ;D
-
:)