Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Stefan Kanthak <kanthak@Fluor.Informatik.RWTH-Aachen.DE>
Subject: Re: gcc/as problem
Date: Fri, 21 Jun 1996 11:47:04 -0600	[thread overview]
Message-ID: <9606211147.ZM21709@Fluor.Informatik.RWTH-Aachen.DE> (raw)
In-Reply-To: <m.schwingen@stochastik.rwth-aachen.de>

Hello Michael!

> I just tried to compile STonX 0.6.5 (a free Atari ST emulator). When
> compiling cpu.c, after a short time, a huge (24MB) 'as' is started,
> and after some time, this process does not seem to do anything.
When compiling uae (the unix amiga emulator) I had the same problem.
'as' seems to have problems with files that are longer than 64K lines!

> Is this 'normal' behaviour? Any way to get around this?
There does exist a simple solution to the problem:

1. Compile the file with gcc and all necessary options. Do only generate
   an assembler file, no object file!
2. Split the assembler file into pieces that have less than 64K lines each
   and send them through 'as'/'gas'.
3. Link all pieces one after each other.

That was the only possiblity to compile the large function pointer table of
the uae 68K emulator!

I hope this solution is applicable to STonX, too.

Bye,
Stephan

-- 

_______________________________________________________________________________

Stephan Kanthak
Department of Computer Science VI
Pattern- and Speech Recognition Research
RWTH Aachen, Germany                                              """""
e-mail: kanthak@i6.informatik.rwth-aachen.de                      |   |
http://www.informatik.rwth-aachen.de/I6/Colleagues/kanthak/        O -
______________________________________________________________.oO_| u |_Oo.____
                                                                   \_/

       reply	other threads:[~1996-06-21 17:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m.schwingen@stochastik.rwth-aachen.de>
1996-06-21 17:47 ` Stefan Kanthak [this message]
1996-06-21 14:29   ` gcc/as problem Richard Henderson
1996-08-08 23:16 ` Drivers for CD-R?? Eric Youngdale
1996-08-09 12:38   ` Michael Schwingen
     [not found] <199606221339.PAA07684@jupiter.stochastik.rwth-aachen.de>
1996-06-23 20:01 ` gcc/as problem Richard Henderson
1996-06-21  9:23 Michael Schwingen
1996-06-21 14:24 ` Richard Henderson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox