With commit 32a4962593d6a2006cdd725480124717e7f5377d, it builds and make
test runs. There is an error:
gcc -o tcctest.gcc tcctest.c -I.. -I.. -w -Wall -g -O2
-fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result
-DTCC_TARGET_I386 -DTCC_TARGET_PE -std=gnu99 -O0 -fno-omit-frame-pointer
tcctest.c:6:15: error: operator '>=' has no left operand
#if GCC_MAJOR >= 3
^
tcctest.c: In function 'builtin_test':
tcctest.c:2467:15: error: operator '>=' has no left operand
return (to);
^
make[1]: *** [test.ref] Error 1
make -k otherwise looks good, thanks.
P.S. I had actually originally tested against 0.9.26, not HEAD. I assumed a
release had a better chance of reliably passing 'make test'. Maybe a goal
for 0.9.27? ;)
On Tue, Jan 21, 2014 at 10:36 AM, Thomas Preud'homme <[email protected]>wrote:
> Le lundi 20 janvier 2014, 16:44:13 Austin English a écrit :
> > Howdy,
> >
> > I can't seem to find how to run the test suite on a windows mingw build.
> > Running 'make' works fine, but 'make test' fails every time:
> > make -C tests test
> > make[1]: Entering directory `/c/tcc-0.9.26/tests'
> > ------------ hello-exe ------------
> > ../tcc -B../win32 -I../include -L.. ../examples/ex1.c -o hello.exe ||
> > (../tcc -vv; exit 1) && ./hello.exe
> > Hello World
> > ------------ hello-run ------------
> > ../tcc -B../win32 -I../include -L.. -run ../examples/ex1.c
> > Hello World
> > ------------ libtest ------------
> > ./libtcc_test.exe lib_path=..
> > tcc: error: cannot find library: libtcc1.a
> > tcc: error: undefined symbol 'printf'
> > make[1]: *** [libtest] Error 1
> > make[1]: Leaving directory `/c/tcc-0.9.26/tests'
> > make: *** [test] Error 2
> >
> > I already searched the archive for 'windows tests', and checked win32/,
> but
> > haven't seen the answer.
>
> I think grischka may have fixed the issue. if not, can you remove
> libtcc_test.exe and then run make test and post me the output?
>
> Best regards,
>
> Thomas
>
> _______________________________________________
> Tinycc-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
>
--
-Austin
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel