Article View: gnu.gcc.help
Article #51040GCC 2.4.3.1 cross M68000N
From: Gaurang Hirpara
Date: Wed, 23 Jun 1993 17:48
Date: Wed, 23 Jun 1993 17:48
22 lines
1811 bytes
1811 bytes
HI, I'm attempting a rather bizzare gcc cross compilation. It's from an Indigo (config = mips-sgi-irix4) to a 68000 platform (There is no specific platform, I just need the objects to be m68k-aout format). I used m68k-motorola-sysv and mips-sgi-irix4 configurations on gcc2.4.3.1 and gas-2.1.1 (gas being the generic assembler I used for the cross). Now my problem is that the cross assembler gas can't assemble code produced during the compilation of gcc. That is, I followed instructions for compiling gcc and came to the point where I need to build the arithmetic functions for libgcc1.a At this point, I did as the INSTALL notes suggested and did a make with OLDCC="./xgcc" and LIBGCC1="libgcc1.a" -- the mips assembler not surprisingly couldn't assemble the pseudo-m68 assembly produced by xgcc. However, neither could the gas cross assembler. I used the same configs on both gcc and gas, but the two can't seem to talk to one another. Specifically, xgcc produces assembly output with & characters, operands reversed, and pseudo ops which the cross assembler doesn't recognize. I can go through by hand and eliminate these problems, but I was wondering if this was normal or not. Is there a way to get around this problem? --dan
Technical Details
Message-ID:
<1993Jun23.174832.19156@gordian.com>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!news.service.uci.edu!gordius!gordius!danhShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f94cd1dfb6b93ca3,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-06-23 11:06:23 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!news.service.uci.edu!gordius!gordius!danh From: danh@gordian.com (Gaurang Hirpara) Subject: GCC 2.4.3.1 cross M68000N Message-ID: <1993Jun23.174832.19156@gordian.com> Sender: news@gordian.com Organization: Gordian; Costa Mesa, CA Date: Wed, 23 Jun 1993 17:48:32 GMT Lines: 22