hi
i follow all the srtp in http://linux-c6x.org/wiki/index.php/Linux-c6x_2.0_Release
now i wanna compile a very simple code
void main
{
print ("helloworld");
}
how can i use gcc toolChain to compile these easy main.c file
thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi
i follow all the srtp in http://linux-c6x.org/wiki/index.php/Linux-c6x_2.0_Release
now i wanna compile a very simple code
void main
{
print ("helloworld");
}
how can i use gcc toolChain to compile these easy main.c file
thanks
Hi,
If you have not had compiler installed from CodeSourcery site, you run ./prj config to install it. Once the cross-compiler is installed, set the PATH to point to its bin directory, then 'c6x-uclinux-gcc main.c' will compile your main.c.
Rex
for that u need to compile it with SDK compiler that u are using if ti-sdk-5.7 then compile it with then it will run.
Regards
Praveen