tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] TCC fails to build on FreeBSD/amd64


From: Carlos Jacobo Puga Medina
Subject: Re: [Tinycc-devel] TCC fails to build on FreeBSD/amd64
Date: Tue, 21 Jul 2015 14:14:52 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]