This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Rookie question: how to do a make clean?
- From: Adrian Caceres <adrian at atheros dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 01 Oct 2003 16:34:07 -0700
- Subject: [ECOS] Rookie question: how to do a make clean?
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