[Vm-dev] Compiling squeak.cog.spur on Pi

Eliot Miranda eliot.miranda at gmail.com
Fri Jun 24 16:40:56 UTC 2016


David,

    have you read build.linux32ARM/HowToBuild and made sure you've installed the necessary support packages?

_,,,^..^,,,_ (phone)

> On Jun 23, 2016, at 6:49 PM, David T. Lewis <lewis at mail.msen.com> 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?
> 
> Googling for "compiler cannot create executables" provides lots of random
> advice, but I don't see a file permissions problem and most of the rest
> of the advice looks questionable.
> 
> The config.log has this (possibly unrelated):
> 
>  gcc: error: unrecognized command line option '-V'
>  gcc: fatal error: no input files
>  compilation terminated.
> 
> That looks like the same gcc version issue I had with building Spur on
> my Ubuntu laptop. I had thought it might be easier to just buy a $35
> Raspberry Pi rather than fix the autotools configure, but maybe not.
> 
> Are other people seeing these issues, or is it just me?
> 
> Compiling and running an interpreter VM on the same Raspberry Pi works
> fine, so I am assuming this is either an autotools issue or something
> related to gcc version for the cog/spur build.
> 
> I am attaching the config.log from the ./mvm session in case it helps.
> 
> Raspberry Pi OS version information:
> 
>  pi at raspberrypi:~/squeak/SVN-Cog/Cog/build.linux32ARM/squeak.cog.spur/build $ cat /proc/version
>  Linux version 4.1.19-v7+ (dc4 at dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #858 SMP Tue Mar 15 15:56:00 GMT 2016
> 
> Thanks,
> Dave
> 
> <config.log>


More information about the Vm-dev mailing list