[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Many new warnings since yesterday
From: |
Thomas Preud'homme |
Subject: |
Re: [Tinycc-devel] Many new warnings since yesterday |
Date: |
Fri, 15 Feb 2013 11:50:54 +0100 |
User-agent: |
KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) |
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?
>
> address@hidden 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
signature.asc
Description: This is a digitally signed message part.
- [Tinycc-devel] Many new warnings since yesterday, Christian Jullien, 2013/02/15
- Re: [Tinycc-devel] Many new warnings since yesterday, Christian Jullien, 2013/02/15
- Re: [Tinycc-devel] Many new warnings since yesterday, Thomas Preud'homme, 2013/02/15
- Re: [Tinycc-devel] Many new warnings since yesterday, Thomas Preud'homme, 2013/02/15
- [Tinycc-devel] RE :Re: Many new warnings since yesterday, Christian JULLIEN, 2013/02/15
- [Tinycc-devel] RE :Re: Many new warnings since yesterday, Christian JULLIEN, 2013/02/15