Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty link error (long)

Author: Daniel Clausen

Date: 12:58:03 10/14/03

Go up one level in this thread


On October 14, 2003 at 15:36:36, ujecrh wrote:

>Thanks for the quick reply Daniel,
>
>Indeed, using the linux-i686-elf target (and adding the pthread link) works
>fine.
>
>(on the other hand "linux-elf", "linux-i686" and the simple "linux" target -as
>mentionned before- all fail)

'linux-elf' should work by adding "-lstdc++" to the linker options or linking
with g++.

ELF is the new executable and linking format for linux. (Solaris and other Unix
flavour use that too) When using 'linux' or 'linux-i686' the object file 'X86.o'
will be linked instead of 'X86-elf.o', and that doesn't conform to the ELF
format and therefore produces a lot of errors.

I wish Bob would put a lil README in the Crafty distribution. Maybe that's
something for 19.5, Bob? ;)

Sargon



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.