Sign in Join

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

Mailing lists / fpc-devel / 2008-12

FPC on Arm7

8 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

Nataraj S Narayan

Hi

Is there a chance of using fpc on Arm7 boards without OS? I have with me an AT91SAM7 board with 64K Ram and 512K flash. The limited memory makes it difficult to load an OS. One alternative is to use Armpit Scheme, which is a scheme language implementation for Arm7 boards. You can see it at http://armpit.sourceforge.net/.

I wish I had a fpc compiler like armpit scheme.

regards

Nataraj

Reply by email

Jonas Maebe
to Nataraj S Narayan: Hi Is there a chance of using fpc on Arm7 boards without OS? I have with me an AT91SAM7…
Nataraj S Narayan wrote
Is there a chance of using fpc on Arm7 boards without OS?

When you write an rtl (system unit) that works without an OS on that platform.

I wish I had a fpc compiler like armpit scheme.

It's not about the compiler, but about the run time library. Nobody except for a person who
a) has access to that environment
b) wants to develop for that environment

can write such a run time library.

Jonas

Reply by email

Nataraj S Narayan
to Jonas Maebe

Hi

Can we write the RTL as stand alone without the backing of an OS?

regards

Nataraj

Jonas Maebe wrote 23 lines
On 04 Dec 2008, at 05:41, Nataraj S Narayan wrote: > Is there a chance of using fpc on Arm7 boards without OS? When you write an rtl (system unit) that works without an OS on that platform. > I wish I had a fpc compiler like armpit scheme. It's not about the compiler, but about the run time library. Nobody except for a person who a) has access to that environment b) wants to develop for that environment can write such a run time library. Jonas _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Florian Klaempfl
to Nataraj S Narayan
Hi Can we write the RTL as stand alone without the backing of an OS?

Yes. However I thought you're using Ruby now?

Show quoted text 30 lines
regards Nataraj On 12/4/08, Jonas Maebe wrote: > On 04 Dec 2008, at 05:41, Nataraj S Narayan wrote: > >> Is there a chance of using fpc on Arm7 boards without OS? > When you write an rtl (system unit) that works without an OS on that > platform. > >> I wish I had a fpc compiler like armpit scheme. > It's not about the compiler, but about the run time library. Nobody > except for a person who > a) has access to that environment > b) wants to develop for that environment > > can write such a run time library. > > > Jonas > _______________________________________________ > fpc-devel maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-devel > _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Tomas Hajny
to Nataraj S Narayan: Hi Can we write the RTL as stand alone without the backing of an OS? regards Nataraj

On Fri, December 5, 2008 05:54, Nataraj S Narayan wrote:

Hi,

Can we write the RTL as stand alone without the backing of an OS?

Yes. Obviously, it may be more work to do (you need to implement not only the functionality expected from the RTL, but also the part usually supported by the OS), but it's certainly possible and some people have already done that before (some people even created their own OS in FPC). There's some more information on porting to new platforms in our Wiki. Moreover, you can find potential basis for such an effort in the directory /rtl/embedded in FPC sources.

Tomas

Show quoted text 17 lines
On 12/4/08, Jonas Maebe wrote: > > On 04 Dec 2008, at 05:41, Nataraj S Narayan wrote: > >> Is there a chance of using fpc on Arm7 boards without OS? > > When you write an rtl (system unit) that works without an OS on that > platform. > >> I wish I had a fpc compiler like armpit scheme. > > It's not about the compiler, but about the run time library. Nobody > except for a person who > a) has access to that environment > b) wants to develop for that environment > > can write such a run time library.

Reply by email

Nataraj S Narayan
to Florian Klaempfl: Yes. However I thought you're using Ruby now?

Hi

Yeah, That was for my work on Arm9 board, which is as good as a normal i386/686 machine, when Linux is loaded - It got 64M Ram and 256M Flash. Had to keep my head from rolling off, hence had a stint with Ruby.

I am needed to get some neat development env on Arm7 with 32K Ram and 512K Flash. Can't afford an OS or any other bloated tool on this board (at91sam7se512).

Hope you won't mind taking me back :-|

regards

Nataraj

Florian Klaempfl wrote 43 lines
Nataraj S Narayan schrieb: > Hi > > > Can we write the RTL as stand alone without the backing of an OS? Yes. However I thought you're using Ruby now? > > regards > > Nataraj > > On 12/4/08, Jonas Maebe wrote: >> On 04 Dec 2008, at 05:41, Nataraj S Narayan wrote: >> >>> Is there a chance of using fpc on Arm7 boards without OS? >> When you write an rtl (system unit) that works without an OS on that >> platform. >> >>> I wish I had a fpc compiler like armpit scheme. >> It's not about the compiler, but about the run time library. Nobody >> except for a person who >> a) has access to that environment >> b) wants to develop for that environment >> >> can write such a run time library. >> >> >> Jonas >> _______________________________________________ >> fpc-devel maillist - >> http://lists.freepascal.org/mailman/listinfo/fpc-devel >> > _______________________________________________ > fpc-devel maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-devel > _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email