SilverThings / bulldog

Java GPIO Library for BeagleBoneBlack, Raspberry Pi and CubieBoard.
http://www.silverspoon.io
Apache License 2.0
49 stars 23 forks source link

Add profiles to be able to compile native code either by cross-compiler or local (on-board) compiler #20

Closed pmacik closed 9 years ago

pmacik commented 9 years ago

e.g. for CubieBoard: Crosscompiler:

arm-linux-gnu-gcc -std=gnu11 -O3 -fPIC -fgnu89-inline -mfloat-abi=hard -mlittle-endian -DARM -DARCH="ARM" -marm -mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=vfpv4-d16 -mfpu=neon-vfpv4 -funsafe-math-optimizations arm-linux-gnu-ld Local compiler: gcc -std=gnu11 -O3 -fPIC -mfloat-abi=hard -mlittle-endian -DARM -DARCH="ARM" -marm ld
sbunciak commented 9 years ago

Profile added in https://github.com/px3/bulldog/commit/4dd91d61936a431501e7e28fc0f1bdd1a477d003