Sign in Join

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

Mailing lists / lazarus / 2010-01

Question for new installation

4 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Doug Chamberlin

I have just started using FPC/Lazarus and m still setting up my installations on Ubuntu 9.10. I've run into a situation...

I downloaded the new FPC 2.4.0 using the "everything in one file" tarball. I ran the install.sh script and all looks like it worked fine.

I then downloaded the latest stable Lazarus and installed that. During that install it saw the existing fpc.cfg file and I chose to keep it.

The installer then said it could not find the FPC sources and blanked out the path to the sources. Lazarus now runs but starts with a warning dialog that says "The Free Pascal source directory was not found. Some code functions will not work. it is recommended you install it and set the path."

Why does the Lazarus IDE need the source code for the compiler? I'm not planning any cross-compiling nor am I planning on changing the compiler would I be told that these are important files?

Doug C. ----- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?

Reply by email

Carlos German Tejero
to Doug Chamberlin

2010/1/3 Doug Chamberlin

Why does the Lazarus IDE need the source code for the compiler? I'm not planning any cross-compiling nor am I planning on changing the compiler would I be told that these are important files?

The source code for the compiler no, lazarus needs de source code of RTL + packages (FCL)

Carlos Germ?n Tejero -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100103/0ffb6ef1/attachment.html>

Reply by email

Martin
to Carlos German Tejero
Carlos German Tejero wrote 11 lines
2010/1/3 Doug Chamberlin < <mailto:>> Why does the Lazarus IDE need the source code for the compiler? I'm not planning any cross-compiling nor am I planning on changing the compiler would I be told that these are important files? The source code for the compiler no, lazarus needs de source code of RTL + packages (FCL)

In fact, it should need those only, for your convinience. So that code completion etc works. Otherwise you can ignore the warning, if all the ppu for the rtl are installed then compilation should work

Reply by email

Graeme Geldenhuys
to Doug Chamberlin: I have just started using FPC/Lazarus and m still setting up my installations on Ubuntu…

2010/1/4 Doug Chamberlin :

Why does the Lazarus IDE need the source code for the compiler?

Lazarus should function just fine with only the binary install of FPC. But if you want *all* features available in the Lazarus IDE, then you need the source code of FPC as well. The source code is used by the developers to see an implementation of a base class (something in the RTL maybe), code navigation into FCL or RTL etc...

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

Reply by email