public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Rookie question: how to do a make clean?
@ 2003-10-01 23:34 Adrian Caceres
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Caceres @ 2003-10-01 23:34 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [ECOS] Rookie question: how to do a make clean?
  2003-10-01 23:34 Adrian Caceres
@ 2003-10-01 23:39 ` Gregg C Levine
  0 siblings, 0 replies; 3+ messages in thread
From: Gregg C Levine @ 2003-10-01 23:39 UTC (permalink / raw)
  To: 'Adrian Caceres', ecos-discuss

Hello (again) from Gregg C Levine
What I normally do, and this is something that works in any GNU tools
based build environment, is from a shell prompt, simply type, "#make
clean", and make will do that. Granted it's not perfect, but it’s the
closest thing we've got. The folks might have a simpler answer, but
let's wait and see. (The # mark is the shell prompt.)
-------------------
Gregg C Levine hansolofalcon@worldnet.att.net
------------------------------------------------------------
"The Force will be with you...Always." Obi-Wan Kenobi
"Use the Force, Luke."  Obi-Wan Kenobi
(This company dedicates this E-Mail to General Obi-Wan Kenobi )
(This company dedicates this E-Mail to Master Yoda )



> -----Original Message-----
> From: ecos-discuss-owner@sources.redhat.com [mailto:ecos-discuss-
> owner@sources.redhat.com] On Behalf Of Adrian Caceres
> Sent: Wednesday, October 01, 2003 7:34 PM
> To: ecos-discuss@sources.redhat.com
> 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


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ECOS] Rookie question: how to do a make clean?
@ 2003-10-01 23:34 Adrian Caceres
  2003-10-01 23:39 ` Gregg C Levine
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Caceres @ 2003-10-01 23:34 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-01 23:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-01 23:34 [ECOS] Rookie question: how to do a make clean? Adrian Caceres
  -- strict thread matches above, loose matches on Subject: below --
2003-10-01 23:34 Adrian Caceres
2003-10-01 23:39 ` Gregg C Levine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).