Resin Changes To Support Raspberry Pi
From Resin 4.0 Wiki
(Difference between revisions)
Line 8: | Line 8: | ||
* What can be removed from Resin OS to make it smaller? | * What can be removed from Resin OS to make it smaller? | ||
* Compiler doesn't like -m32 | * Compiler doesn't like -m32 | ||
+ | |||
gcc -g -O2 -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -pthread -fPIC -fno-omit-frame-pointer -O2 -DHAS_SOCK_TIMEOUT -DHAS_SENDFILE -DHAS_SPLICE -DPOLL -DHAS_JVMTI -fPIC -m32 -DRESIN_HOME=\"/usr/local/share/resin-4.0.32\" -I/usr/include -I/usr/lib/jvm/java-7-openjdk-armel/jre/bin/../../include - I../common -DCPU=\"armv6l\" -DOS= -c -o boot.o boot.c | gcc -g -O2 -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -pthread -fPIC -fno-omit-frame-pointer -O2 -DHAS_SOCK_TIMEOUT -DHAS_SENDFILE -DHAS_SPLICE -DPOLL -DHAS_JVMTI -fPIC -m32 -DRESIN_HOME=\"/usr/local/share/resin-4.0.32\" -I/usr/include -I/usr/lib/jvm/java-7-openjdk-armel/jre/bin/../../include - I../common -DCPU=\"armv6l\" -DOS= -c -o boot.o boot.c | ||
− | cc1: error: unrecognized command line option | + | cc1: error: unrecognized command line option -m32 |
Revision as of 00:00, 21 December 2012
- Reduce disk access on startup
- Reduce classpath scanning
- Do not default to passing -server JVM flag
- Startup from a single jar file
- Reduce size of distribution (single jar)
- What can be removed from Resin OS to make it smaller?
- Compiler doesn't like -m32
gcc -g -O2 -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -pthread -fPIC -fno-omit-frame-pointer -O2 -DHAS_SOCK_TIMEOUT -DHAS_SENDFILE -DHAS_SPLICE -DPOLL -DHAS_JVMTI -fPIC -m32 -DRESIN_HOME=\"/usr/local/share/resin-4.0.32\" -I/usr/include -I/usr/lib/jvm/java-7-openjdk-armel/jre/bin/../../include - I../common -DCPU=\"armv6l\" -DOS= -c -o boot.o boot.c cc1: error: unrecognized command line option -m32