This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc-4.1.2 configuration failed


hello:

I'm trying to configure gcc in my objdir from a separate source
directory as recommended.
I've installed gmp via apt-get.

from:

ubuntu 6.06
gcc-4.1.2
i686-pc-linux-gnu

critical part of my config.log:

configure:2177: checking how to compare bootstrapped objects
configure:2281: checking for correct version of gmp.h
configure:2294: gcc -c -g -O2   conftest.c 1>&5
configure:2284:17: error: gmp.h: No such file or directory
configure: In function 'main':
configure:2288: error: 'choke' undeclared (first use in this function)
configure:2288: error: (Each undeclared identifier is reported only once
configure:2288: error: for each function it appears in.)
configure:2288: error: syntax error before 'me'
configure: failed program was:
#line 2283 "configure"
#include "confdefs.h"
#include "gmp.h"
int main() {

#if __GNU_MP_VERSION < 3
choke me
#endif

; return 0; }

can anybody help me?

Thanks in advance.

Rafael
www.astrocosas.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]