Re: [fpc-pascal] using fpc on a arm4t system failed - trying to cross compile

2009-03-25 Thread Benedikt Schindler
Hi, the file from Florian didn't work. But i looked around in the mailing lists and now i try to crosscompile a new version for the openmoko device. I crosscompiled binutils for "arm4tl-unknown-linux". and then i tried to cross compile the FPC (2.3.x) with this command: make all OS_TARGET=li

Re: [fpc-pascal] using fpc on a arm4t system failed

2009-03-23 Thread Paul Breneman
Henry Vermaak wrote: 2009/3/23 Paul Breneman : Beni, is there another precompiled "ppcarm" from the version v2.2.x or v2.3.x ? Or exists a maintainer for the arm version? So i could ask him for a debugging version to find the problem. I couldn't debug the problem by my self, because i don't h

Re: [fpc-pascal] using fpc on a arm4t system failed

2009-03-23 Thread Henry Vermaak
2009/3/23 Paul Breneman : > Beni, > >> is there another precompiled  "ppcarm" from the version v2.2.x or v2.3.x ? >> Or exists a maintainer for the arm version? So i could ask him for a >> debugging version to find the problem. >> I couldn't debug the problem by my self, because i don't have a clou

Re: [fpc-pascal] using fpc on a arm4t system failed

2009-03-23 Thread Paul Breneman
Beni, is there another precompiled "ppcarm" from the version v2.2.x or v2.3.x ? Or exists a maintainer for the arm version? So i could ask him for a debugging version to find the problem. I couldn't debug the problem by my self, because i don't have a clou about assembler programming. pleas

Re: [fpc-pascal] using fpc on a arm4t system failed

2009-03-23 Thread Henry Vermaak
2009/3/23 Benedikt Schindler : > Hi, > > is there another precompiled  "ppcarm" from the version v2.2.x or v2.3.x ? > Or exists a maintainer for the arm version? So i could ask him for a > debugging version to find the problem. > I couldn't debug the problem by my self, because i don't have a clou

Re: [fpc-pascal] using fpc on a arm4t system failed

2009-03-23 Thread Benedikt Schindler
Hi, is there another precompiled "ppcarm" from the version v2.2.x or v2.3.x ? Or exists a maintainer for the arm version? So i could ask him for a debugging version to find the problem. I couldn't debug the problem by my self, because i don't have a clou about assembler programming. please g

Re: [fpc-pascal] using fpc on a arm4t system failed

2009-03-19 Thread Benedikt Schindler
same problem with this test. just the output "Illegal instruction". nothing in dmesg. --- r...@om-gta02:/opt/test# tar -xvzf HelloWorld-fpc-2.2.2.arm-linux.tar.gz copying copying.fpc hello.pas ppcarm prt0.o system.o system.ppu TurboControlDistributionReadMe.txt r...@om-gta02:/

Re: [fpc-pascal] using fpc on a arm4t system failed

2009-03-19 Thread Paul Breneman
Beni, Please try the ARM-Linux example on this page and see if it works: http://www.turbocontrol.com/helloworld.htm -- Regards, Paul Breneman http://www.TurboControl.com http://www.TurboControl.com/embeddedfreepascal.htm - Notes on using FreePascal on embedded systems http://www.TurboControl.

[fpc-pascal] using fpc on a arm4t system failed

2009-03-19 Thread Benedikt Schindler
Hi, i installed fpc-2.2.2 with the arm-linux-binaries from the main page. the installation finished with no problems. but when i try to use on of the installed programms (e.g. ppcarm, fpc or fpcmake) i get a "Illegal instruction" error. What ARM CPUs are supported by FPC? My cpu info : r...@

Re: [fpc-pascal] Using FPC MM in a C program

2009-01-06 Thread Micha Nelissen
leledumbo wrote: Since it's possible to use libc's MM via cmem unit, would the opposite be possible? I have a "crtl.pas" which defines a few functions (malloc, calloc, free, memmove, memcpy) to help in using libraries written in C with fpc programs without needing external dependencies (msvcr

Re: [fpc-pascal] Using FPC MM in a C program

2008-12-31 Thread Michael Van Canneyt
On Wed, 31 Dec 2008, Vinzent Höfler wrote: > Michael Van Canneyt wrote: > > > > On Wed, 31 Dec 2008, leledumbo wrote: > > > > > Since it's possible to use libc's MM via cmem unit, would the opposite be > > > possible? > > > > > >From the point of view of FPC, there should not be a big problem

Re: [fpc-pascal] Using FPC MM in a C program

2008-12-31 Thread Vinzent Höfler
Michael Van Canneyt wrote: On Wed, 31 Dec 2008, leledumbo wrote: Since it's possible to use libc's MM via cmem unit, would the opposite be possible? >From the point of view of FPC, there should not be a big problem. The C library, this is another matter. I am not sure that it supports plug

Re: [fpc-pascal] Using FPC MM in a C program

2008-12-31 Thread leledumbo
What if I replace libc's MM code with FPC one? Is it permitted? -- View this message in context: http://www.nabble.com/Using-FPC-MM-in-a-C-program-tp21229445p21230388.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc

Re: [fpc-pascal] Using FPC MM in a C program

2008-12-31 Thread Krishna
On Wed, Dec 31, 2008 at 4:39 PM, Michael Van Canneyt wrote: > > > On Wed, 31 Dec 2008, leledumbo wrote: > >> >> Since it's possible to use libc's MM via cmem unit, would the opposite be >> possible? > > >From the point of view of FPC, there should not be a big problem. > The C library, this is ano

Re: [fpc-pascal] Using FPC MM in a C program

2008-12-31 Thread Michael Van Canneyt
On Wed, 31 Dec 2008, leledumbo wrote: > > Since it's possible to use libc's MM via cmem unit, would the opposite be > possible? >From the point of view of FPC, there should not be a big problem. The C library, this is another matter. I am not sure that it supports plugging in a memory manager.

[fpc-pascal] Using FPC MM in a C program

2008-12-31 Thread leledumbo
Since it's possible to use libc's MM via cmem unit, would the opposite be possible? -- View this message in context: http://www.nabble.com/Using-FPC-MM-in-a-C-program-tp21229445p21229445.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___

Re: [fpc-pascal] Using FPC as a scripting engine

2006-10-13 Thread Michael Van Canneyt
On Fri, 13 Oct 2006, Alexander Todorov wrote: > On 10/11/06, Alexander Todorov <[EMAIL PROTECTED]> wrote: > > Hello list, > > currently I am using RemObjects Pascal Script as a scripting language > > for a project of mine. > > All scripts are simple programs that use "API" exported from the main

Re: [fpc-pascal] Using FPC as a scripting engine

2006-10-13 Thread Alexander Todorov
On 10/11/06, Alexander Todorov <[EMAIL PROTECTED]> wrote: Hello list, currently I am using RemObjects Pascal Script as a scripting language for a project of mine. All scripts are simple programs that use "API" exported from the main program. They have and some global variables defined as well. e

[fpc-pascal] Using FPC as a scripting engine

2006-10-11 Thread Alexander Todorov
Hello list, currently I am using RemObjects Pascal Script as a scripting language for a project of mine. All scripts are simple programs that use "API" exported from the main program. They have and some global variables defined as well. example: begin Context.ShowMessage(Params.Param('message')

Re: [fpc-pascal]Using FPC

2003-07-20 Thread L D Blake
In reply to your message of July 20, 2003 > Israel Simas wrote: >> Do i have to write code in a simple text editor and compile it in DOS mode?? My >> OS is Windows ME. > No, you don't have to use "Notepad" as editor and compile from the > command line. > IIRC there is work done on a graphical

Re: [fpc-pascal]Using FPC

2003-07-20 Thread Bernhard Steffen
Israel Simas wrote: Do i have to write code in a simple text editor and compile it in DOS mode?? My OS is Windows ME. No, you don't have to use "Notepad" as editor and compile from the command line. You can use the integrated editor, compiler & debugger instead: If you've set your PATH variable

Re: [fpc-pascal]Using FPC

2003-07-20 Thread Michael . VanCanneyt
On Sat, 19 Jul 2003, Israel Simas wrote: > Hi everyone, > > I'm a student of Data Processing college and in its labs i always wrote code > using Turbo Pascal. For self development as a programmer, i started to > search some way to study pascal at home, and found FPC. > But i couldn't use it as i

[fpc-pascal]Using FPC

2003-07-19 Thread Israel Simas
Hi everyone, I'm a student of Data Processing college and in its labs i always wrote code using Turbo Pascal. For self development as a programmer, i started to search some way to study pascal at home, and found FPC. But i couldn't use it as i expected. I've downloaded the w321010full file, and in