Make eC work
This commit is contained in:
parent
4e032aaecb
commit
ccc39b9c8f
|
@ -7,11 +7,35 @@ aliases:
|
||||||
name: "eC"
|
name: "eC"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
prepare:
|
||||||
|
apt:
|
||||||
|
- libasound2-dev
|
||||||
|
- libcurl4-openssl-dev
|
||||||
|
- libfontconfig1-dev
|
||||||
|
- libgif-dev
|
||||||
|
- libgl-dev
|
||||||
|
- libglx-dev
|
||||||
|
- libjpeg-dev
|
||||||
|
- libpng-dev
|
||||||
|
- libsqlite3-dev
|
||||||
|
- libssl-dev
|
||||||
|
- libxext-dev
|
||||||
|
- libxrender-dev
|
||||||
|
apt:
|
||||||
|
- libfontconfig1
|
||||||
|
- libfreetype6
|
||||||
|
- libgif7
|
||||||
|
- libgl1
|
||||||
|
- libjpeg-turbo8
|
||||||
|
- libpng16-16
|
||||||
|
- libxrender1
|
||||||
|
# Release 0.44.15 failed to compile with "multiple definition"
|
||||||
|
# errors from ld, so use the master branch instead.
|
||||||
manual: |
|
manual: |
|
||||||
ver="$(latest_release ecere/ecere-sdk)"
|
git clone https://github.com/ecere/ecere-sdk.git
|
||||||
git clone https://github.com/ecere/ecere-sdk.git -b "${ver}"
|
|
||||||
pushd ecere-sdk
|
pushd ecere-sdk
|
||||||
make
|
make
|
||||||
|
make install prefix="${pkg}/usr/local"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
main: "main.ec"
|
main: "main.ec"
|
||||||
|
@ -25,6 +49,7 @@ template: |
|
||||||
}
|
}
|
||||||
|
|
||||||
compile: |
|
compile: |
|
||||||
|
export LD_LIBRARY_PATH=/usr/local/lib/ec
|
||||||
ecp -c main.ec -o main.sym && ecc -c main.ec -o main.c && ecs -console main.sym main.imp -o main.main.ec && ecp -c main.main.ec -o main.main.sym && ecc -c main.main.ec -o main.main.c && clang main.c main.main.c -lecereCOM -o main
|
ecp -c main.ec -o main.sym && ecc -c main.ec -o main.c && ecs -console main.sym main.imp -o main.main.ec && ecp -c main.main.ec -o main.main.sym && ecc -c main.main.ec -o main.main.c && clang main.c main.main.c -lecereCOM -o main
|
||||||
run: |
|
run: |
|
||||||
./main
|
./main
|
||||||
|
|
Loading…
Reference in New Issue