Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: steube@elroy.sdsc.edu (Ken Steube)
Subject: Re: Porting 32-bit programs, using gcc
Date: 13 Apr 1994 15:20:45 GMT	[thread overview]
Message-ID: <2oh2ke$g1l@pravda.sdsc.edu> (raw)
In-Reply-To: Co218q.3y6@mv.mv.com

>In article <2nuhns$qb2@senator-bedfellow.MIT.EDU>, tuyo@mumford (Mike M. Tuyo) writes:
>|> I'm trying to port a *huge* program written for a 32-bit machine
>|> to the alpha, and my resident compiler is gcc (2.5.7).  It seems
>|> to have quite a bit of problems with the longs being 8-bytes wide.
>|> 
>|> Can someone tell my what options to give gcc so it makes longs 4-bytes
>|> wide instead of 8?
>|> 
>|> Thank you
>|> -mike tuyo.

If you can use the native compiler, try the -taso option to cc and ld.
It stands for Truncated Address Support Option, and it makes the code
run using 32 bit addresses. I believe longs are still 8 bytes, but addresses
only use the first 4 bytes.

You have to have chosen to install it on your system since it's not
installed automatically.  I haven't tried it on my system since we
didn't install it, but I hear it works OK.

Ken


  reply	other threads:[~1994-04-13 15:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-04-06 14:42 Porting 32-bit programs, using gcc Mike M. Tuyo
1994-04-10 17:43 ` Dave Cherkus
1994-04-13 15:20   ` Ken Steube [this message]
1994-04-14  6:56     ` Burkhard Neidecker-Lutz
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