Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: gcc/egcs flags to turn off 64bit code generation?
Date: 1999/01/13	[thread overview]
Message-ID: <77inca$52i4@ds2.acs.ucalgary.ca> (raw)
In-Reply-To: 3H1n2.562$B21.116@news.rdc1.nj.home.com

Sanjay Lal (sanjayl@home.com) wrote:
: the time to do a proper port.  I was wondering if gcc or egcs supported a 32
: bit mode similar to Digital's C/C++ compilers?

The -taso mode supported by Digital C is not really a 32-bit mode. The
only thing it does is to force all your code and data segments (including
anything coming from shared libs) to be located in the lower 31 bits of
the address space, which hides pointer truncation errors upon conversion
to an integer. Apart from this, it is identical to the regular 64-bit
compilation. At least for statically linked executables, you should be
able to achieve a similar effect using appropriately small settings for 
-T{bss|data|text} ld options.

/Serge.P



  parent reply	other threads:[~1999-01-13  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-13  5:00 gcc/egcs flags to turn off 64bit code generation? Sanjay Lal
1999-01-13  5:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1999-01-13  5:00 ` Serguei Patchkovskii [this message]
1999-01-17  5:00   ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1999-01-14  5:00 ` Georg Acher
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