Created a new target for eCos on the EB40a using the ecos 565 as a template. Ran into compiler errors, but got around that by editing the target's ...ComplierFlags.vi to eliminate the PPC references.
Compiler flags output is now:
-DUsesSerialDebugger -DDBGBAUD=57600 -DSocketSupport=0 -DFileSupport=0 -DCHeadless=1 -I. -g -D__ECOS -D__ecos -w
Target now compiles, but fails to link
Linker error occurred
/tools/arm-elf/lib/gcc-lib/arm-elf/3.2/../../../../arm-elf/bin/ld: C:\Program Files\National Instruments\LabVIEW 7.1 Embedded\resource\LabVIEW Targets\Embedded\ecos\EB40a\libs\install\lib/vectors.o: Relocations in generic ELF (EM: 20)
C:\Program Files\National Instruments\LabVIEW 7.1 Embedded\resource\LabVIEW Targets\Embedded\ecos\EB40a\libs\install\lib/vectors.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
Here are the settings for the Linker flags and the paths for the compiler, etc..
Linker flags
-g -nostdlib -Ttarget.ld -Wl,-static -Wl,--gc-sections -finit-priority -L"C:\Program Files\National Instruments\LabVIEW 7.1 Embedded\resource\LabVIEW Targets\Embedded\ecos\libs\install\lib"
compiler
C:\cygwin\tools\arm-elf\bin\arm-elf-gcc.exe
Linker
C:\cygwin\tools\arm-elf\bin\arm-elf-gcc.exe
Strip
C:\cygwin\tools\arm-elf\bin\arm-elf-strip.exe
----So it appears that there are a bunch of .o and .a files in target \libs\install\lib
Is this the problem? If so, how do I create these?
Thanks,
Richard