🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52503

Compiling gcc-2.1 on ICL DRS6000 running NX 4.04

#52503
From: Fong Khai Yin
Date: Fri, 10 Jul 1992 14:48
41 lines
1838 bytes
Newsgroups: gcc.gnu.help
Subject: Compiling gcc for ICL DRS6000 NX4.04
Summary: 
Followup-To: 
Distribution: 
Organization: Singapore Computer Systems Ltd
Keywords: 

I am trying very hard to get gcc-2.1 working on the ICL DRS6000

I configured to to be --target=sparc-sysv4

The problem seems to be gcc is generating "wrong" assembly code
for the native assembler. Examples are given below:

gcc		what I think the native assembler expects
===		===========================================
.text   	.section ".text"
.data		.section ".data"
.string		.ascii
.rodata		.section ".rodata"
.init		.section ".init"
.ctors		.section ".ctors"
.dtors		.section ".dtors"

.bss		???????(Beats me)


The problem is compounded by the fact that I do not have 
any assembly language  guide for the ICL machine.
I tried to fixed the source , but after the fixed the
compiler just dumos core on the simplest program
and using sdb shows that it dumps core in __do_global_ctors.


So next I tried using gas as the assembler but I encountered
2 other directives generated by gcc which is not recognised by gas.
They are .size and .type.

Any help is greatly appreciated and I need to get this done fast.
Thanks a million in advance!!
Technical Details
Message-ID: <1992Jul10.144852.27994@nuscc.nus.sg>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!nuscc!solomon.technet.sg!scstech

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,30d42348517ba978,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-07-10 02:01:24 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!nuscc!solomon.technet.sg!scstech
From: scstech@solomon.technet.sg (Fong Khai Yin)
Subject: Compiling gcc-2.1 on ICL DRS6000 running NX 4.04
Message-ID: <1992Jul10.144852.27994@nuscc.nus.sg>
Sender: usenet@nuscc.nus.sg
Organization: Singapore Computer Systems Ltd
Date: Fri, 10 Jul 1992 14:48:52 GMT
Lines: 43