repo.or.cz
/
neatcc
/
cc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
extract architecture independent gen.c
[neatcc/cc.git]
/
neatcc
blob
1f838994bcae2d0550f828db908480bce163fd47
1
#!/bin/sh
2
NEAT
=
"/path/to/neatlibc"
3
CC
=
"/path/to/neatcc/ncc"
4
LD
=
"/path/to/neatld/nld"
5
6
CPPFLAGS
=
"-Dfloat=long -Ddouble=long -D__extension__="
7
8
for
x
in
$
*
9
do
10
if
[
"
$x
"
==
"-c"
]
11
then
12
exec
${CC} ${CPPFLAGS} -I${NEAT}
$
*
13
fi
14
done
15
16
exec
${LD} $* ${NEAT}/start.o ${NEAT}
/
libc.a