On 22/06/10 01:45, Jonathan S. Shapiro wrote:
For those who may be trying to cross-build the tools for other
platforms (e.g. Ubuntu), I've updated the "unsupported targets"
makefile to build the current versions of everything. Sorry this had
not already been done.
shap
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
CapROS-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/capros-devel
A patch or three.
gdb-7.0.1-coldfire-intouch-disasm.patch
Tried to patch againt 6.8. I assume this is what it should be.
**I provide only to keep make happy, I do not build coldfire cross tools.**
newlib-cvs20100601-baseline-removal.patch
Renamed all instances of "baseline-newlib-1.18.0" to "newlib-1.18.0"
This was diff'd against the unbziped patch file.
https://sourceforge.net/projects/capros/files/newlib-cvs20100601-baseline-removal.patch/download
--Link kindly provided by Charlie as it was to big.
Lastly a CapROS openssl EROS_XENV patch.
Hopefully these aren't complete screw ups.
Now I ask for some help:
I have EROS_XENV=/home/ian/capros/xenv/host/
and COYOTOS_XENV=/home/ian/coyotos/xenv respectively
I get these errors:
CapROS:
make[4]: Entering directory `/home/ian/devel/eros/eros/src/base/domain/pcc'
if [ ! -d BUILD/i486-generic ]; then \
mkdir -p BUILD/i486-generic; \
fi
Making BUILD/i486-generic/constituents.h
/home/ian/capros/xenv/host//bin/i386-unknown-capros-gcc -O2
-fno-strict-aliasing -O -IBUILD/i486-generic
-I/home/ian/devel/eros/eros/include
-I/home/ian/devel/eros/eros/host/include -DEROS_TARGET_i486
-DCAPROS_MACH_generic -Wall -Wno-format -Wno-char-subscripts -Werror -c
proccre.c -o BUILD/i486-generic/proccre.o
/home/ian/capros/xenv/host//bin/i386-unknown-capros-gcc
-Wl,--section-start,.init=0x1000 -static
-L/home/ian/devel/eros/eros/lib/i486-generic -e _start
BUILD/i486-generic/proccre.o -small-space
/home/ian/devel/eros/eros/lib/i486-generic/libworkaround.a -o
BUILD/i486-generic/proccre
/home/ian/capros/xenv/host/libexec/gcc/i386-unknown-capros/4.2.4/ld:
cannot open linker script file ldscripts/elf_i386_coyotos_small.xc: No
such file or directory
collect2: ld returned 1 exit status
Coyotos:
/home/ian/coyotos/xenv/host/bin/i386-unknown-coyotos-gcc -small-space
-fdefault-inline -I. -I/home/ian/devel/eros/coyotos/usr/include
-IBUILD/i386-unknown-coyotos -I../../../sys
BUILD/i386-unknown-coyotos/Constructor.o
BUILD/i386-unknown-coyotos/runtime.o -L
/home/ian/devel/eros/coyotos/usr/lib -o
BUILD/i386-unknown-coyotos/Constructor
/home/ian/coyotos/xenv/host/libexec/gcc/i386-unknown-coyotos/4.2.4/ld:
cannot open linker script file ldscripts/elf_i386_coyotos_small.xc: No
such file or directory
Again hope the patches are useful.
Cheers
Ian
diff -ruN gdb-7.0.1-baseline/opcodes/m68k-opc.c gdb-7.0.1/opcodes/m68k-opc.c
--- gdb-7.0.1-baseline/opcodes/m68k-opc.c 2010-06-27 11:57:39.605595490
+0100
+++ gdb-7.0.1/opcodes/m68k-opc.c 2010-06-27 11:59:35.318720770 +0100
@@ -249,7 +249,22 @@
{"cinvp", 2, one(0xf400|SCOPE_PAGE), one(0xff38), "ceas", m68040up },
{"cpusha", 2, one(0xf420|SCOPE_ALL), one(0xff38), "ce", m68040up },
-{"cpushl", 2, one(0xf420|SCOPE_LINE), one(0xff38), "ceas", m68040up |
mcfisa_a },
+/* Need to break CPUSHL into two entries, because 0xf428 is INTOUCH on
+ Coldfire. The bit pattern of CPUSHL is 1111 0100 cc10 1aaa where
+ 'cc' indicates which cache to flush and 'aaa' is an address
+ register selector. A cc value of 0 is RESERVED (invalid).
+
+ The bit pattern of INTOUCH is 1111 0100 0010 1aaa where 'aaa' is an
+ address register. The only reason this does not collide with CPUSHL
+ is because cc=00 is reserved. The old patterns here did not match
+ that correctly.
+
+ On 68000RM, however, the case where cc=0 is specified as a NO-OP,
+ so we need to split the opcode here. */
+
+{"cpushl", 2, one(0xf420|SCOPE_LINE), one(0xff38), "ceas", m68040up },
+{"cpushl", 2, one(0xf460|SCOPE_LINE), one(0xfff8), "ceas", mcfisa_a },
+{"cpushl", 2, one(0xf4a0|SCOPE_LINE), one(0xffb8), "ceas", mcfisa_a },
{"cpushp", 2, one(0xf420|SCOPE_PAGE), one(0xff38), "ceas", m68040up },
#undef SCOPE_LINE
--- baseline-Configure 2010-06-27 12:22:12.204595175 +0100
+++ Configure 2010-06-27 12:18:53.294720899 +0100
@@ -530,10 +530,10 @@
##### CapROS arm
## use -mapcs-frame for debugging
-"CapROS-arm", "/capros/host/bin/arm-unknown-capros-gcc:-O -mapcs-frame -Wall
-DOPENSSL_IMPLEMENTS_strncasecmp -DNO_SYSLOG -DOPENSSL_NO_DGRAM:::CAPROS::::",
+"CapROS-arm", "\$(EROS_XENV)/bin/arm-unknown-capros-gcc:-O -mapcs-frame -Wall
-DOPENSSL_IMPLEMENTS_strncasecmp -DNO_SYSLOG -DOPENSSL_NO_DGRAM:::CAPROS::::",
##### CapROS i486
-"CapROS-i486", "/capros/host/bin/i386-unknown-capros-gcc:-O -Wall
-DOPENSSL_IMPLEMENTS_strncasecmp -DNO_SYSLOG -DOPENSSL_NO_DGRAM:::CAPROS::::",
+"CapROS-i486", "\$(EROS_XENV)/bin/i386-unknown-capros-gcc:-O -Wall
-DOPENSSL_IMPLEMENTS_strncasecmp -DNO_SYSLOG -DOPENSSL_NO_DGRAM:::CAPROS::::",
##### VxWorks for various targets
"vxworks-ppc405","ccppc:-g -msoft-float -mlongcall -DCPU=PPC405
-I\$(WIND_BASE)/target/h:::VXWORKS:-r:::::",
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
CapROS-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/capros-devel