Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: acher@informatik.tu-muenchen.de (Georg Acher)
Subject: Re: gcc/egcs flags to turn off 64bit code generation?
Date: 1999/01/14	[thread overview]
Message-ID: <77lje4$4ek$1@sunsystem5.informatik.tu-muenchen.de> (raw)
In-Reply-To: 3H1n2.562$B21.116@news.rdc1.nj.home.com


In article <3H1n2.562$B21.116@news.rdc1.nj.home.com>, "Sanjay Lal" <sanjayl@home.com> writes:
|> I have several large pieces of code that are not 64 bit clean.
|> Unfortunately, I do not have
|> 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?

Depending on the portability problems, some adaptions can be made very quickly:
If there are any long-declarations in the source, you should change them to int,
that fixes most inter-architecture-communication problems. If there are
data structures for callbacks/function pointers and they are declared as
an int, you can change them to long (64bit). I've managed to port some bigger
programs (eg. gimp<0.99.12) with these simple rules and some manual work...

-- 
	Bye
         Georg Acher, acher@in.tum.de         
         http://www.in.tum.de/~acher/
          "Oh no, not again !" The bowl of petunias          



      parent reply	other threads:[~1999-01-14  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 ` Serguei Patchkovskii
1999-01-17  5:00   ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1999-01-13  5:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1999-01-14  5:00 ` Georg Acher [this message]
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