[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] MacOSX gcc 3.1 build
From: |
Laurence Withers |
Subject: |
Re: [Devel] MacOSX gcc 3.1 build |
Date: |
Wed, 18 Dec 2002 18:35:41 +0000 |
User-agent: |
KMail/1.5 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 18 December 2002 18:28, meeloo wrote:
> I have a second issue with the build system: we use freetype-config
> --cflags to get the path where freetype2 headers are installed on the
> system and add them to gcc's search path. freetype-config --cflags
> says '-I/usr/local/include -I/usr/local/include/freetype2' but gcc
> issues a warning because /usr/local/include allready is a system
> include search path:
> cpp0: warning: changing search order for system directory
> "/usr/local/include"
> cpp0: warning: as it has already been specified as a non-system
> directory.
> I talked with a friend working on the same program on linux and he
> said he never had this problem. Do you have any idea how to fix this
> gracefully? I hardcoded the include path in my makefile but this
> isn't the right solution (and I don't feel like modifying
> freetype-config at all :-)
We have the same problem in Allegro, a games library
(http://alleg.sf.net/). It only occurs with gcc3, not gcc2. The
solution proposed (but not yet implemented) is to try installing a file
in said directory and see if a .c file including it gets compiled
without the -I flag.
Bye for now,
- --
Laurence Withers, address@hidden
(GnuPG 04A646EA) http://www.lwithers.demon.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+AMAAUdhclgSmRuoRAvDSAJ9SGP+XCewzc4vN9Mh57hvYkjtsVgCcCQmg
1g2VFLoI4rIsf3Ivi0rhjUc=
=rogR
-----END PGP SIGNATURE-----