Recent

Author Topic: How to update to fpc 3.0.4 for linux  (Read 2571 times)

@Func

  • New Member
  • *
  • Posts: 36
How to update to fpc 3.0.4 for linux
« on: January 09, 2020, 04:09:55 pm »
Dear all
 How could i update fpc to 3.0.4 for my linux system . cpu is armhf! Does there have some link to download it ?

thanks a lot
« Last Edit: January 09, 2020, 04:23:44 pm by tcustomzd »

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: How to update to fpc 3.0.4 for linux
« Reply #1 on: January 09, 2020, 04:52:54 pm »
Try here:FPC download for ARM Linux.
Got to there from the link on the right column of this forum: "FreePascal > Downloads" :)
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

Thaddy

  • Hero Member
  • *****
  • Posts: 18524
  • Here stood a man who saw the Elbe and jumped it.
Re: How to update to fpc 3.0.4 for linux
« Reply #2 on: January 09, 2020, 06:43:56 pm »
Most recent distributions already contain 3.0.4 for a few years. Like Debian and its derivative Raspbian.
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

@Func

  • New Member
  • *
  • Posts: 36
Re: How to update to fpc 3.0.4 for linux
« Reply #3 on: January 13, 2020, 01:03:39 am »
Try here:FPC download for ARM Linux.
Got to there from the link on the right column of this forum: "FreePascal > Downloads" :)

Dear friend

I download and installed it . I found it ask me to install a textmode IDE , Does this mean there hava a IDE can been load at TextMode Just like lazarus.

Thaddy

  • Hero Member
  • *****
  • Posts: 18524
  • Here stood a man who saw the Elbe and jumped it.
Re: How to update to fpc 3.0.4 for linux
« Reply #4 on: January 13, 2020, 09:37:52 am »
The textmode IDE is for the case you do not have Lazarus installed. (Ususally)
I would not recommend the textmode ide in other situations.
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

Zoran

  • Hero Member
  • *****
  • Posts: 1977
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: How to update to fpc 3.0.4 for linux
« Reply #5 on: January 13, 2020, 10:22:19 am »

I download and installed it . I found it ask me to install a textmode IDE , Does this mean there hava a IDE can been load at TextMode Just like lazarus.

There is a "text mode" IDE, distributed with fpc (there is a chapter about it in fpc user manual, see: https://www.freepascal.org/docs-html/current/user/userch6.html).
It is designed to resemble Turbo Pascal IDE a lot, just like Lazarus resembles Delphi.
However, Lazarus is much easier to work in, even for console applications, so unless you have to use very limited computer for development, better use Lazarus.
Anyway, there is no reason not to install this text mode IDE and take a look at it. Of course it does not clash with Lazarus.
Swan, ZX Spectrum emulator https://github.com/zoran-vucenovic/swan

@Func

  • New Member
  • *
  • Posts: 36
Re: How to update to fpc 3.0.4 for linux
« Reply #6 on: January 13, 2020, 02:34:59 pm »

I download and installed it . I found it ask me to install a textmode IDE , Does this mean there hava a IDE can been load at TextMode Just like lazarus.

There is a "text mode" IDE, distributed with fpc (there is a chapter about it in fpc user manual, see: https://www.freepascal.org/docs-html/current/user/userch6.html).
It is designed to resemble Turbo Pascal IDE a lot, just like Lazarus resembles Delphi.
However, Lazarus is much easier to work in, even for console applications, so unless you have to use very limited computer for development, better use Lazarus.
Anyway, there is no reason not to install this text mode IDE and take a look at it. Of course it does not clash with Lazarus.

Mostly i'm using Lazarus ,But i'm just working on a device has limited memery . So just install linux without GUI , that's why i need to use textmode ide. It's not very good but better than NONE!
« Last Edit: January 13, 2020, 02:44:56 pm by @Func »

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: How to update to fpc 3.0.4 for linux
« Reply #7 on: January 13, 2020, 02:54:05 pm »
Mostly i'm using Lazarus ,But i'm just working on a device has limited memery . So just install linux without GUI , that's why i need to use textmode ide. It's not very good but better than NONE!

Are you under pressure to use that device for coding? Because if not, I would seriously consider programming your app in a more powerful one and (cross-)compiling to your target. Note that even a humble Raspberry Pi with Raspbian is enough to develop with Lazarus for ARM-Linux, and it would provide you with a developing platform close to the target one.

Of course, nothing wrong with old-style coding. In fact, we still do it when programing for DOS (and  CP/M, though that's another kettle of fish :) ) and it works rather well, despite some annoying bugs/misfeatures in the text-mode IDE.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

guest65109

  • Guest
Re: How to update to fpc 3.0.4 for linux
« Reply #8 on: January 13, 2020, 04:36:52 pm »
Dear all
 How could i update fpc to 3.0.4 for my linux system . cpu is armhf! Does there have some link to download it ?

thanks a lot

Cross compile from an amd64 system.

@Func

  • New Member
  • *
  • Posts: 36
Re: How to update to fpc 3.0.4 for linux
« Reply #9 on: January 14, 2020, 12:18:02 am »
Mostly i'm using Lazarus ,But i'm just working on a device has limited memery . So just install linux without GUI , that's why i need to use textmode ide. It's not very good but better than NONE!

Are you under pressure to use that device for coding? Because if not, I would seriously consider programming your app in a more powerful one and (cross-)compiling to your target. Note that even a humble Raspberry Pi with Raspbian is enough to develop with Lazarus for ARM-Linux, and it would provide you with a developing platform close to the target one.

Of course, nothing wrong with old-style coding. In fact, we still do it when programing for DOS (and  CP/M, though that's another kettle of fish :) ) and it works rather well, despite some annoying bugs/misfeatures in the text-mode IDE.

No ,I'm coding on windows platform with lazarus. Just complie on device. Becuase it need to run in arm device.

guest65109

  • Guest
Re: How to update to fpc 3.0.4 for linux
« Reply #10 on: January 14, 2020, 05:51:29 am »
Mostly i'm using Lazarus ,But i'm just working on a device has limited memery . So just install linux without GUI , that's why i need to use textmode ide. It's not very good but better than NONE!

Are you under pressure to use that device for coding? Because if not, I would seriously consider programming your app in a more powerful one and (cross-)compiling to your target. Note that even a humble Raspberry Pi with Raspbian is enough to develop with Lazarus for ARM-Linux, and it would provide you with a developing platform close to the target one.

Of course, nothing wrong with old-style coding. In fact, we still do it when programing for DOS (and  CP/M, though that's another kettle of fish :) ) and it works rather well, despite some annoying bugs/misfeatures in the text-mode IDE.

No ,I'm coding on windows platform with lazarus. Just complie on device. Becuase it need to run in arm device.

So build a cross compiler and use it to build for your arm device.

 

TinyPortal © 2005-2018