Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

how to execute c programe in OMAPL138 LCDK

$
0
0

hi

i hv tried to run c program in OMAPl138LCDK i have followed the link which is

http://processors.wiki.ti.com/index.php/OMAP-L138_LCDK_Linux_SDK_Getting_Started_Guide#Edit_and.C2.A0compile_.22Hello_World.21.22

by following this link i verified the PATH which is step 3 given on link

3) Verify that your path has been updated to include the GCC tool chain provided by the SDK using the command:

after this step

when i maked the hello.c file and tried to cross compile it using

Cross-compile the program:

host $ arm-arago-linux-gnueabi-gcc hello.c –o hello

i am getting errors which is

 

[linux-devkit]:/home/vivek/Desktop/ti-sdk-omapl138-lcdk-01.00.00> arm-arago-linux-gnueabi-gcc --version
arm-arago-linux-gnueabi-gcc (GCC) 4.5.3 20110311 (prerelease)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[linux-devkit]:/home/vivek/Desktop/ti-sdk-omapl138-lcdk-01.00.00> ls
bin dsp-tools Hello.c Rules.make
board-support example-applications host-tools setup.sh
docs filesystem linux-devkit
[linux-devkit]:/home/vivek/Desktop/ti-sdk-omapl138-lcdk-01.00.00> arm-arago-linux-gnueabi-gcc Hello.c –o Hello
arm-arago-linux-gnueabi-gcc: –o: No such file or directory
arm-arago-linux-gnueabi-gcc: Hello: No such file or directory
[linux-devkit]:/home/vivek/Desktop/ti-sdk-omapl138-lcdk-01.00.00>

i cant able to compile the Hello.c file there

Plz help


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>