[fpc-devel] custom building & installing 32 & 64bit FPC

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Oct 22 15:59:42 CEST 2009


Hi,

I want to start FPC 2.5.1 development work (various fpdoc, fcl etc
changes), but I still need to keep around the binary installs of 2.3.1
(32 & 64 bit) for production work/builds of our product.

Currently I have the following directory layout

 /opt/git/fpc     (switchable between stable/unstable)
    /fpc_2.3.1
       /bin
       /lib
       /src     -> symlink to ../git/fpc
    /fpc_2.5.1
       /bin
       /lib
       /src     -> symlink to ../git/fpc


This works fine at the moment where I only have 64bit versions of FPC.

Now my question is, can I install (make install ...) both 32 & 64 bit
in each of the fpc_XXX directories? See, currently I am developing
with 64bit FPC, but when I create release builds of our product, I
need to create them with 32bit FPC.

Or must I make complete separate binary directories for 32bit and 64bit install?
eg:
   /opt/fpc32_2.3.1/
        /bin
        /lib
   /opt/fpc64_2.3.1/
        /bin
        /lib
   /opt/fpc32_2.5.1/
        /bin
        /lib
   /opt/fpc64_2.5.1/
        /bin
        /lib

I hope I don't have to do the latter, because then I have no idea how
to setup the ~/.fpc.cfg file. :-)



-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list