Shop OBEX P1 Docs P2 Docs Learn Events
SOLVED: Getting started with openspin — Parallax Forums

SOLVED: Getting started with openspin

prof_brainoprof_braino Posts: 4,313
edited 2015-11-11 02:56 in Propeller 1
So I downloaded the git repository, and have the openspin directory. Now what?

The readme.md says to use openspin.exe if we are on windows. but I'm on linux.

How do I get the Makefile to run? I made it executable with
chmod +x Makefile
but
./Makefile
gives error about ./Makefile: line 5: syntax error near unexpected token `$(CROSS),win32'

What do I do to get started?

Thanks!


Comments

  • If you prefer, you can simply download the latest binary from http://david.zemon.name:8111/repository/download/OpenSpin_LinuxX8664/lastSuccessful/openspin.tar.gz or straight from the "releases" section of the repo: https://github.com/parallaxinc/OpenSpin/releases

    To answer your question more directly, Makefiles aren't run via the shell - it's a different language. Instead of "./Makefile" try simply "make" which has an implied argument of "-f ./Makefile"
  • So I downloaded the git repository, and have the openspin directory. Now what?

    The readme.md says to use openspin.exe if we are on windows. but I'm on linux.

    How do I get the Makefile to run? I made it executable with
    chmod +x Makefile
    but
    ./Makefile
    gives error about ./Makefile: line 5: syntax error near unexpected token `$(CROSS),win32'

    What do I do to get started?

    Thanks!

    A Makefile is not directly executable. It is an input to the "make" program. Try just typing "make" in the openspin directory.

  • prof_brainoprof_braino Posts: 4,313
    edited 2015-11-11 02:56
    Make is a program, (installed by default on Linux), and uses the makefile as input.

    Aha! Silly me, I never realized make is a program. I thought is was a verb, and folks we talking about processing the makefile with whatever compiler, and I would have install something and/or do to some gcc command line with a zillion parameters. Good thing I asked!

    This worked, and got me rolling in 2 seconds. Thanks!
Sign In or Register to comment.