Andreas Färber wrote:
Andreas Färber schrieb:

The first few files compile fine, then inside libgc the error "large files are not supported by libelf" is raised via the included /usr/include/link.h, and make (or gmake) stops. This error originates from the following excerpt of /usr/include/libelf.h:

#if defined(_ILP32) && (_FILE_OFFSET_BITS != 32)
#error "large files are not supported by libelf"
#endif


The gcc command line includes -D_FILE_OFFSET_BITS=64. Any idea what exactly that actually means, where it originates from and what I can do about it? I am compiling on a Pentium III, so it's not a 64-bit machine.

It's needed for large file support (> 2GB). Not uncommon in 2005, even
on 32-bit machines ;-)

However, libgc doesn't need this define, which is inherited from
mono's configuration. You may try to tweak the generated libgc/Makefile.

Robert

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to