mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Windows build for gcc - gmp problem


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Windows build for gcc - gmp problem
Date: Wed, 13 Oct 2010 04:05:13 +1100

On 8 October 2010 22:37, M. Gerhardy <address@hidden> wrote:
> Hi.
>
> Now that compiling and co is working i'm getting to the point with the
> first errors. The first one is about gcc itself. About gmp - the
> config.log is attached.
>
> configure:27764: gcc -std=gnu99 -c -g -fkeep-inline-functions -DNO_ASM
> conftest.c >&5
> conftest.c:80:61: error:
> /c/mingw-cross-env/tmp-gcc/gcc-4.5.1/gmp/gmp-h.in: No such file or
> directory
> conftest.c: In function 'main':
> conftest.c:86: error: 'mp_limb_t' undeclared (first use in this function)
> conftest.c:86: error: (Each undeclared identifier is reported only once
> conftest.c:86: error: for each function it appears in.)
>
> I've found this one:
> http://old.nabble.com/GMP-4.2.4-configure-fails-saying-Oops,-mp_limb_t-doesn%27t-seem-to-work-td22887279.html
> but i no idea what i can do - hints are welcomed ;)

It seems that ./configure doesn't like absolute paths [1]. Modifying
this line in  gcc.mk will get you a little further:

-    cd    '$(1).build' && '$(1)/configure' \
+    cd    '$(1).build' && '../$(gcc_SUBDIR)/configure' \

Cheers,

Tony

[1] http://www.mail-archive.com/address@hidden/msg02019.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]