On 23.03.2013 03:35, Xiangrong Fang wrote:
Hi Sven,
My unite uses contnrs unit, how can I instruct the compiler to use the
contnrs unit (also the Classes and sysutils units) of v2.7.1? I have
already built 2.7.1 and now try to compile my program in the fpc source
dir as you told.
The Classes and SysUtils unit should be no problem if you used the
command I gave you (if you look into the "rtl/units/i386-linux" (or
"rtl/units/x86_64-linux") directory you'll see the files "classes.ppu"
and "sysutils.ppu"). For the compiler to find unit "Contnrs" you need to
add "-Fupackages/fcl-base/units/i386-linux" (or
"-Fupackages/fcl-base/units/x86_64-linux") to the command.
Regards,
Sven
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal