Le vendredi 15 février 2013 11:39:44, Christian JULLIEN a écrit :
> Can you show me the content of config.mak? Especially, what is the value of
> GCC_MAJOR and GCC_MINOR?
> 
> [cjullien@hilbert tinycc]$ more config.mak
> # Automatically generated by configure - do not modify
> prefix=/usr/local
> bindir=$(DESTDIR)/usr/local/bin
> tccdir=$(DESTDIR)/usr/local/lib/tcc
> libdir=$(DESTDIR)/usr/local/lib
> ln_libdir=/usr/local/lib
> includedir=$(DESTDIR)/usr/local/include
> mandir=$(DESTDIR)/usr/local/share/man
> infodir=$(DESTDIR)/usr/local/share/info
> docdir=$(DESTDIR)/usr/local/share/doc/tcc
> CC=gcc
> GCC_MAJOR=4
> GCC_MINOR=4

Normally with this you should pick up:

CFLAGS+=-fno-strict-aliasing
CFLAGS+=-Wno-pointer-sign -Wno-sign-compare
and CFLAGS+=-D_FORTIFY_SOURCE=0

Look at the top of the Makefile. Something's wrong when detecting your 
compiler. But the code didn't change, it's just that you don't pass the right 
compiler flag anymore at compile time.

What version of make do you have? Do you have the ifeq (-$(findstring 
$(GCC_MAJOR),01)-,--) test at the top of the Makefile?

Best regards,

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to