Project

General

Profile

GCC Toolchain and Hello World AM335x

Added by R D over 12 years ago

I am new to Linux and Eclipse
When launching Eclipse I get:
mitydsp@mitydsp-dev:~$ eclipse
Unable to find full path for "g++"
Unable to find full path for "g++"
Unable to find full path for "arm-angstrom-linux-gnueabi-g++"
Unable to find full path for "arm-angstrom-linux-gnueabi-g++"
Unable to find full path for "arm-angstrom-linux-gnueabi-g++"

This lead me to believe the GCC Toolchain had not been installed.
I was following the Starter-Guide and get this when checking the GCC version:
mitydsp@mitydsp-dev:~$ arm-angstrom-linux-gnueabi-g++ -v
arm-angstrom-linux-gnueabi-g++: command not found

I was able to verify the GCC Toolchain was installed by browsing to it.
I then set the environment-setup file to be executable and ran it with no luck (./usr/local/angstrom/arm/environment-setup).

I fixed the errata for serial number 120778 by deleting:
export SDK_PATH=/export/space/ti-sdk-am335x-evm-05.03.02.00/linux-devkit
in /usr/local/ti-sdk-am335x-evm-05.03.02.00/linux-devkit/environment-setup

Please help.

Thanks,
Randy


Replies (3)

RE: GCC Toolchain and Hello World AM335x - Added by R D over 12 years ago

Tried based on starter guide (above was something extra I tried)
mitydsp@mitydsp-dev:~$ arm-angstrom-linux-gnueabi-gcc -v
arm-angstrom-linux-gnueabi-gcc: command not found

RE: GCC Toolchain and Hello World AM335x - Added by Michael Williamson over 12 years ago

Hi Randy,

This forum is for the MityDSP-L138 Family (ARM9 cores).

For the 335X, your post should go to this forum:

http://support.criticallink.com/redmine/projects/armc8-platforms/boards/28

For the MityARM-3359 SOM, you are going to use the cross-tools provided by TI's PSP (which is included on the VM from Critical Link on the MityARM-3359 dev kits).

You need to run the script below to get your path set up.

. /usr/local/ti-sdk-am335x-evm-05.03.02.00/linux-devkit/environment-setup

Then the compiler chain you want is:

arm-arago-linux-gnueabi-gcc

Note, on early shipments of the VM, that script had a bug in it, see this page to comment out the line that contains the bug. It may be fixed with the release you have in hand.

Details about the TI PSP (and using the toolchains, etc.) can be found on TI's Sitara Wiki

-Mike

RE: GCC Toolchain and Hello World AM335x - Added by R D over 12 years ago

Hi Mike,

Got HelloWorld working correctly... thanks for helping.
I will be sure to post in the right forums from now on.

Thanks again,
Randy

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)