public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] How to support mips2
@ 2000-12-17  0:23 root
  0 siblings, 0 replies; only message in thread
From: root @ 2000-12-17  0:23 UTC (permalink / raw)
  To: ecos-discuss

Hi, all:

I want to let eCos support mips2 CPU, I add a flag -mips2 in my
mips64vr4300-elf-gcc.  I hope that  this flag will prevent the compiler
to generate some instructions which are not supported by mips2. But I meet
a problem when I compile the stub. The following is the error message.



mips64vr4300-elf-gcc -mgp32 -EL -g -nostdlib -Wl,--gc-sections -Wl,-static
-L//E/mywork/stub2_install/lib -Ttarget.ld -o
//E/mywork/stub2_install/bin/gdb_module.img src/stubrom/gdb_module.o
/c/TOOLS_~2/H-I686~1/bin/../lib/gcc-lib/mips64vr4300-elf/2.96/../../../../mips64vr4300-elf/bin/ld:
_ctors.o: uses different e_flags (0x20000000) fields than previous modules
(0x20000100) Bad value: failed to merge target specific data of file
/c/TOOLS_~2/H-I686~1/bin/../lib/gcc-lib/mips64vr4300-elf/2.96/el/mgp32/libgcc.a(_ctors.o)
collect2: ld returned 1 exit status make[1]: ***
[//E/mywork/stub2_install/bin/gdb_module.img] Error 1 make: *** [build]
Error 2
~                              


I think the flag -mips2 is correct, but it is conflict with the
mips_vr4300.ld. Can someone tell me how to modify this link script so it
can support mip2?
Many thanks!


 
Cos Xue 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-12-17  0:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-17  0:23 [ECOS] How to support mips2 root

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).