Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!pbinfo!fillg1 From: fillg1@uni-paderborn.de (Michael Illgner) Newsgroups: comp.sys.amiga.programmer Subject: Re: functions >32k using SAS-C ?? Message-ID: <1991Jan21.101655.6852@uni-paderborn.de> Date: 21 Jan 91 10:16:55 GMT References: <7027@crash.cts.com> Organization: Uni-GH Paderborn Lines: 35 lkoop@pnet01.cts.com (Lamonte Koop) writes: >fillg1@uni-paderborn.de (Michael Illgner) writes: >> >>Hi folks, >> >>Is there any possibility to compile a single function with code size >>greater than 32k using the SAS-C compiler ? >> >>Don't flame me for trying such strange things, the C source was generated >>by f2c, a common FORTRAN to C converter, and I >don't< want to understand >>and rewrite the original FORTRAN program. >> >>The compiler options -b? and -r? don't seem to work in this case. >>Any ideas or suggestions ? >The -b switch is definitely not going to work. That switches on base relative >data addressing. Using -r with no options defaults to 16-bit PC relative >target function addressing. Try the following options: -b0 -r0 >The zero after the option in each case implies 32-bit absolute addressing for >both data and function calls. ^^^^^^^^^^^^^^^ That is >not< the problem. I need 32-bit absolute addressing inside a function, eg. for loops and not for function calls. I believe that SAS does not support this. Michael Illgner fillg1@uni-paderborn.de Tel. Theodorstrasse 27 Warburgerstr. 100 Buero 05251/60-2331 4790 Paderborn Theoretische Physik Privat 05251/26488 Germany Buero : N3.323 -- Michael Illgner fillg1@uni-paderborn.de Tel. Theodorstrasse 27 Warburgerstr. 100 Buero 05251/60-2331 4790 Paderborn Theoretische Physik Privat 05251/26488 Germany Buero : N3.323