Set path which can find armeb-gnueabi-cc.
Ex:
set PATH=$PATH:/opt/bin
Start to compile the code.
Compile one c file by using cross compiler.
armeb-gnueabi-cc \
-I/home/happy/include/ \
-L/home/happy/lib/ \
-lticc \
send.c -o icc_send
-I = The folder of header file
-L = The folder of share file
-l = Indicate which share library need to be used
0 意見:
張貼留言