El mar, 21-07-2015 a las 14:14 +0200, Carlos Jacobo Puga Medina escribió: > El mar, 21-07-2015 a las 08:34 +0100, Edmund Grimley Evans escribió: > > > ../tcc -B.. -c bcheck.c -o x86_64/bcheck.o -I.. -Wall -g -O0 > > > -Wdeclaration-after-statement -Wno-deprecated-declarations -Wno > > > -strict > > > -aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result > > > -Wno > > > -uninitialized -fno-strict-aliasing -fPIC -DTCC_TARGET_X86_64 > > > In file included from bcheck.c:21: > > > /usr/include/stdio.h:63: error: ';' expected (got "va_list") > > > Makefile:116: recipe for target 'x86_64/bcheck.o' failed > > > gmake[1]: *** [x86_64/bcheck.o] Error 1 > > > gmake[1]: Leaving directory '/usr/home/cjpm/github/tinycc/lib' > > > Makefile:259: recipe for target 'libtcc1.a' failed > > > gmake: *** [libtcc1.a] Error 2 > > > > > > Any thoughts about how to handle this? > > > > Take a look at the preprocessed source, bcheck.i, generated by: > > > > ../tcc -B.. -E bcheck.c -I.. -Wall -g -O0 > > -Wdeclaration-after-statement -Wno-deprecated-declarations > > -Wno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare > > -Wno-unused-result -Wno-uninitialized -fno-strict-aliasing -fPIC > > -DTCC_TARGET_X86_64 -o bcheck.i > > Yes, I checked it. > > It builds fine on i386, but I'm not sure why it spits out this error > on > amd64: > > In file included from bcheck.c:22: > In file included from /usr/include/stdarg.h:6: > /usr/include/x86/stdarg.h:74: error: #error this file needs to be > ported to your compiler > I tried on FreeBSD/i386 and it also fails to compile properly with the above error.
Note that last time that TCC worked like a charm was on FreeBSD -9.1/i386 release. > > _______________________________________________ > Tinycc-devel mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/tinycc-devel _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
