[Ecls-list] Building for solaris sparc

Raymond Toy toy.raymond at gmail.com
Tue Mar 4 12:49:39 UTC 2008


Juan Jose Garcia-Ripoll wrote:
> On Tue, Mar 4, 2008 at 3:01 AM, Raymond Toy <toy.raymond at gmail.com> wrote:
>   
>> I tried to build ecl 0.9j-p1 on sparc and ran into a couple of issues.
>>
>>  First, a simple configure with all defaults, using gcc, doesn't quite
>>  work.  This is because when gmp is configured it wants to build a 64-bit
>>  version of gmp but the rest of ecl is built assuming a 32-bit version.
>>  When everything is linked together, the linker fails since the object
>>  files are incompatible.
>>     
>
> Regarding the Solaris port, remeber this was the only major issue. The
> GMP library wants to build with a different word size than what the C
> compiler by default takes. It was for this reason that I introduced a
> compilation flag named "--enable-slow-conf" that first configures the
> GMP library and then configures ECL using the same flags. It should
> still work.
>
>   
Oh, I'm new to ecl and the mailing list, so I didn't know that.  I'll 
try that and let you know if it works.


>>  I also tried using the sun studio 11 compiler, but that doesn't work.
>>  Build errors.  If you're interested I can provide some more detail.
>>     
>
> Are they C compliance errors? If so, then I might want to have a look,
> because they might pop up in other platforms. If they are some linkage
> errors, I really would like to help, but I currently do not have a
> solaris machine to debug or even build ECL.
>
>   
I can't remember right now, but I will try again and let you know.  With 
your help, I'll try to get ecl to build  with sun studio 11, but it's 
not a big deal to me if sun studio can't be used.

Thanks,

Ray





More information about the ecl-devel mailing list