Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agbcp is cplusplus #12

Open
wants to merge 6 commits into
base: staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

rsync -u c.local.properties compiler-explorer/etc/config/
cp c.local.properties c++.local.properties compiler-explorer/etc/config/
docker build -t karathan/cexplore:latest .
2 changes: 1 addition & 1 deletion build_staging.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

rsync -u c.local.properties compiler-explorer/etc/config/
cp c.local.properties c++.local.properties compiler-explorer/etc/config/
docker build -t karathan/cexplore:staging .
24 changes: 24 additions & 0 deletions c++.local.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
supportsBinary=false
binaryHideFuncRe=^(__.*|_(init|start|fini)|(de)?register_tm_clones|call_gmon_start|frame_dummy|\.plt.*)$

compilers=&agbcp

demangler=arm-none-eabi-c++filt
objdumper=arm-none-eabi-objdump

group.agbcp.compilers=mother3_agbcp
group.agbcp.groupName=AGBCP
group.agbcp.isSemVer=true
group.agbcp.compilerType=gcc
group.agbcp.exe=/frontends/pycc.py


compiler.mother3_agbcp.name=mother3_agbcp
compiler.mother3_agbcp.options=--cc1 /agbcc_build/tools/agbcc/bin/agbcp --binclude /agbcc_build/tools/agbcc/include --binclude /agbcc_build/tools/agbcc/include --qinclude /pretrepos/mother3/include --preproc /pretrepos/mother3/tools/preproc/preproc
compiler.mother3_agbcp.versionFlag=--version=/pretrepos/mother3

defaultCompiler=mother3_agbcp

postProcess=
stubRe=\bmain\b
stubText=int main(){return 0;/*stub provided by Compiler Explorer*/}
15 changes: 5 additions & 10 deletions c.local.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Default settings for C
supportsBinary=false
binaryHideFuncRe=^(__.*|_(init|start|fini)|(de)?register_tm_clones|call_gmon_start|frame_dummy|\.plt.*)$

Expand All @@ -11,7 +10,7 @@ group.cat.versionFlag=--version
group.cat.compilerType=gcc
group.cat.exe=/frontends/pycat.py

group.agbcc.compilers=emerald_agbcc:emerald_old_agbcc:ruby_agbcc:ruby_old_agbcc:firered_agbcc:firered_old_agbcc:emerald_agbcc_arm:ruby_agbcc_arm:firered_agbcc_arm:emerald_new_agbcc:mother3_agbcp:pmd-red_agbcc:pmd-red_old_agbcc
group.agbcc.compilers=emerald_agbcc:emerald_old_agbcc:ruby_agbcc:ruby_old_agbcc:firered_agbcc:firered_old_agbcc:emerald_agbcc_arm:ruby_agbcc_arm:firered_agbcc_arm:emerald_new_agbcc:pmd-red_agbcc:pmd-red_old_agbcc
group.agbcc.groupName=AGBCC
group.agbcc.isSemVer=true
group.agbcc.compilerType=gcc
Expand Down Expand Up @@ -67,24 +66,20 @@ compiler.emerald_new_agbcc.name=emerald_new_agbcc
compiler.emerald_new_agbcc.options=--cc1 /agbcc_build/tools/agbcc/bin/new_agbcc --binclude /agbcc_build/tools/agbcc/include --qinclude /pretrepos/pokeemerald/gflib --qinclude /pretrepos/pokeemerald/include --preproc /pretrepos/pokeemerald/tools/preproc/preproc --charmap /pretrepos/pokeemerald/charmap.txt
compiler.emerald_new_agbcc.versionFlag=--version=/pretrepos/pokeemerald

compiler.mother3_agbcp.name=mother3_agbcp
compiler.mother3_agbcp.options=--cc1 /agbcc_build/tools/agbcc/bin/agbcp --binclude /agbcc_build/tools/agbcc/include --binclude /agbcc_build/tools/agbcc/include --qinclude /pretrepos/mother3/include --preproc /pretrepos/mother3/tools/preproc/preproc
compiler.mother3_agbcp.versionFlag=--version=/pretrepos/mother3

compiler.pmd-red_agbcc.name=pmd-red_agbcc
compiler.pmd-red_agbcc.options=--cc1 /agbcc_build/tools/agbcc/bin/agbcc --binclude /agbcc_tools/agbcc/include --qinclude /pretrepos/pmd-red/include --preproc /pretrepos/pmd-red/tools/preproc/preproc --charmap /pretrepos/pmd-red/charmap.txt
compiler.pmd-red_agbcc.options=--cc1 /agbcc_build/tools/agbcc/bin/agbcc --binclude /agbcc_build/tools/agbcc/include --qinclude /pretrepos/pmd-red/include --preproc /pretrepos/pmd-red/tools/preproc/preproc --charmap /pretrepos/pmd-red/charmap.txt
compiler.pmd-red_agbcc.versionFlag=--version=/pretrepos/pmd-red

compiler.pmd-red_old_agbcc.name=pmd-red_old_agbcc
compiler.pmd-red_old_agbcc.options=--cc1 /agbcc_build/tools/agbcc/bin/old_agbcc --binclude /agbcc_tools/agbcc/include --qinclude /pretrepos/pmd-red/include --preproc /pretrepos/pmd-red/tools/preproc/preproc --charmap /pretrepos/pmd-red/charmap.txt
compiler.pmd-red_old_agbcc.options=--cc1 /agbcc_build/tools/agbcc/bin/old_agbcc --binclude /agbcc_build/tools/agbcc/include --qinclude /pretrepos/pmd-red/include --preproc /pretrepos/pmd-red/tools/preproc/preproc --charmap /pretrepos/pmd-red/charmap.txt
compiler.pmd-red_old_agbcc.versionFlag=--version=/pretrepos/pmd-red

compiler.pmd-red_agbcc_arm.name=pmd-red_agbcc_arm
compiler.pmd-red_agbcc_arm.options=--cc1 /agbcc_build/tools/agbcc/bin/agbcc_arm --binclude /agbcc_tools/agbcc/include --qinclude /pretrepos/pmd-red/include --preproc /pretrepos/pmd-red/tools/preproc/preproc --charmap /pretrepos/pmd-red/charmap.txt
compiler.pmd-red_agbcc_arm.options=--cc1 /agbcc_build/tools/agbcc/bin/agbcc_arm --binclude /agbcc_build/tools/agbcc/include --qinclude /pretrepos/pmd-red/include --preproc /pretrepos/pmd-red/tools/preproc/preproc --charmap /pretrepos/pmd-red/charmap.txt
compiler.pmd-red_agbcc_arm.versionFlag=--version=/pretrepos/pmd-red

compiler.pmd-red_new_agbcc.name=pmd-red_new_agbcc
compiler.pmd-red_new_agbcc.options=--cc1 /agbcc_build/tools/agbcc/bin/new_agbcc --binclude /agbcc_tools/agbcc/include --qinclude /pretrepos/pmd-red/include --preproc /pretrepos/pmd-red/tools/preproc/preproc --charmap /pretrepos/pmd-red/charmap.txt
compiler.pmd-red_new_agbcc.options=--cc1 /agbcc_build/tools/agbcc/bin/new_agbcc --binclude /agbcc_build/tools/agbcc/include --qinclude /pretrepos/pmd-red/include --preproc /pretrepos/pmd-red/tools/preproc/preproc --charmap /pretrepos/pmd-red/charmap.txt
compiler.pmd-red_new_agbcc.versionFlag=--version=/pretrepos/pmd-red

compiler.pycat.name=cat
Expand Down