Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jim Paradis <jrp@jrp.tiac.net>
Subject: Re: Compiling 64 bit code
Date: Fri, 13 Jun 1997 23:12:37 -0400	[thread overview]
Message-ID: <bd6f2f1cd7703a639b6276e921f58c12.axp-list@archive.invalid> (raw)

Ross A. Knepper wrote:
> 
> > > >   % gcc -Dint=long "-Dunsigned=unsigned long"
> 
> this would break unsigned char or unsigned short, however ...
> i dont know if a long char is even legal :)

*ulp*.  You're right.

You might be able to eliminate "-Dunsigned=unsigned long", but
then you'd miss those cases where someone uses "unsigned" as a
synonym for "unsigned int".  You *could* take your chances, or
you *could* say "-Dunsigned=blurfl" to point out all the places
in the code where "unsigned" is used.  Fix those to explicitly
say char/short/int/long, then recompile with just "-Dint=long"

-- 
Jim Paradis   jrp@jrp.tiac.net  
http://www.tiac.net/users/jrp/index.html
"It's not procrastination, it's my new Just-In-Time Workload Management
System!"

--
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-14  3:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-14  3:12 Jim Paradis [this message]
  -- strict thread matches above, loose matches on Subject: below --
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
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
     [not found] <33A0AFE4.3973144C@jrp.tiac.net>
1997-06-13  3:54 ` Michal Jaegermann
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