[plt-scheme] Building SGL & SSL on x86_64

From: Anton van Straaten (anton at appsolutions.com)
Date: Fri Apr 15 17:01:51 EDT 2005

Matthew Flatt wrote:
> At Thu, 14 Apr 2005 19:46:53 -0400, Anton van Straaten wrote:
> 
>>Could it be as simple as needing mzdyn to be compiled with -fPIC?
> 
> 
> Yes, probably so. I see why that's needed in principle, and I'll track
> down the right thing to add to the configure script.
> 
> You didn't use --enable-shared when configuring, right? If you have
> cycles to spare, maybe you can check whether an --enable-shared build
> works.

Configuring with --enable-shared gave the following near the end of the 
output from configure:

checking host system type... Invalid configuration 
`x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

This message doesn't appear when configuring without --enable-shared.

I tried building again anyway, after doing a 'make clean', but I still 
had the same problem with SGL & SSL.  Not sure if that was because it 
actually built using the old configuration.

With or without --enable-shared, the following appears earlier in the 
output from configure:

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu

Some googling indicates that "x86_64-unknown-linux-gnu" is the correct 
string for this architecture.

Again, this isn't important to me right now, but I'm happy to try to 
track stuff down if it's helpful.

Anton



Posted on the users mailing list.