Malek wrote:
> Gilles Chanteperdrix a écrit :
>> Malek wrote:
>>>    $ ./configure --target=i686-linux --host=i686-linux 
>>> --build=i386-pc-linux-gnu 
>>> --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --prefix=/usr/xenomai 
>>> --disable-smp --disable-x86-sep --enable-x86-tsc
>>> ====================================================================
>>> (...)
>>> The architecture of the host is x86 under (cross)uClibc (0.9.29), 
>>> (cross)GCC: 4.2.4,
>>> (cross)binutils 2.18.50.0.1, Xenomai 2.4.5.
>> So, you are compiling on x86 for x86 ? You are not cross-compiling then.
> Possible !!!
>> If your host is x86_64 and you are compiling for x86_32, you should pass
>> the -m32 option to gcc.
>>
> My host is x86_32 (Fedora 9) also but I do not use gcc that comes with Fedora,
> I used Buildroot(http://buildroot.uclibc.org) to produce an isolated 
> compilation 
> environment for another x86_32, it looks like LFS (Linux From Scratch).

LFS meant LARGEFILE_SOURCE or Large File Support, or something like that.

> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64

That is the problem I suspected. Will fix, thanks for reporting.

-- 
                                                 Gilles.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to