I’m not sure if this should be posted in here or under General Programming, but here goes…
A year ago I created a 6.3.0 disk for creating control software for a robot. Things worked great. I created the code on Windows, transferred the code to my QNX box, ran make, and it compiled and ran.
Now, I used the same 6.3.0 CD to create another disk. I had to change the date in the BIOS because otherwise my license key was expired. So, I now have a machine that thinks it’s living in the past, but when I take my code from Windows, I can’t compile.
First, I notice that it can’t find gcc. So I notice gcc is now under /usr/qnx630/host/qnx6/x86/usr/bin/gcc. So I add it to my PATH and get a “cannot find cpp0” error. And that’s in a funny directory. And I add it to my path. Then, it starts to compile but it can’t find any header files.
What’s going on? Why is everything in such unobvious places? What changed between the two installs? And, most importantly, how do I fix it?