Upgrading FPC from 2.4.0 to 2.4.2 in Ubuntu Linux lazarus / 3-General ---------------------------------------------------------------------- Hydexon · 2011-02-21 22:19 Hello, i want know how to upgrade the Free Pascal Compiler 2.4.0 to the lastest (2.4.2) (For Crossplatform applications...) in Ubuntu Linux and if possible apply these changes to Lazarus? ---------------------------------------------------------------------- Phil · 2011-02-21 22:23 I think changing the 3 FPC paths in Environment | Options is all that's needed to use a different compiler with Lazarus. However, other questions: - What Laz version are you using? I have an installation on Mac of 0.9.28.2 that uses FPC 2.4.2, even though 0.9.28.2 was released with 2.2.4. - Do you want to have multiple Laz installations? Thanks. -Phil ---------------------------------------------------------------------- Hydexon · 2011-02-21 22:32 I'm using the stable version of Lazarus (0.9.28.2 Beta) (IN THE FOOTNOTE OF MY POSTS!). but i not want change my current Lazarus Version i'm okay with this. only FPC i want upgrade. ---------------------------------------------------------------------- Phil · 2011-02-21 22:36 That should work okay. If 2.4.0 compiles the 0.9.28.2 source okay, then 2.4.2 should too. I'm not at my Mac right now, so I don't know for sure that I didn't need to make any fixes to the 0.9.28.2 source to compile with 2.4.2, but I can check. Thanks. -Phil ---------------------------------------------------------------------- Hydexon · 2011-02-21 22:40 I'm thinking: - Download the stable 2.4.2 version of freepascal from freepascal.org. - Enter as root in Nautilus. - Rename the fpc directory to another name. - Extract the 2.4.2 binaries in the old fpc location. - Extract also the FPC 2.4.2 source code in the old fpc source location (repeating process). - Pray to Work!.