How to compile/cross-compile my source code?

Hi,

I am new to QNX. I am using Linux host to cross compile our source codes for the QNX target which is renesas proccessor based hardware, i think.
Source tree is having only makefiles where compilation commanda is not specified directly.

I need to cross compile my small c source file for the target. How to find out the cross compilation command from the makefiles? Where it will be in the host machine? Plz help me.

Regards,
Pramod

I too find this a big problem. The recursive make tools are very obscure and hard to follow back to their root. I reported a bug in the way they work with Photon on a self hosted system about a week ago, but no solution is forthcoming from QNX. I suggest that you look at the output when compiling.