Skip to content

Commit

Permalink
ecl
Browse files Browse the repository at this point in the history
  • Loading branch information
its-pointless committed Dec 13, 2017
1 parent adfc9a7 commit b41c31e
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.txt
Expand Up @@ -14,6 +14,10 @@ or use https://its-pointless.github.io/setup-pointless-repo.sh
use the commands setupclang setupgcc-6 and setupgcc-7 to switch compilers
nothing complex just moving symlinks around

13/12/2017
added ecl rustc nightly for arm and aarch64.
added the cross_config stuff for ecl as well.

28/11/2017
added libgomp for gcc-7 in 7.2.0 and ndk 4.9.x flavours
Thanks to @arietal libcairo now works in R.
Expand Down
63 changes: 63 additions & 0 deletions ecl_stuff/cross_config
@@ -0,0 +1,63 @@
###
### YOU ARE TRYING TO CROSS COMPILE ECL.
### PLEASE FOLLOW THESE INSTRUCTIONS:
###
### 1) Vital information cannot be determined at configuration time
### because we are not able to run test programs. A file called
###
### has been created, that you will have to fill out. Please do
### it before invoking "configure" again.

### 1.1) Direction of growth of the stack
ECL_STACK_DIR=down

### 1.2) Choose an integer datatype which is large enough to host a pointer
CL_FIXNUM_TYPE="long int"
CL_FIXNUM_BITS=64
CL_FIXNUM_MAX="2305843009213693951L"
CL_FIXNUM_MIN="-2305843009213693952L"
CL_INT_BITS=32
CL_LONG_BITS=64

### 1.3) Order of bytes within a word
ECL_BIGENDIAN=no

### 1.4) What characters signal an end of line. May be LF (Linefeed or \n)
### CR (Carriage return or \r), and CRLF (CR followed by LF).
ECL_NEWLINE=LF

### 1.5) Can we guess how many characters are available for reading from
### the FILE structure?
### 0 = no
### 1 = (f)->_IO_read_end - (f)->_IO_read_ptr
### 2 = (f)->_r
### 3 = (f)->_cnt
ECL_FILE_CNT=2

###
### 1.6) Other integer types (set to 'no' to disable)
###
ECL_STDINT_HEADER="#include <stdint.h>"
ECL_UINT8_T=uint8_t
ECL_UINT16_T=uint16_t
ECL_UINT32_T=uint32_t
ECL_UINT64_T=uint64_t
ECL_INT8_T=int8_t
ECL_INT16_T=int16_t
ECL_INT32_T=int32_t
ECL_INT64_T=int64_t
ECL_LONG_LONG_BITS=64

###
### 1.7) Other features (set to 'no' to disable)
###
ECL_WORKING_ENVIRON=yes

### 2) To cross-compile ECL so that it runs on the system
### aarch64-unknown-linux-android
### you need to first compile ECL on the system in which you are building
### the cross-compiled files, that is
### x86_64-pc-linux-gnu
### By default we assume that ECL can be accessed from some directory in
### the path.
ECL_TO_RUN=/home/builder/.termux-build/_cache/ecl-16.1.3/bin/ecl
63 changes: 63 additions & 0 deletions ecl_stuff/cross_config32
@@ -0,0 +1,63 @@
###
### YOU ARE TRYING TO CROSS COMPILE ECL.
### PLEASE FOLLOW THESE INSTRUCTIONS:
###
### 1) Vital information cannot be determined at configuration time
### because we are not able to run test programs. A file called
###
### has been created, that you will have to fill out. Please do
### it before invoking "configure" again.

### 1.1) Direction of growth of the stack
ECL_STACK_DIR=down

### 1.2) Choose an integer datatype which is large enough to host a pointer
CL_FIXNUM_TYPE=int
CL_FIXNUM_BITS=32
CL_FIXNUM_MAX="536870911"
CL_FIXNUM_MIN="-536870912"
CL_INT_BITS=32
CL_LONG_BITS=32

### 1.3) Order of bytes within a word
ECL_BIGENDIAN=no

### 1.4) What characters signal an end of line. May be LF (Linefeed or \n)
### CR (Carriage return or \r), and CRLF (CR followed by LF).
ECL_NEWLINE=LF

### 1.5) Can we guess how many characters are available for reading from
### the FILE structure?
### 0 = no
### 1 = (f)->_IO_read_end - (f)->_IO_read_ptr
### 2 = (f)->_r
### 3 = (f)->_cnt
ECL_FILE_CNT=2

###
### 1.6) Other integer types (set to 'no' to disable)
###
ECL_STDINT_HEADER="#include <stdint.h>"
ECL_UINT8_T=uint8_t
ECL_UINT16_T=uint16_t
ECL_UINT32_T=uint32_t
ECL_UINT64_T=uint64_t
ECL_INT8_T=int8_t
ECL_INT16_T=int16_t
ECL_INT32_T=int32_t
ECL_INT64_T=int64_t
ECL_LONG_LONG_BITS=64

###
### 1.7) Other features (set to 'no' to disable)
###
ECL_WORKING_ENVIRON=yes

### 2) To cross-compile ECL so that it runs on the system
### aarch64-unknown-linux-android
### you need to first compile ECL on the system in which you are building
### the cross-compiled files, that is
### x86_64-pc-linux-gnu
### By default we assume that ECL can be accessed from some directory in
### the path.
ECL_TO_RUN=/home/builder/.termux-build/_cache/ecl-16.1.3/bin/ecl

0 comments on commit b41c31e

Please sign in to comment.