Op Thu, 29 Nov 2007, schreef Alvise Nicoletti:
> I added a /usr/lib32 link to the fpc.cfg, however I have no "crti.o" in the
> /usr/lib32/ folder.
> I got the same error trying to cross-compile to a i386 target.
>
> /usr/lib/crti.o is a "ELF 64-bit LSB relocatable, AMD x86-64, version 1
> (SYSV), not stripped"
>
> Who should compile/provide that library at 32 bits?
Your distro.
Daniël
> p.s. so I will have to change the fpc.cfg every time I want to crosscompile?
> or there is a IFDEF(initive) solution?
You can add both directories, the linker will skip the unusable one. If
constructions are also possible by the way.
Daniël
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel