[fpc-pascal] Smartlinking

Marco van de Voort marcov at stack.nl
Thu Jan 26 10:06:52 CET 2006


> I have built a Windows cross compiler for ARM It is working fine 
> without smartlinking. When I activate smartlinking I get this error:
> 
> Free Pascal Compiler version 2.0.2 [2005/12/16] for arm
> 
> Assembling arm2138reg
> Assembling with smartlinking arm2138reg
> /cygdrive/l/ARMBIN/AR: arm2138reg.slarm2138reg*.o: No such file 
> or directory
> 
> Any good idears how I correct this error.
> (I can see there is missing a slash or backslash in the filename, is this 
> an error in the compiler?)
> (Everything works fine under Linux)

Sounds like there was a backslash there, but the cygwin tools ate them. This
is a problem in the cygwin tools.

Try to avoid cygwin binutils, and use mingw ones if available. There is a
reason why we ship mingw ones :-)

P.s. have a look at the
pub/fpc/contrib/cross/ directory.



More information about the fpc-pascal mailing list