[ECOS] Rookie question: how to do a make clean?

Adrian Caceres adrian@atheros.com
Wed Oct 1 23:34:00 GMT 2003


I am starting to port redboot to a new platform.   I was able to build 
it properly
but then I realized I had to change the endianess.

So I specify the correct one in ecos.db.  I reran ecosconfig,
re did the import, and redid the ecosconfig tree, and did a make clean.
But after running make, I still fail in the linker because certain
files were not recompiled.

What is the proper way to do a "make clean" in ecos?

thanks

adrian

Here is an example:

mipsisa32-elf-gcc -msoft-float -EB -g -nostdlib -Wl,--gc-sections 
-Wl,-static -L
/ecos-c/cygwin/opt/ecos/install/lib -Ttarget.ld -o 
/ecos-c/cygwin/opt/ecos/insta
ll/bin/redboot.elf /ecos-c/cygwin/opt/ecos/install/lib/version.o
/opt/ecos/gnutools/mipsisa32-elf/bin/../lib/gcc-lib/mipsisa32-elf/3.2.1/../../..
/../mipsisa32-elf/bin/ld: /ecos-c/cygwin/opt/ecos/install/lib/vectors.o: 
compile
d for a little endian system and target is big endian
File in wrong format: failed to merge target specific data of file 
/ecos-c/cygwi
n/opt/ecos/install/lib/vectors.o
collect2: ld returned 1 exit status
make[1]: *** [/ecos-c/cygwin/opt/ecos/install/bin/redboot.elf] Error 1


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list