Recent

Author Topic: Lazarus and FPC 2.4.0  (Read 8785 times)

alter

  • Full Member
  • ***
  • Posts: 151
    • KSP website
Lazarus and FPC 2.4.0
« on: November 21, 2009, 10:25:54 pm »
Since new FPC is on it's way I'd like to ask if there are any plans of mking daily builds with this compiler?

Blaazen

  • Hero Member
  • *****
  • Posts: 2782
  • POKE 54296,15
    • Eye-Candy Controls
Re: Lazarus and FPC 2.4.0
« Reply #1 on: November 22, 2009, 02:13:17 pm »
You can download daily snapshots with SVN and compile yourself.
How to: http://www.freepascal.org/develop.var
I think dev. version is now 2.5.1
B.
Lazarus 2.1.0 r61214:62238 FPC 3.3.1 r40507 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

alter

  • Full Member
  • ***
  • Posts: 151
    • KSP website
Re: Lazarus and FPC 2.4.0
« Reply #2 on: November 22, 2009, 03:26:59 pm »
Yes, but I meant 2.4.0 which soon will be stable. I know that I can download it myself and recompile units myself but still I was interested if there are any plans of making snapshots with it (2.3.1 is pretty old in comparison)

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 687
Re: Lazarus and FPC 2.4.0
« Reply #3 on: November 22, 2009, 06:39:19 pm »
Yes, but I meant 2.4.0 which soon will be stable. I know that I can download it myself and recompile units myself but still I was interested if there are any plans of making snapshots with it (2.3.1 is pretty old in comparison)

2.3.1 is just as up-to-date as 2.4.0. 2.4.0 will just be a particular tag of a fixes_2_4-derived branch, and the version number of the compiler in the fixes_2_4 branch is 2.3.1 until 2.4.0 has been released (at which point it will become 2.4.1).

Phil

  • Hero Member
  • *****
  • Posts: 2750
Re: Lazarus and FPC 2.4.0
« Reply #4 on: November 22, 2009, 08:28:19 pm »
Jonas,

I'm trying to figure out when Laz/FPC snapshots will be available here that includes the objc stuff. This would be useful to maximize the number of people who can test once work starts on a new Cocoa widgetset.

Do you have a sense for when that might happen? Or Vincent?

Thanks.

-Phil

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 687
Re: Lazarus and FPC 2.4.0
« Reply #5 on: November 22, 2009, 08:33:25 pm »
I'm trying to figure out when Laz/FPC snapshots will be available here that includes the objc stuff. This would be useful to maximize the number of people who can test once work starts on a new Cocoa widgetset.

Do you have a sense for when that might happen?

No, I don't know. I'm not involved with creating Lazarus snapshots. The Objective-Pascal features will not be merged into the fixes branch though, so this would require svn trunk-based snapshots.

Furthermore, the syntax has not yet been finalised and may still change over the next 1-2 months, so it may not be a good idea to already start using it seriously.

Phil

  • Hero Member
  • *****
  • Posts: 2750
Re: Lazarus and FPC 2.4.0
« Reply #6 on: November 22, 2009, 08:45:32 pm »
Okay, that makes sense.

Right now I'm just investigating to see if there are any roadblocks to working entirely nibless, since that's likely what will be needed in a Cocoa widgetset. Haven't run into any problems yet and have the app menu completely built and working without using any .nib.

I'm still unsure of how best to mix string types. Since the LCL works with the Pascal string, a lot of conversion to and from NSString will probably be necessary. I've worked some with Laurent's monobjc wrapper for Cocoa over on Mono and it allows normal .NET Strings to be passed in when creating, say, an NSMenuItem and presumably does the conversion to NSString for us. That's certainly handy.

Thanks.

-Phil