Sign in Join

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

Mailing lists / fpc-pascal / 2017-10

FPC vs. Lazarus regarding some units...

9 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

Cleverson Casarin Uliana

Hello, beginer here:

Some years ago, I tried to port an old Delphi program to FreePascal, and discovered I had to use the entire Lazarus and not FPC alone due to some units missing, e.g. MMSystem. I then installed Lazarus and was able to compile most of the software, but since it was mostly for fun, I leaved it somewhat incomplete by that time.

Now I'd like to try it again. Since that program doesn't require a fancy desktop interface, and since I'm already accustomed to another text editor (which serves me well as an IDE), I was wondering if I must get Lazarus again or the standalone FPC is enough.

Because I don't know very well the FPC/Lazarus ecosystem, I'm actually curious: Why some units like the mentioned MMSystem are delivered with Lazarus but not with FPC? In case I install FPC and some unit gets missing, is it possible to get it without getting the entire Lazarus and all its overhead?

Thanks,
Cleverson

Reply by email

Graeme Geldenhuys
to Cleverson Casarin Uliana
Cleverson Casarin Uliana wrote
I was wondering if I must get Lazarus again or the standalone FPC is enough.

If your programs don't rely on the VCL (Delphi's Visual Component Library. ie: TButton, TForm etc), that means they shouldn't need to rely on the LCL, so then only using FPC should be fine.

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Bart
to Juha Manninen
Juha Manninen wrote 6 lines
On Sun, Oct 29, 2017 at 2:53 AM, Cleverson Casarin Uliana wrote: > Why some units like the mentioned MMSystem are > delivered with Lazarus but not with FPC? MMSystem is not delivered with Lazarus. I don't know what you are writing about.

MMSystem is delivered with fpc (at least with my current version: 3.0.4rc1).

Bart

Reply by email

Cleverson Casarin Uliana
to Bart
Bart wrote
MMSystem is delivered with fpc (at least with my current version: 3.0.4rc1).

Good to know, it wasn't the case some 3-4 years ago.

Thank you all who answered.
Cleverson

Reply by email

Marco van de Voort
to Cleverson Casarin Uliana

In our previous episode, Cleverson Casarin Uliana said:

> MMSystem is delivered with fpc (at least with my current version: 3.0.4rc1). > Good to know, it wasn't the case some 3-4 years ago.

At least since 2005 (cvs->svn change)

Reading your messages, I suspect your originally misconfigured FPC, including only RTL, and not packages.

Reply by email

Cleverson Casarin Uliana
to Marco van de Voort
Marco van de Voort wrote
Reading your messages, I suspect your originally misconfigured FPC, including only RTL, and not packages.

It's possible yes, thanks for the hint, will be more careful this time. :)

Cleverson

Reply by email

Unknown author
to Juha Manninen: On Sun, Oct 29, 2017 at 2:53 AM, Cleverson Casarin Uliana MMSystem is not delivered with…
Juha Manninen wrote 6 lines
On Sun, Oct 29, 2017 at 2:53 AM, Cleverson Casarin Uliana wrote: > Why some units like the mentioned MMSystem are > delivered with Lazarus but not with FPC? MMSystem is not delivered with Lazarus. I don't know what you are writing about.

does the delphi conversion system convert those MMSystem calls to something else? i remember seeing something about that back when i was trying to convert a delphi project several years ago... that brought some more changes and fixes to the delphi conversion process...

NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.*

Reply by email

Juha Manninen
to Unknown author
does the delphi conversion system convert those MMSystem calls to something else?

Now the converter just removes MMSystem from uses section. I don't know how it should be converted. Maybe it should be left untouched.

i remember seeing something about that back when i was trying to convert a delphi project several years ago... that brought some more changes and fixes to the delphi conversion process...

I don't remember details.
Anyway the unit names in uses section that are replaced / removed, including MMSystem, can be configured by user.

Juha

Reply by email