Created
January 5, 2016 10:01
-
-
Save aw/714d1840bbabb782ecb2 to your computer and use it in GitHub Desktop.
Compile 32-bit picolisp on ARM (RPi)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Makefile 2015-09-06 03:34:04.000000000 +0000 | |
+++ Makefile.old 2015-09-06 03:34:33.000000000 +0000 | |
@@ -19,10 +19,10 @@ CFLAGS = -c -O2 -pipe \ | |
ifeq ($(shell uname), Linux) | |
OS = Linux | |
- CFLAGS += -m32 | |
- PICOLISP-FLAGS = -m32 -rdynamic | |
+ #CFLAGS += -m32 | |
+ PICOLISP-FLAGS = -rdynamic | |
LIB-FLAGS = -lm -ldl | |
- DYNAMIC-LIB-FLAGS = -m32 -shared -export-dynamic | |
+ DYNAMIC-LIB-FLAGS = -shared -export-dynamic | |
LCRYPT = -lcrypt | |
STRIP = strip | |
else |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To apply the patch, save the file to the
picoLisp/src/
directory, then: