[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?



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 
ll/bin/redboot.elf /ecos-c/cygwin/opt/ecos/install/lib/version.o
/../mipsisa32-elf/bin/ld: /ecos-c/cygwin/opt/ecos/install/lib/vectors.o: 
d for a little endian system and target is big endian
File in wrong format: failed to merge target specific data of file 
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