On Thu, Sep 17, 2009 at 04:26:59PM +0200, Graeme Geldenhuys wrote: > Marco van de Voort het geskryf: > > > > Or by fpc -V and -P > > I fail to see how this helps? Also my FPC doesn't have a -V command line > option, only -v<x> for verbose output.
The -V and -P options are nearly as old as the buildfaq. Any non ancient version should have them. They should be documented afaik, and are covered in the buildfaq. > And -T<x> is for the target operating system. eg: -Tlinux That is a ppc386 parameter. I'm talking about fpc parameters. -V is version (fpc -Vbla executes ppc<defaultarch>-bla) -P is arch (fpc -Pppc executes ppcppc) > How does this help if I have Linux, but FPC 2.2.5, 2.3.1 and 2.5.1 > installed on Linux? Simple. Make symlinks ppc386-2.2.5 ppc386-2.3.1 ppc386-2.5.1 and similarly ppcx64-2.2.5 etc to the respective compilers in $prefix/lib/fpc/... Set up the -Fu in fpc.cfg properly by using $FPCVERSION and $FPCTARGET etc and you can compile with fpc -V2.2.5 -Px86_64 etc. This is all original content (of the first version) of the buildfaq btw. -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus