Wow, thanks! But I’ve never tried to select a separate compiler, and the using “qcc” instead of “gcc” came as a surprise. Anyway, the “qcc -V” returns the following:
cc: targets available in /usr/qnx630/host/qnx6/x86/etc/qcc:
2.95.3,gcc_ntoarmbe
2.95.3,gcc_ntoarmle
2.95.3,gcc_ntomipsbe
2.95.3,gcc_ntomipsle
2.95.3,gcc_ntoppcbe
2.95.3,gcc_ntoshle
2.95.3,gcc_ntox86 (default)
2.95.3,gcc_ntox86_gpp
2.95.3,gcc_ntoarmbe_acpp
2.95.3,gcc_ntoarmbe_acpp-ne
2.95.3,gcc_ntoarmbe_cpp
2.95.3,gcc_ntoarmbe_cpp-ne
2.95.3,gcc_ntoarmbe_ecpp
2.95.3,gcc_ntoarmbe_ecpp-ne
2.95.3,gcc_ntoarmle_acpp
2.95.3,gcc_ntoarmle_acpp-ne
2.95.3,gcc_ntoarmle_cpp
2.95.3,gcc_ntoarmle_cpp-ne
2.95.3,gcc_ntoarmle_ecpp
2.95.3,gcc_ntoarmle_ecpp-ne
2.95.3,gcc_ntomipsbe_acpp
2.95.3,gcc_ntomipsbe_acpp-ne
2.95.3,gcc_ntomipsbe_cpp
2.95.3,gcc_ntomipsbe_cpp-ne
2.95.3,gcc_ntomipsbe_ecpp
2.95.3,gcc_ntomipsbe_ecpp-ne
2.95.3,gcc_ntomipsle_acpp
2.95.3,gcc_ntomipsle_acpp-ne
2.95.3,gcc_ntomipsle_cpp
2.95.3,gcc_ntomipsle_cpp-ne
2.95.3,gcc_ntomipsle_ecpp
2.95.3,gcc_ntomipsle_ecpp-ne
2.95.3,gcc_ntoppcbe_acpp
2.95.3,gcc_ntoppcbe_acpp-ne
2.95.3,gcc_ntoppcbe_cpp
2.95.3,gcc_ntoppcbe_cpp-ne
2.95.3,gcc_ntoppcbe_ecpp
2.95.3,gcc_ntoppcbe_ecpp-ne
2.95.3,gcc_ntoshle_acpp
2.95.3,gcc_ntoshle_acpp-ne
2.95.3,gcc_ntoshle_cpp
2.95.3,gcc_ntoshle_cpp-ne
2.95.3,gcc_ntoshle_ecpp
2.95.3,gcc_ntoshle_ecpp-ne
2.95.3,gcc_ntox86_acpp
2.95.3,gcc_ntox86_acpp-ne
2.95.3,gcc_ntox86_cpp
2.95.3,gcc_ntox86_cpp-ne
2.95.3,gcc_ntox86_ecpp
2.95.3,gcc_ntox86_ecpp-ne
3.3.1,gcc_ntoarmbe
3.3.1,gcc_ntoarmle
3.3.1,gcc_ntomipsbe
3.3.1,gcc_ntomipsle
3.3.1,gcc_ntoppcbe
3.3.1,gcc_ntoshle
3.3.1,gcc_ntox86
3.3.1,gcc_ntoarmbe_acpp
3.3.1,gcc_ntoarmbe_acpp-ne
3.3.1,gcc_ntoarmbe_cpp
3.3.1,gcc_ntoarmbe_cpp-ne
3.3.1,gcc_ntoarmbe_ecpp
3.3.1,gcc_ntoarmbe_ecpp-ne
3.3.1,gcc_ntoarmbe_gpp
3.3.1,gcc_ntoarmle_acpp
3.3.1,gcc_ntoarmle_acpp-ne
3.3.1,gcc_ntoarmle_cpp
3.3.1,gcc_ntoarmle_cpp-ne
3.3.1,gcc_ntoarmle_ecpp
3.3.1,gcc_ntoarmle_ecpp-ne
3.3.1,gcc_ntoarmle_gpp
3.3.1,gcc_ntomipsbe_acpp
3.3.1,gcc_ntomipsbe_acpp-ne
3.3.1,gcc_ntomipsbe_cpp
3.3.1,gcc_ntomipsbe_cpp-ne
3.3.1,gcc_ntomipsbe_ecpp
3.3.1,gcc_ntomipsbe_ecpp-ne
3.3.1,gcc_ntomipsbe_gpp
3.3.1,gcc_ntomipsle_acpp
3.3.1,gcc_ntomipsle_acpp-ne
3.3.1,gcc_ntomipsle_cpp
3.3.1,gcc_ntomipsle_cpp-ne
3.3.1,gcc_ntomipsle_ecpp
3.3.1,gcc_ntomipsle_ecpp-ne
3.3.1,gcc_ntomipsle_gpp
3.3.1,gcc_ntoppcbe_acpp
3.3.1,gcc_ntoppcbe_acpp-ne
3.3.1,gcc_ntoppcbe_cpp
3.3.1,gcc_ntoppcbe_cpp-ne
3.3.1,gcc_ntoppcbe_ecpp
3.3.1,gcc_ntoppcbe_ecpp-ne
3.3.1,gcc_ntoppcbe_gpp
3.3.1,gcc_ntoshle_acpp
3.3.1,gcc_ntoshle_acpp-ne
3.3.1,gcc_ntoshle_cpp
3.3.1,gcc_ntoshle_cpp-ne
3.3.1,gcc_ntoshle_ecpp
3.3.1,gcc_ntoshle_ecpp-ne
3.3.1,gcc_ntoshle_gpp
3.3.1,gcc_ntox86_acpp
3.3.1,gcc_ntox86_acpp-ne
3.3.1,gcc_ntox86_cpp
3.3.1,gcc_ntox86_cpp-ne
3.3.1,gcc_ntox86_ecpp
3.3.1,gcc_ntox86_ecpp-ne
3.3.1,gcc_ntox86_gpp
What I want is the 3.x compiler, I definitely need STL (plus the extra containers like hash_map), and I need to be able to compile the boost template libraries (which I already downloaded, installed, and have been able to compile against, no problems yet).
My target is the P4 - the very machine I’m working with at the moment. So which of these selected configurations should I use, and what would the commandline look like to make it compile?
Many thanks!
-e