1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 16:07:46 +00:00

Ports: Add a TinyCC port

It does build, but doesn't quite work yet.
This commit is contained in:
Sergey Bugaev 2019-10-02 22:50:20 +03:00 committed by Andreas Kling
parent 89bf38864a
commit ad51a70c54
3 changed files with 36 additions and 0 deletions

14
Ports/tinycc/package.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash ../.port_include.sh
port=tinycc
workdir=tinycc-dev
version=dev
curlopts="-L"
files="https://github.com/TinyCC/tinycc/archive/dev.tar.gz tinycc-dev.tar.gz"
useconfigure=true
makeopts=tcc
configure() {
run ./configure --cross-prefix=i686-pc-serenity- --cpu=i686 --triplet=i686-pc-serenity --crtprefix=/usr/lib
}
export CONFIG_ldl=no