Article View: gnu.gcc.help
Article #52266Cross compiler/assembler problem sparc->386/SCO
From: Scott A. Bendar
Date: Mon, 07 Dec 1992 15:37
Date: Mon, 07 Dec 1992 15:37
41 lines
1595 bytes
1595 bytes
[I don't my first attempt made off site, if it did forgive the multiple post...] I'm trying to build a cross compiler using gcc 2.3.2. I am going from a sparc running SunOS 4.1.1 to a 486 running SCO UNIX Version 3.2.4. I confirgured gcc with --with-gnu-as --with-gnu-ld and with --host=sparc-sun-sunos4.1 --target=i386-att-sco3.2v4 The problem occurs when gas trys to assemble cross-test.c. There are two .bss references in the assembly language and when the assembler see's them it gives the error: cross-test.c:361:Unknown pseudo-op: '.bss' I'm using gas-1.38 compiled on the sparc as a386. Did I set something up wrong? Any help would be appreciated. Thanks, Scott Bendar Electronic Data Systems (214) 661-6247 sab@edsr.eds.com Here is an excerpt of the assembly cross-test.s file, it burps on the .bss: table.8: .long 20 .long 69 .long 4 .long 202 .bss .align 4 idx.9: .set .,.+4 .text .align 4 .globl foo
Technical Details
Message-ID:
<1992Dec7.153757.23348@edsr.eds.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!emory!ogicse!mimbres.cs.unm.edu!unmvax!bbx!tantalum!sabShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,1ad8770e43c0bea6,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-12-07 17:19:36 PST Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!emory!ogicse!mimbres.cs.unm.edu!unmvax!bbx!tantalum!sab From: sab@edsr.eds.com (Scott A. Bendar) Newsgroups: gnu.gcc.help Subject: Cross compiler/assembler problem sparc->386/SCO Message-ID: <1992Dec7.153757.23348@edsr.eds.com> Date: 7 Dec 92 15:37:57 GMT Article-I.D.: edsr.1992Dec7.153757.23348 Sender: usenet@edsr.eds.com Organization: EDS Research, Albuquerque, NM Lines: 41 Originator: sab@tantalum