Closed schumi2004 closed 9 years ago
How do we find the correct optimization flags for the different CPU's?
In my case i need to compile it for mv6282. I know -march=amrv5te but what about the rest ?
/edit: I change it to only -march=armv5te and started to make with the following error
DS211> make g++ -o fast_tv_grab_nl main.cpp httpdata.o channel.o channels.o config.o program.o programs.o scanconfig.o tvgids_nl.o upc_nl.o functions.o curl-config --libs -L/opt/lib -lboost_program_options -lboost_regex -lboost_system -lboost_filesystem -lboost_serialization -lboost_date_time -lboost_thread /opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status make: *\ [fast_tv_grab_nl] Error 1
curl-config --libs
Any idea?
Solved reinstalled lstdc++
How do we find the correct optimization flags for the different CPU's?
In my case i need to compile it for mv6282. I know -march=amrv5te but what about the rest ?
/edit: I change it to only -march=armv5te and started to make with the following error
DS211> make g++ -o fast_tv_grab_nl main.cpp httpdata.o channel.o channels.o config.o program.o programs.o scanconfig.o tvgids_nl.o upc_nl.o functions.o
curl-config --libs
-L/opt/lib -lboost_program_options -lboost_regex -lboost_system -lboost_filesystem -lboost_serialization -lboost_date_time -lboost_thread /opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status make: *\ [fast_tv_grab_nl] Error 1Any idea?