Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2009-10

custom building & installing 32 & 64bit FPC

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

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/

Reply by email