modcaml
[Top][All Lists]
Advanced

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

[Modcaml] gcc 4.0.0 and OCaml 3.08.3


From: Bill Smith
Subject: [Modcaml] gcc 4.0.0 and OCaml 3.08.3
Date: Sat, 21 May 2005 18:51:02 -0500

I've been having trouble with the "make world" phase of compiling OCaml 3.08.3 with gcc 4.0.0.

I'm using Linux 2.4.26 on an AMD Athlon XP.

There error I get is:

/gcc-4.0.0/bin/gcc -O2 -O -I../../byterun -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -DBNG_ARCH_ia32 -DBNG_ASM_LEVEL=2 -c -o bng.o bng.c
In file included from bng.c:21:
bng_ia32.c: In function 'bng_ia32_mult_add_digit':
bng_ia32.c:111: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
make[1]: *** [bng.o] Error 1

To deal with the problem I've just fallen back to gcc 3.4.3 which compiles ocaml 3.08.3 successfully.

Bill Smith





reply via email to

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