Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Subject: Re: Compiling 64 bit code
Date: Thu, 12 Jun 1997 21:54:18 -0600 (MDT)	[thread overview]
Message-ID: <199706130354.VAA04973@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <33A0AFE4.3973144C@jrp.tiac.net>

Jim Paradis wrote:
> Kelvin Lunsford wrote:
> > 
> > Does anybody out there know of a C compiler (DEC/GCC/NT) for the 
> > Alpha processor which will let you set the default int size to 64
> > bits.  This is for an embedded application, the resulting binaries
> > would not be running under an operating system.
> 
> How about:
> 
> 	% gcc -Dint=long "-Dunsigned=unsigned long"

This would convert 'unsigned int' into 'unsigned long long'
(or we would recurse on unsigned?  but this is easily avoidable)
not something you likely would want to see.  You can probably
control a code you write to avoid such surprises but headers
will be a fun.

Also all libraries would have to be likely recompiled from
scratch or every second function call would be a challenge. :-)

  Michal

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1997-06-13  3:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <33A0AFE4.3973144C@jrp.tiac.net>
1997-06-13  3:54 ` Michal Jaegermann [this message]
1997-06-16  4:23 Compiling 64 bit code Jim Paradis
     [not found] <01BC77F9.83016500@pengwin.qantel.com>
1997-06-15 23:48 ` Thomas Pornin
  -- strict thread matches above, loose matches on Subject: below --
1997-06-14  3:12 Jim Paradis
1997-06-14  2:51 Jim Paradis
     [not found] <9706131527.AA17307@cadosf.hlo.dec.com>
1997-06-13 21:14 ` Ross A. Knepper
1997-06-13 19:58 Kelvin Lunsford
1997-06-13  2:26 Jim Paradis
1997-06-12 21:06 Kelvin Lunsford
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