[plt-scheme] Problems compiling mzscheme 4.2.4.2 on Solaris i386

From: Johan Coppieters (johan577 at mac.com)
Date: Thu Mar 4 09:01:56 EST 2010

Thanks Noel,

You were pretty close and gave me a correct clue!

The problem is not really the gcc 3.4.6 compiler itself, but the libffi that comes from the gcc 3.x versions.
libffi is copied and modified within the mz-scheme source directory, however it has never been updated a more current gcc 4.x version.

patching 3 files does the job. (see another post in this thread).

Johan  




On 02 Mar 2010, at 11:05, Noel Welsh wrote:

> On Mon, Mar 1, 2010 at 3:02 PM, Johan Coppieters <johan577 at mac.com> wrote:
>> I first build mzscheme from source on mac os x 10.6.2, everything went fine, I developed a web application.
>> Now I want to run this in production on a Sun x2200 running Solaris 5.10, using gcc 3.4.6, so I fetched the latest tarball and tried to compile mzscheme on this machine, but no luck...
> 
> GCC 3.4.6 is ancient; about 6 years old.
> 
>> Anyone encountered this problem?
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26048
> 
> Bug was fixed about 2 years ago.
> 
> (Google is your friend.)
> 
> N.



Posted on the users mailing list.