Sign in Join

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

Mailing lists / lazarus / 2016-10

Run FPC on Raspberry Pi3 in command line mode

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Ken Kashmarek

I have been runing FPC v3 on Windows 7 from a command line window. The Windows 7 version of the IDE sucks.

I want to run FPC v3 on my Raspberry Pi3 the same way, from a command line window (not the GUI IDE interface).

Is that possible? I found everything for starting the IDE but not for starting the compiler directly (I will be using my own editor for source files).

By the way, my install of FPC v3 on Raspberry Pi3 took less than 45 minutes but it did consume 840 meg of space on my SD card (I have a 28 gig partition so that was inconsequential). I do get an error message when the Lazarus 1.6 IDE starts but so far it seems to cause no problem.

To Bo Berglund: Thank you for the install script. Very nice.

Ken

View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Run-FPC-on-Raspberry-Pi3-in-command-line-mode-tp4050114.html Sent from the Free Pascal - Lazarus mailing list .

Reply by email

Unknown author
to Ken Kashmarek
Ken Kashmarek wrote 9 lines
I have been runing FPC v3 on Windows 7 from a command line window. The Windows 7 version of the IDE sucks. I want to run FPC v3 on my Raspberry Pi3 the same way, from a command line window (not the GUI IDE interface). Is that possible? I found everything for starting the IDE but not for starting the compiler directly (I will be using my own editor for source files).

just like the old days with TP and/or BP...

tp loads the editor.
tpc runs the compiler.

bp loads the editor.
bpc runs the compiler.

fp loads the editor.
fpc runs the compiler.

NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted.

Reply by email

Lars
to Ken Kashmarek: I have been runing FPC v3 on Windows 7 from a command line window. The Windows 7 version…
Ken Kashmarek wrote
I have been runing FPC v3 on Windows 7 from a command line window. The Windows 7 version of the IDE sucks.

By IDE do you mean lazarus, or the freepascal IDE which is different (like turbopascal).

There is an FPC mailing list too.... if you just end up using FPC as a command line program, fpc mailing list is definitely where the questions sho

I found everything for starting the IDE but not for starting the compiler directly (I will be using my own editor for source files).

To use FPC there is no need to install lazarus, you can just install fpc and run fpc from the command line. Lazarus is geared toward delphi style development, whereas FPC compiler from freepascal.org is more like a gnu c compiler at the command line, or, if you prefer, more like turbo pascal if you prefer to use a bright blue (keeps you up at night) console mode ide. There is no requirement to use the console mode ide, nore is there any requirement to use Lazarus delphi like IDE.

freeepascal.org has downloads and a separate mailing list just for fpc. THis is the lazarus delphi like IDE mailing list

Reply by email

Ken Kashmarek
to Lars

On Windows 7, the IDE is tagged FPC in the desktop icon and is called Free Pascal. It is not referred to as Lazarus.

All my programs at this point are command line oriented. I have been using the IDE on RPi3 with the Build menu item (under Run), and then switching to a command line window in the target directory for testing.

Thanks for responding.

Ken

you wrote 32 lines
On Fri, October 28, 2016 11:23 pm, Ken Kashmarek via Lazarus wrote: > I have been runing FPC v3 on Windows 7 from a command line window. The > Windows 7 version of the IDE sucks. > By IDE do you mean lazarus, or the freepascal IDE which is different (like turbopascal). There is an FPC mailing list too.... if you just end up using FPC as a command line program, fpc mailing list is definitely where the questions sho > I found everything for starting the IDE but not for > starting the compiler directly (I will be using my own editor for source > files). To use FPC there is no need to install lazarus, you can just install fpc and run fpc from the command line. Lazarus is geared toward delphi style development, whereas FPC compiler from freepascal.org is more like a gnu c compiler at the command line, or, if you prefer, more like turbo pascal if you prefer to use a bright blue (keeps you up at night) console mode ide. There is no requirement to use the console mode ide, nore is there any requirement to use Lazarus delphi like IDE. freeepascal.org has downloads and a separate mailing list just for fpc. THis is the lazarus delphi like IDE mailing list -- _______________________________________________ Lazarus mailing list [hidden email] <http://lists.lazarus-ide.org/listinfo/lazarus>http://lists.lazarus-ide.org/listinfo/lazarus If you reply to this email, your message will be added to the discussion below: <http://free-pascal-lazarus.989080.n3.nabble.com/Run-FPC-on-Raspberry-Pi3-in-command-line-mode-tp4050114p4050130.html>http://free-pascal-lazarus.989080.n3.nabble.com/Run-FPC-on-Raspberry-Pi3-in-command-line-mode-tp4050114p4050130.html To unsubscribe from Run FPC on Raspberry Pi3 in command line mode, <http://free-pascal-lazarus.989080.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4050114&code=a2FzaGtlbkBjc3RlbGRyaWRnZS5jb218NDA1MDExNHwtOTI4MTA2MTk0>click here. <http://free-pascal-lazarus.989080.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>NAML
View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Run-FPC-on-Raspberry-Pi3-in-command-line-mode-tp4050114p4050135.html Sent from the Free Pascal - Lazarus mailing list next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20161030/70c6b937/attachment-0001.html>

Reply by email