LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

LPC 229X

Hi,
I am trying to devolop an embeded application for the LPC 229X target.I have both cygwin 1.5.1 and ecos 2.0 installed in the proper directory and alse changed the PATH variable path.But while i start to ceate the exe it gives a linking error, I am not using any hardware during the exe creation.
 
"Failed to create Executable
 
gcc: installation problem, cannot exec `cc1': No such file or directory"
 
Can anybody provide me with some valuable suggestion.
:mansad:
 
0 Kudos
Message 1 of 7
(7,833 Views)
Hi,

Did you install the arm-elf toolchain from ecos.sourceware.org? You need to run these commands in cygwin:

wget --passive-ftp ftp://ecos.sourceware.org/pub/ecos/ecos-install.tcl

sh ecos-install.tcl

This requires that you have the Cygwin packages for TCL/TK and WGET already installed. You also need to make sure that the toolchain installs in either cygwin\gnutools, cygwin\opt\gnutools, or cygwin. Otherwise, the toolchain will not be found in the Path system variable.
--
Michael P
National Instruments
0 Kudos
Message 2 of 7
(7,822 Views)
Hi Michael,
 
I have installed cygwin and ecos in the required directory....I have attached an image of the folder structure with this post...please check it...but still i am getting the same error...in the build properties i have given the path of the compiler and linker path as like this...
"C:\cygwin\gnutools\arm-elf\arm-elf\bin\gcc.exe", "C:\cygwin\gnutools\arm-elf\arm-elf\bin\ld.exe" ....any suggestion?
 
Smiley Indifferent
0 Kudos
Message 3 of 7
(7,817 Views)
Hi,
I tried to find out what is the command that were passes on to the linker from LV.Since the VI 'LEP_ecos_Phytec_LPC229x_ScriptLinker.vi' is used for this I went inside this, but this VI is giving broken arrow. The source of the error seems to be in System Exec.vi which is showing broken arrow. The error that is popping up is "Code Interface Node:Node not supported for current target." .Any suggestion to solve this problem??????
Smiley Sad
 
0 Kudos
Message 4 of 7
(7,795 Views)
Hi,

That VI is run in the Windows (My Computer) context. Verify that you have the plug-in VI open in the correct context (shown at the bottom left corner of the window).
--
Michael P
National Instruments
0 Kudos
Message 5 of 7
(7,788 Views)

Hi,

Right you are,opening the vi s in the windows target(My computer) does not creates the broken arrow.But any suggestion for the original problem???

Smiley Indifferent

0 Kudos
Message 6 of 7
(7,783 Views)
Hi,

The error you are getting is coming from gcc (gcc: installation problem, cannot exec `cc1': No such file or directory"). I looked around on gcc/cygwin forums, and most recommend a reinstall of gcc when this error occurs. Also, make sure you have selected the DOS/text option when installing Cygwin (not Unix).
--
Michael P
National Instruments
0 Kudos
Message 7 of 7
(7,776 Views)