This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cross compiling for the 1750A


Hello.

I have been presented an interesting challenge from someone who is
trying to work with some very specialized equipment. He is attempting to
migrate off a bunch of legacy equipment hosted with Windows and onto a
Red Hat based platform where we can update much of this bulky legacy
code. I am trying to help out where I can. The current sticky bit is the
fact that we need a C compiler for the 1750A microprocessor.

In our research we have found many many many dead ends. We did discover
a source download for a Windows gcc version that we were able to
successfully compile and run the binary exe's under Wine. While it works
as a proof-of-concept, it is really slow and unsuitable for our needs.

We decided that if we were to have any hope of getting this to work, we
should use the tools that were available at the latest support release.
So for the time being, we are working on a CentOS 2 install with the gcc
3.1 source file. We have overcome many of the obstacles but the latest
roadblock is simply over our heads at the moment and we are not finding
much online. I have pasted the make error at the end of the email. I
don't expect someone to solve our problems from it, but hopefully it
helps to see part of the issue we have run into.

I can go into more details as to what we have done but I first thought
it worth asking if there are any GCC Guru's out there who might be able
to help us out with the 1750A. Is there anyone who might be able to help
us get this cross compile working? Or maybe know someone that might be
able to help us?

Thank you!
~Stack~


/home/compile/gcc-3.1.1/gcc/xgcc -B/home/compile/gcc-3.1.1/gcc/
-B/opt/gcc-1750/1750a/bin/ -B/opt/gcc-1750/1750a/lib/ -isystem
/opt/gcc-1750/1750a/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
-I. -I. -I./. -I./config -I./../include  -DL_muldi3 -c ./libgcc2.c -o
libgcc/./_muldi3.o
cc1: warning: `-g': unknown or unsupported -g option
/tmp/ccapWWcF.s: Assembler messages:
/tmp/ccapWWcF.s:1: Error: no such instruction: `name libgcc2'
/tmp/ccapWWcF.s:2: Error: no such instruction: `nolist'
/tmp/ccapWWcF.s:3: Error: no such instruction: `include "ms1750.inc"'
/tmp/ccapWWcF.s:4: Error: no such instruction: `list'
/tmp/ccapWWcF.s:6: Error: no such instruction: `global __main'
/tmp/ccapWWcF.s:9: Error: no such instruction: `normal'
/tmp/ccapWWcF.s:9: Error: invalid character '_' in mnemonic
/tmp/ccapWWcF.s:11: Error: no such instruction: `global __mulhi3'
/tmp/ccapWWcF.s:11: Error: no such instruction: `export'
/tmp/ccapWWcF.s:12: Error: invalid character '_' in mnemonic
/tmp/ccapWWcF.s:14: Error: no such instruction: `pshm r14,r14'
/tmp/ccapWWcF.s:15: Error: no such instruction: `lr r14,r15'
/tmp/ccapWWcF.s:16: Error: no such instruction: `dlr r7,r0'
/tmp/ccapWWcF.s:17: Error: no such instruction: `dlr r5,r2'
/tmp/ccapWWcF.s:18: Error: no such instruction: `lr r2,r8'
/tmp/ccapWWcF.s:19: Error: no such instruction: `andm r2,255'
/tmp/ccapWWcF.s:20: Error: no such instruction: `lr r3,r8'
/tmp/ccapWWcF.s:21: Error: no such instruction: `srl r3,8'
/tmp/ccapWWcF.s:22: Error: no such instruction: `lr r0,r6'
/tmp/ccapWWcF.s:23: Error: no such instruction: `andm r0,255'
/tmp/ccapWWcF.s:24: Error: no such instruction: `lr r1,r6'
/tmp/ccapWWcF.s:25: Error: no such instruction: `srl r1,8'
/tmp/ccapWWcF.s:26: Error: no such instruction: `lr r11,r2'
/tmp/ccapWWcF.s:27: Error: no such instruction: `msr r11,r0'
/tmp/ccapWWcF.s:28: Error: no such instruction: `lr r4,r2'
/tmp/ccapWWcF.s:29: Error: no such instruction: `msr r4,r1'
/tmp/ccapWWcF.s:30: Error: no such instruction: `lr r2,r3'
/tmp/ccapWWcF.s:31: Error: no such instruction: `msr r2,r0'
/tmp/ccapWWcF.s:32: Error: no such instruction: `msr r3,r1'
/tmp/ccapWWcF.s:33: Error: no such instruction: `lr r0,r11'
/tmp/ccapWWcF.s:34: Error: no such instruction: `srl r0,8'
/tmp/ccapWWcF.s:35: Error: no such instruction: `ar r4,r0'
/tmp/ccapWWcF.s:36: Error: no such instruction: `ar r4,r2'
/tmp/ccapWWcF.s:37: Error: invalid character '.' in mnemonic
/tmp/ccapWWcF.s:38: Error: too many memory references for `jc'
/tmp/ccapWWcF.s:38: Error: no such instruction: `this should be an
*unsigned* test!'
/tmp/ccapWWcF.s:39: Error: no such instruction: `aim r3,256'
/tmp/ccapWWcF.s:40: Error: no such instruction: `l3'
/tmp/ccapWWcF.s:41: Error: no such instruction: `lr r0,r4'
/tmp/ccapWWcF.s:42: Error: no such instruction: `srl r0,8'
/tmp/ccapWWcF.s:43: Error: no such instruction: `lr r9,r3'
/tmp/ccapWWcF.s:44: Error: no such instruction: `ar r9,r0'
/tmp/ccapWWcF.s:45: Error: no such instruction: `sll r4,8'
/tmp/ccapWWcF.s:46: Error: no such instruction: `andm r11,255'
/tmp/ccapWWcF.s:47: Error: no such instruction: `lr r10,r4'
/tmp/ccapWWcF.s:48: Error: no such instruction: `ar r10,r11'
/tmp/ccapWWcF.s:49: Error: no such instruction: `dlr r0,r9'
/tmp/ccapWWcF.s:50: Error: no such instruction: `lr r3,r8'
/tmp/ccapWWcF.s:51: Error: no such instruction: `msr r3,r5'
/tmp/ccapWWcF.s:52: Error: no such instruction: `lr r2,r7'
/tmp/ccapWWcF.s:53: Error: no such instruction: `msr r2,r6'
/tmp/ccapWWcF.s:54: Error: no such instruction: `ar r3,r2'
/tmp/ccapWWcF.s:55: Error: no such instruction: `lr r0,r3'
/tmp/ccapWWcF.s:56: Error: no such instruction: `ar r0,r9'
/tmp/ccapWWcF.s:57: Error: no such instruction: `lr r15,r14'
/tmp/ccapWWcF.s:58: Error: no such instruction: `popm r14,r14'
/tmp/ccapWWcF.s:59: Error: no such instruction: `urs r15'
/tmp/ccapWWcF.s:62: Error: no such instruction: `end'
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/home/compile/gcc-3.1.1/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/compile/gcc-3.1.1/gcc'
make: *** [all-gcc] Error 2

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]