[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] [] Compiling on Solaris 10

From: John Cowan
Subject: Re: [Chicken-users] [] Compiling on Solaris 10
Date: Wed, 9 Nov 2011 10:36:37 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

Nicolas Pelletier scripsit:

> As it turns out, there is a apply-hack.sparc64.S... but nothing for
> the other. I am not familiar with the sparc architecture, so I am
> looking for advice on what to do. Also please tell me if you need more
> information.

Currently, sparc is not a supported CPU.  The first thing is to add it
to the list of known CPU architectures.  Add the line

        sparc) echo "sparc";;

to just before the corresponding sparc64 line.  The Right
Thing is to find (or become) someone who knows enough sparc32 assembly
language to write apply-hack.sparc.S.  Failing that, here are a few
hacky things to try:

1) Try copying apply-hack.sparc64.S to apply-hack.sparc.S and hope
it works.  If it does build, be sure to run the tests.

2) If that fails, try disabling APPLY_HACK by adding the following patch
to Makefile.solaris after the comment line "# options":

ifeq ($(ARCH),sparc)

As far as I know, nobody has tried to build Chicken without an apply-hack
in a long time.

Let us know what happens in any event.

How comes city and country to be filled with drones         John Cowan
and rogues, our highways with hackers, and all          address@hidden
places with sloth and wickedness? 
                --W. Blith, Eng. Improver Improved, 1652

reply via email to

[Prev in Thread] Current Thread [Next in Thread]