[Vm-dev] Compiling squeak.cog.spur on Pi
Phil (list)
pbpublist at gmail.com
Fri Jun 24 02:19:23 UTC 2016
On Thu, 2016-06-23 at 21:49 -0400, David T. Lewis wrote:
>
> I have a new Raspberry Pi and want to compile the Cog Spur VM.
>
> I fetched the latest from SVN (never mind GitHub for now, I'll do
> that soon):
>
> $ svn co http://squeakvm.org/svn/squeak/branches/Cog
>
> Then I do a build:
>
> pi at raspberrypi:~/squeak/SVN-
> Cog/Cog/build.linux32ARM/squeak.cog.spur/build $ ./mvm
> clean?
> /home/pi/squeak/SVN-Cog/Cog/spursrc
> /home/pi/squeak/SVN-Cog/Cog/src/plugins
> checking sanity of generated src directory... okay
> checking build system type... armv7l-unknown-linux-gnu
> checking host system type... armv7l-unknown-linux-gnu
>
> Configuring Squeak (.-) for armv7l-linux-gnu
>
> checking whether make sets $(MAKE)... yes
> checking for gcc... gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard
> checking for C compiler default output file name... configure:
> error: C compiler cannot create executables
> See `config.log' for more details.
> make: *** No rule to make target 'install-squeak'. Stop.
>
> Does anyone recognize this?
Yes, I ran into it as well... the build is hard-coded to build for the
ARMv6 of the original Pi. Remove the line with the compiler flags "-
march=armv6 -mfpu=vfp -mfloat-abi=hard" in mvm. That fixed the issue
for me for ARMv7 builds.
More information about the Vm-dev
mailing list