az83 wrote: [ snip ]
> When I tried building a new eCos application, I was able to generate the > .ecc file, but in order for me to generate the .elf file, I had to run a > Makefile which contained only one main.c file. I ran into this error when > running make in cygwin: > > $ make > cc -I/opt/ecos/ecos-3.0/redboot/ecc_one/redboot_lpc17xx_install/include > -nostartfiles > -L/opt/ecos/ecos-3.0/redboot/ecc_one/redboot_lpc17xx_install/lib -Ttarget.ld > main.c -o main > /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: > skipping incompatible > /opt/ecos/ecos-3.0/redboot/ecc_one/redboot_lpc17xx_install/lib/vectors.o > when searching for vectors.o > /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: > skipping incompatible > /opt/ecos/ecos-3.0/redboot/ecc_one/redboot_lpc17xx_install/lib/vectors.o > when searching for vectors.o > /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot > find vectors.o > collect2: ld returned 1 exit status > <builtin>: recipe for target `main' failed > make: *** [main] Error 1 Your makefile is attempting building your code for native execution using "cc". You will need to build your eCos application for remote execution on LPC17xx using "arm-eabi-gcc". Take a look at the example makefile from eCos CVS which could be adapted to build your application code: http://ecos.sourceware.org/cgi-bin/cvsweb.cgi/ecos/examples/Makefile?rev=1&content-type=text/x-cvsweb-markup&cvsroot=ecos I hope this helps... John Dallaway eCos maintainer http://www.dallaway.org.uk/john -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss