[Ecls-list] Building for solaris sparc
Juan Jose Garcia-Ripoll
jjgarcia at users.sourceforge.net
Tue Mar 4 08:50:30 UTC 2008
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
> My solution was to add CC=gcc CFLAGS=-m64 and LDFLAGS=-m64 to the
> configure command line. This works. Until sockets.lisp is built. A
> patch is enclosed that allows sockets.lisp to be built, but I didn't try
> anything to see if the result actually works or not.
Thanks, I will commit that patch.
> 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.
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
More information about the ecl-devel