[#41] Fix segfault for eC
This commit is contained in:
parent
ed6e11c918
commit
681ed30bcf
|
@ -29,6 +29,31 @@ install:
|
||||||
- libjpeg-turbo8
|
- libjpeg-turbo8
|
||||||
- libpng16-16
|
- libpng16-16
|
||||||
- libxrender1
|
- libxrender1
|
||||||
|
files:
|
||||||
|
"/opt/ec/skel/main.epj": |
|
||||||
|
{
|
||||||
|
"Version": 0.2,
|
||||||
|
"ModuleName": "main",
|
||||||
|
"Options": {
|
||||||
|
"Warnings": "All",
|
||||||
|
"TargetType": "Executable",
|
||||||
|
"TargetFileName": "main",
|
||||||
|
"Libraries": ["ecere"]
|
||||||
|
},
|
||||||
|
"Configurations": [
|
||||||
|
{
|
||||||
|
"Name": "Release",
|
||||||
|
"Options": {
|
||||||
|
"Debug": false,
|
||||||
|
"Optimization": "Speed",
|
||||||
|
"FastMath": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Files": ["main.ec"],
|
||||||
|
"ResourcesPath": "",
|
||||||
|
"Resources": []
|
||||||
|
}
|
||||||
# Release 0.44.15 failed to compile with "multiple definition"
|
# Release 0.44.15 failed to compile with "multiple definition"
|
||||||
# errors from ld, so use the master branch instead.
|
# errors from ld, so use the master branch instead.
|
||||||
manual: |
|
manual: |
|
||||||
|
@ -48,14 +73,11 @@ template: |
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setup: |
|
||||||
|
cp -R /opt/ec/skel/* "$PWD/"
|
||||||
|
epj2make -o Makefile main.epj >/dev/null
|
||||||
|
|
||||||
compile: |
|
compile: |
|
||||||
export LD_LIBRARY_PATH=/usr/local/lib/ec
|
make 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
|
|
||||||
run: |
|
run: |
|
||||||
./main
|
./obj/release.linux/main
|
||||||
helloStatus: 139
|
|
||||||
|
|
Loading…
Reference in New Issue