Aaron Gray wrote:
Hi,
I believe or am pritty sure I have a problem. I am building GCC 3.4.3
but the same problem happerns with 2.95.3 and presumably with other
GCC's. I have built this before and got it to work and I am sure I had
other includes present.
Yes I know Cygwin GCC3.4.3 has not been released yet, but the project I
am using uses it specifically. I have built it before and so have other
people.
When I build and install GCC the 'include' directory only includes the
'c++' sub directory and no normal c header files.
Directory wise I have :-
/usr/src/gcc-3.4.3 source
/usr/build build
/usr/gcc/gcc-3.4.3 installation
Here's my config, build and install process :-
../../src/gcc-3.4.3/configure --prefix=/usr/gcc/gcc-3.4.3
--oldincludedir=/usr/gcc/gcc-3.4.3/include
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap
make install LANGUAGES="c c++"
Hope you can help,
The 'normal' C headers are part of the C library (newlib/cygwin), the
GCC C headers are installed somewhere below /usr/lib/gcc or
/usr/share/gcc, depending on the version you're building.
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/