Alejandro Arbelaez wrote:

> Hi all,
>
> I'm trying to compile gecode with gcc 4.2 and I'm getting the  
> following error:
[...]
> BTW:  my default compiler is i686-apple-darwin9-gcc-4.0.1 and I  
> installed i686-apple-darwin9-gcc-4.2.1. Finally I configured gecode  
> with the following characteristics
>
> ./configure --prefix=..... CC=g++-4.2 CXX=g++-4.2

That's the problem, you're trying to compile a C source file with g+ 
+.  You should configure like this:

./configure --prefix=..... CC=gcc-4.2 CXX=g++-4.2

Cheers,
        Guido


_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to