Compare commits

..

1 Commits

Author SHA1 Message Date
Minero Aoki 28db218d8c version 1.0.0
git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/tags/1.0.0@4308 1b9489fe-b721-0410-924e-b54b9192deb8
2009-07-05 20:22:57 +00:00
6 changed files with 4 additions and 155 deletions

View File

@ -1,7 +1,3 @@
Sun Jul 19 14:21:42 2009 Minero Aoki <aamine@loveruby.net>
* test/test_cbc.sh: do not override CBC environment.
Mon Jul 6 05:21:24 2009 Minero Aoki <aamine@loveruby.net>
* install.sh: tested.

View File

@ -1,6 +1,4 @@
ANT = ant
VERSION = 1.0.1
BINVERSION = 1.0
default: all
@ -23,13 +21,3 @@ check:
unittest:
cd unit; $(MAKE) test
dist:
rm -rf cbc-$(VERSION) cbc-$(BINVERSION)
svn export http://i.loveruby.net/svn/public/cbc/tags/$(VERSION) cbc-$(VERSION)
cd cbc-$(VERSION); $(MAKE)
cd cbc-$(VERSION); $(ANT) clean-build
tar c cbc-$(VERSION) | gzip -n > cbc-$(VERSION).tar.gz
mv cbc-$(VERSION) cbc-$(BINVERSION)
tar c cbc-$(BINVERSION) | gzip -n > cbc-$(BINVERSION).tar.gz
rm -rf cbc-$(BINVERSION)

View File

@ -13,7 +13,7 @@ main()
fi
echo "prefix=$prefix"
invoke mkdir -p "$prefix/bin"
invoke install -m755 $BINS "$prefix/bin"
invoke cp $BINS "$prefix/bin"
invoke mkdir -p "$prefix/lib"
invoke cp $LIBS "$prefix/lib"
invoke rm -rf "$prefix/import"

View File

@ -22,4 +22,4 @@ recompile:
comptest: recompile test
clean:
rm -f a.out *.s *.o tc.* `cat TARGETS`
rm -f *.s *.o `svn pget svn:ignore .`

View File

@ -1,135 +0,0 @@
zero
one
hello
hello2
hello3
hello4
funcall0
funcall1
funcall2
funcall3
funcall4
funcall5
param
lvar1
lvar2
comm
scomm
gvar
sgvar
slcomm
slvar
add
sub
mul
div
mod
bitand
bitor
bitxor
bitnot
lshift
rshift
logicalnot
unaryplus
unaryminus
eq
neq
lt
gt
lteq
gteq
assign
opassign
inc
dec
if1
if2
while1
while2
while3
while-break
while-continue
dowhile1
dowhile2
dowhile3
dowhile-break
dowhile-continue
for1
for-break
for-continue
struct
struct2
struct3
union
array
array2
pointer
pointer2
pointer3
pointer4
charops
charops2
ucharops
ucharops2
shortops
shortops2
ushortops
ushortops2
intops
uintops
longops
ulongops
integer
string
logicaland
logicalor
condexpr
struct-semcheck
union-semcheck
cast
cast2
cast3
block
defvar
mbc
ptrmemb
ptrmemb2
assoc
funcptr
funcptr2
funcptr3
funcptr4
usertype
ptrtostruct
initializer
fork
vardecl
empstruct
syntax1
syntax2
syntax3
duplicated-import
staticfunc
switch
utf
sizeof-expr
sizeof-type
sizeof-struct
sizeof-union
noreturn
mdarray
mdarray2
ptrarray
src
varargs
textwrite
validstmt1
decloverride
alloca
alloca2
setjmptest
addressof
const
ptrdiff
implicitaddr

View File

@ -2,8 +2,6 @@
# test_cbc.sh
#
CBC=${CBC:-../bin/cbc}
test_01_exec() {
assert_stat 0 ./zero
assert_stat 1 ./one
@ -381,6 +379,8 @@ assert_private() {
assert_eq "private" `symbol_visibility $1 $2`
}
CBC=../bin/cbc
assert_compile_success() {
assert_status 0 $CBC "$@"
}