[fpc-pascal] Is there some binary packet for ARM version 2.2

2007-11-15 Thread josepascual
Hi Everyone, I was searching for some binary packet for arm-linux and/or win32-arm for last release (2.2), but I have only found snapshot before release 2.2. Can anyone post me any link to some fpc binary packet for crosscompiling to arm in linux and/or windows (if it exist)? regards _

[fpc-pascal] there is some binary packet for ARM version 2.2

2007-11-14 Thread josepascual
Hi Everyone, I was searching for some binary packet for arm-linux and/or win32-arm for last release (2.2), but I have only found snapshot before release 2.2. Can anyone post me any link to some fpc binary packet for crosscompiling to arm in linux and/or windows (if it exist)? regards Jose Pascua

RE: [fpc-pascal] serial ports under Unix using Freepascal

2007-10-05 Thread josepascual
Have you taken a look to synaser inside synapse packet software http://synapse.ararat.cz/? Jose Pascual p.d. bonito nombre "papel higienico" ;-) De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de [EMAIL PROTECTED] Enviado el: miércoles, 03 de octubre de 2007 21:54 Para:

RE: [fpc-pascal] Compiler 2.20 for Arm

2007-09-19 Thread josepascual
> I have tested the 2.20 compiler for Arm. It looks good, a problem I had > with > threads has disappeared, but (there is always a but) now I have another > problem. > The bindery file is huge (Normally 160KB now 950KB. I presume that > smart > linking dos not work). I also get this warning form th

RE: [fpc-pascal] ANN: fpGUI now features a Visual Form Designer

2007-09-10 Thread josepascual
Hi, There is port for gdi and X11, for linux embedded systems it'd be interested directFB or nanox or other than heavy X11 > -Mensaje original- > De: [EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] En nombre de Graeme Geldenhuys > Enviado el: sábado, 08 de septiembre de 2007 18

[fpc-pascal] How to use -FL switch

2007-08-07 Thread josepascual
Hi Everyone How can I use -FL comand line switch : a) -FL/lib/ld-linux.so.2 b) -FLld-linux.so.2 or other option? thanks Jose Pascual ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] How to use -FL switch

2007-08-07 Thread josepascual
Hi Everyone How can I use -FL comand line switch : a) -FL/lib/ld-linux.so.2 b) -FLld-linux.so.2 or other option? thanks Jose Pascual ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] How to use -FL switch

2007-08-07 Thread josepascual
Hi Everyone How can I use -FL comand line switch : a) -FL/lib/ld-linux.so.2 b) -FLld-linux.so.2 or other option? thanks Jose Pascual ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] some error fpcmake -rTall in 2.1.5 (svn)

2007-07-23 Thread josepascual
Hi Everyone, fpcmake -rTall in 2.1.5 rev 8149 and (previous) stop with this error: Processing utils/Makefile.fpc Error: Target "linux", package "fcl-base" not found Jose Pascual ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.

RE: [fpc-pascal] Some questions about fpc.cfg

2007-07-18 Thread josepascual
[EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] En nombre de Michael Van Canneyt > Enviado el: miércoles, 18 de julio de 2007 11:27 > Para: FPC-Pascal users discussions > Asunto: RE: [fpc-pascal] Some questions about fpc.cfg > > > > On Wed, 18 Jul 2007, josepascu

RE: [fpc-pascal] Some questions about fpc.cfg

2007-07-18 Thread josepascual
Hi *, Where can I find information about DEFINES I can use in Fpc.Cfg? thanks, Jose Pascual > -Mensaje original- > De: [EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] En nombre de josepascual > Enviado el: lunes, 16 de julio de 2007 19:39 > Para: &#

[fpc-pascal] Some questions about fpc.cfg

2007-07-16 Thread josepascual
Hi Everyone, How can I used #IFDEF to check which is the Fpc Release (something like #IFDEF FPC_RELEASE=4)? I have several version of fpc (2.1.4, 2.1.5, 2.3.1) and fpc.cfg is different in each case. how can I check it? or, Is there any form to use a #IFDEF in fpc.cfg if compiler where build with

[fpc-pascal] What should I use for ARM EABI?

2007-07-16 Thread josepascual
Hi everyone, I can build fpc for arm 2.2 (ver 2.1.5) and I can build 2.3.1 for with "-Ce -CfSOFT" options. I have a board with a ARM EABI systems, and I'd like to develop some programs with freepascal for ARM. Which should I use 2.2_beta or 2.3.1? Is softfloat implemented in both solution? or m

RE: [fpc-pascal] Which FPU instruction sets are really implemented?

2007-07-12 Thread josepascual
Any comment? Anyone know something about it? Is only SOFT FPU instruction sets working? > -Mensaje original- > De: [EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] En nombre de josepascual > Enviado el: miércoles, 11 de julio de 2007 12:08 > Para: 'FPC-Pasc

[fpc-pascal] Which FPU instruction sets are really implemented?

2007-07-11 Thread josepascual
This is the FPU instruction sets for ppcrossarm -i (version 2.1.4) === Supported FPU instruction sets: SOFT LIBGCC FPA FPA10 FPA11 VFP === Which are implemented? which meas LIBGCC? all floatpoint operation are executed in libgcc?

RE: [fpc-pascal] In EABI ARM rootdisk dynamic linker is not named ld-linux.so.2

2007-07-06 Thread josepascual
> > > > Hi developer of freepascal (for arm) et all > > > > > > > > I have tried a freepascal program for arm EABI. I have created a > > > > ppcrossarm with SOFTFLOAT with binutils for EABI. > > > > Freepascal program compiled okey but When I run it in ARM board > > > > (with rootdisk EABI) I recei

RE: [fpc-pascal] In EABI ARM rootdisk dynamic linker is not named ld-linux.so.2

2007-07-06 Thread josepascual
> > Hi developer of freepascal (for arm) et all > > > > I have tried a freepascal program for arm EABI. I have created a > > ppcrossarm with SOFTFLOAT with binutils for EABI. > > Freepascal program compiled okey but When I run it in ARM board (with > > rootdisk EABI) I received a "FILE NOT FOUND" >

[fpc-pascal] In EABI ARM rootdisk dynamic linker is not named ld-linux.so.2

2007-07-04 Thread josepascual
Hi developer of freepascal (for arm) et all I have tried a freepascal program for arm EABI. I have created a ppcrossarm with SOFTFLOAT with binutils for EABI. Freepascal program compiled okey but When I run it in ARM board (with rootdisk EABI) I received a "FILE NOT FOUND" It was due that ld-linu

[fpc-pascal] Problem with softfloat in fpc for ARM using negative number

2007-07-04 Thread josepascual
Hi When I run next floattest program program floattest; uses sysutils; var a,b,c:double; begin a:=0.5; b:=0.3; writeln(format('%5.3f',[a*b])); a:=-0.5; c:=a*b; writeln(format('%5.3f',[c])); end. I received this output: = output = 0.150 An un

RE: [fpc-pascal] DateToStr in arm does not work!

2007-07-04 Thread josepascual
> > If this program compiles and works fine: > > program floattest; > > > > uses sysutils; > > var a,b:double; > > > > begin > > a:=0.5; > > b:=0.3; > > writeln(format('%5.3f',[a*b])); > > > > end. > > > > > > > > can I assume that either my compiler has been built with the right > > options or I h

RE: [fpc-pascal] DateToStr in arm does not work!

2007-07-04 Thread josepascual
Hi everyone I have compile datetostr_test with -g and I have run program with GDB this is the error output in gdb Starting program: /tmp/datestrto_test Program received signal SIGSEGV, Segmentation fault. 0xbcc8 in fpc_ansistr_decr_ref () It seems the problem is not exactly in datetimetos

RE: [fpc-pascal] DateToStr in arm does not work!

2007-07-04 Thread josepascual
> > I have downloaded svn version 7943 how can I donwload svn 7929? > > > > How are you build fpc for arm? make clean crossall CPU_TARGET=arm > > OS_TARGET=linux ? > > Which version of binutils do you have? (eabi?) > > Is SOFTFLOAT in freepascal the equivalent to EABI in c? > > > > soft float

RE: [fpc-pascal] DateToStr in arm does not work!

2007-07-04 Thread josepascual
> > > > soft float just means that the compiler needs to emulate the floating > > point unit if it doesn't exist in your hardware (like some arm > > processors). if you have an fpu, then you don't have to worry about > > soft float. the following assumes that you need soft float in you > > compil

RE: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread josepascual
> -Mensaje original- > De: [EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] En nombre de Henry Vermaak > Enviado el: martes, 03 de julio de 2007 18:15 > Para: FPC-Pascal users discussions > Asunto: Re: [fpc-pascal] DateToStr in arm does not work! > >

[fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread josepascual
Hi Everyone; Please, can someone test this program and write to the list if it works in arm-linux. program datetostr_test; uses sysutils; begin writeln(datetostr(now)); end. I always receive An unhandled exception occurred at $BEED89C8 : EAccessViolation : Access violation $BEED89C8 if

[fpc-pascal] How to call a pascal function from c?

2007-07-02 Thread josepascual
Hi Everyone, I have code written in pascal and I'd like to call from C. Any doc or link or example to see how? thank you, best regards Jose Pascual ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listi

[fpc-pascal] some problem with assembler code generated by fpc for arm

2007-06-28 Thread josepascual
Hi everyone, I try to compiling a pascal unit with fpc and It compiles okey for i386 but arm with fpcrossarm compiling file show this two error: Compiling luaobjects.pas Assembling luaobjects luaobjects.s: Assembler messages: luaobjects.s:2078: Error: co-processor address must be word aligned --

RE: [fpc-pascal] Re: Lua and Freepascal and ARM

2007-06-22 Thread josepascual
Hi Paul, > Hi Jose :-) > I can't help you with your problem, but I am curious... thanks anyway, > 1)is your ARM system using Linux? yes, > 2)for Lua under ARM, are you using dynamic linking or static > linking? i'm using dynamic linking but you can use static if you want. > For dynamic l

[fpc-pascal] RE: heap problem or fpc_ansistr_decr_ref in FPC for ARM

2007-06-21 Thread josepascual
Hi, I have tried to compile program which failed in version 2.1.4 ppcrossarm as: Program received signal SIGSEGV, Segmentation fault. TRY_CONCAT_FREE_CHUNK_FORWARD (MC=0x40213170) at heap.inc:679 679 in heap.inc with a version 2.3.1 ppcrossarm (snap 20/06/2007) with other different error als

[fpc-pascal] why {$E+} is in fpcsrc/rtl/inc/objects.pp?

2007-06-21 Thread josepascual
Hi Everyone, I have downloaded last snap (20_06_2007) for fpc 2.3.1 and I have make and make installed for i386, for ARM compilation stop compiling objects.pp because {$E+} is inside code, It does not work for ARM I have commented this switch to comopile. best regards Jose Pascual ___

[fpc-pascal] heap problem or fpc_ansistr_decr_ref in FPC for ARM

2007-06-21 Thread josepascual
Hi Everyone, (gdb) list I have made FPC (fpc-2.1.4_aka_2.2.0_beta) for ARM with DEBUG=1 so I can debug problem: I have a program which works okey in same version for i386 but for arm I'm trying to debug it to see what it's happening I have run program in GDB and I received it: Program received s

[fpc-pascal] Lua and Freepascal and ARM

2007-06-20 Thread josepascual
Hi Everyone I have made a example with lua inside freepascal. I have test it in i386 fpc 2.1.4 with no problem ann in ARM with fpc 2.1.4. I hav a problem: I have tried to debug it (gdb): (gdb) LUATOVARIANT (L=0xdda08, INDEX=-2, result=void) at LuaUtils.pas:438 438 end; (gdb) 438 end; (gd

RE: [fpc-pascal] this line in pascal compile for i386 version but arm version

2007-06-14 Thread josepascual
version > but arm version > > > On 13 jun 2007, at 11:34, josepascual wrote: > > > else Result :=Round(VarAsType(dataNum, varDouble))//varInteger) > > . > > . > > . > > > > compile okey in 2.1.1 and 2.1.4 fpc for i

RE: [fpc-pascal] this line in pascal compile for i386 version but arm version

2007-06-13 Thread josepascual
version > but arm version > > > On 13 jun 2007, at 11:34, josepascual wrote: > > > else Result :=Round(VarAsType(dataNum, varDouble))//varInteger) > > . > > . > > . > > > > compile okey in 2.1.1 and 2.1.4 fpc for i

[fpc-pascal] this line in pascal compile for i386 version but arm version

2007-06-13 Thread josepascual
Hi Everyone, this pascal line . . . else Result :=Round(VarAsType(dataNum, varDouble))//varInteger) . . . compile okey in 2.1.1 and 2.1.4 fpc for i386 but 2.1.1 and 2.1.4 ppccrossarm this is the error: === . . (431,58) Error: Can't determine which overloaded function to call . . === error is t

[fpc-pascal] Where can I read about differences between 2.1.x and 2.3.x?

2007-06-11 Thread josepascual
Hi everyone, I know that release is 2.0.x, development tree is 2.1.x (aka 2.2.0 beta) and what is v2.3x? Where can I read about differences between 2.1.x and 2.3.x? thank you in advanced, best regards Jose Pascual ___ fpc-pascal maillist - fpc-pasc

[fpc-pascal] threads and serial port

2007-05-25 Thread josepascual
Hi everyone, I have a program with several thread, I'm having a problem with serial port due I need to send all the bytes (about 20 bytes/frame) without delay. How can I do it? Can I set priority to thread which is sending byte to serial port to highest? how? Can I stop all thread but cur

RE: RV: [fpc-pascal] Program exited with code 01

2007-05-08 Thread josepascual (almudi)
Hi, > On 07/05/07, josepascual (almudi) <[EMAIL PROTECTED]> wrote: > > >$ ./hello_eabi_arm > > -bash: ./ hello_eabi_arm: No such file or directory > ... > ... > ... > > (gdb) run > > Starting program: /tmp/hello_eabi_arm > > /bin/bash: /tmp/he

RE: [fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1)

2007-05-08 Thread josepascual (almudi)
hi, search *.o files in your crosstools and add diretory to ppcarm with -Fl f.e. find /usr/local/arm/armlinux/gcc-3.4.1-glibc-2.3.2 -name "*.o" > -Mensaje original- > De: [EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] En nombre de Helmut Hartl > Enviado el: viernes, 04 de

RV: [fpc-pascal] Program exited with code 01

2007-05-07 Thread josepascual (almudi)
Any suggestion? -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de josepascual (almudi) Enviado el: viernes, 04 de mayo de 2007 10:28 Para: 'FPC-Pascal users discussions' Asunto: [fpc-pascal] Program exited with code 01 Hi Everyone, I hav

[fpc-pascal] Program exited with code 01

2007-05-04 Thread josepascual (almudi)
Hi Everyone, I have compiled hello_eabi_arm (hello world!) with ppcrossarm and -GfSOFT option. I can run a hello world program with no problem (ldd say me there is not libraries needed) but if I use dl.pp I received next error (write below), ldd say libdl and libc.so.6 are needed. any suggestio

RE: [fpc-pascal] Some class or units

2007-05-02 Thread josepascual (almudi)
> En/na josepascual (almudi) ha escrit: > > hi there, > > > > Is there some fpc/pascal unit which implements semaphores for windows > and > > linux (without libc unit)? > > have a look at syncobjs semaphores inside? > > > > and > > > >

[fpc-pascal] Some class or units

2007-05-02 Thread josepascual (almudi)
hi there, Is there some fpc/pascal unit which implements semaphores for windows and linux (without libc unit)? and Is there some fpc/pascal unit which implement some logfile (in order to write log information during application run) for windows and linux (without libc unit)? regards _

[fpc-pascal] in order to create a cross fpc

2007-05-02 Thread josepascual (almudi)
Hi, In order to generate a cross fpc is only necessary as, ld from binutils? So I shouldn't need all toolschain? (gcc, libc, ...) thanks, ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pasc

RE: [fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1)

2007-05-02 Thread josepascual (almudi)
> hi jose > > > > > Yes, there is it, > > > > I'm begining to use it. (to optain ppcrossarm I have had to delete > all the > > problematic asm lines in arm.inc and mathu.inc) > > > > thank you henry, > > florian made a change to those files today. it would be nice if you > can test the change by

RE: [fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1)

2007-05-01 Thread josepascual (almudi)
> On 01/05/07, josepascual (almudi) <[EMAIL PROTECTED]> wrote: > ... > ... > > make: *** [crossinstall] Error 2 > > > > any suggestion? > > > > nope, i had this problem, too and couldn't fix it. but, you will > probably find that you can use y

RE: [fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1)

2007-05-01 Thread josepascual (almudi)
I have build cross compiling for arm ppc v2.3.1 but install, I have resolved previuos install problem using 2.3.1 fpc i386-linux, but now I have a different new problem with make crossinstall for arm-linux: /usr/bin/install -m 755 -d /usr/local/lib/fpc/2.3.1/units/arm-linux/fppkg /usr/bin/install

RE: [fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1)

2007-05-01 Thread josepascual (almudi)
3.1) > > On 01/05/07, josepascual (almudi) <[EMAIL PROTECTED]> wrote: > > I'm using a ARM920T (at91rm9200) with arm core ARMv4T > > My toolchain is from > http://www.freaknet.org/martin/crosstool/packages/ > > " > > armv4t-crosstool-linux-gnue

RE: [fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1)

2007-05-01 Thread josepascual (almudi)
3.1) > > On 01/05/07, Henry Vermaak <[EMAIL PROTECTED]> wrote: > > On 01/05/07, josepascual (almudi) <[EMAIL PROTECTED]> wrote: > > > > > > I have downloaded SVN version for 2.1.3. I have no patch anything > as other > > > times before, &

RE: [fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1)

2007-05-01 Thread josepascual (almudi)
> > I have downloaded SVN version for 2.1.3. I have no patch anything as > other > > times before, > > > > I'm compiling with -CfSOFT (I want to generate a ppcrossarm eabi) > > > > make clean crossall CPU_TARGET=arm OS_TARGET=linux > > CROSSBINDIR=/usr/local/arm/gcc-4.1.1-glibc-2.5-gnueabi/bin/ > >

RE: [fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1)

2007-05-01 Thread josepascual (almudi)
> On 01/05/07, josepascual (almudi) <[EMAIL PROTECTED]> wrote: > > > > I have done it, I'm going to svn/fpc/ directory and I run fpcmake > > -Tarm-linux. > > > > question: > > a) should I run fpcmake -pw -Tarm-linux? > > b) or should I

RE: [fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1)

2007-05-01 Thread josepascual (almudi)
> > > > > > You need to build and install the current (from 2.3.1) fpcmake > first. > > > > > > > SVN version? or which? I can build snv version but install. > > > > > > cd utils/fpcm > make clean all > sudo make install > > then try making the cross compiler again. > I have done it, I'm going

RE: [fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1)

2007-05-01 Thread josepascual (almudi)
> >. > >make[6]: Leaving directory > >`/tmp/freepascal/svn/fpc_26_04_2007/packages/fcl-db/src/dbase' > >make -C src/sqlite all > >make[6]: Entering directory > >`/tmp/freepascal/svn/fpc_26_04_2007/packages/fcl-db/src/sqlite' > >make[6]: No se hace nada para `all'. > >make[6]: Leaving directory > >

RE: [fpc-pascal] using Crt Functions inside a thread.

2006-03-21 Thread josepascual
How Can I wait for one crt function finish? (gotoxy, write, ...) I could use a semaphore or critical section to protect mulitreading , couldn't it? tia regards > -Mensaje original- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] En nombre de > Peter Vreman > Enviado el: martes, 21

[fpc-pascal] using Crt Functions inside a thread.

2006-03-21 Thread josepascual
Hi, I have a little program working with Crt units without problem. I have change the print way form, I have pushing Crt Commands inen Fifo (GotoXY, ClrScr, ClrEol, Write,...) and I have created a Thread class to pop this commands to execute it. Problem seems to be cursor position in tty which is

[fpc-pascal] RV: using Crt Functions inside a thread.

2006-02-15 Thread josepascual
Hi, Can anyone check this prj to see it's happening the same than me? Hi, I have a little program working with Crt units without problem. I have change the print way form, I have pushing Crt Commands inen Fifo (GotoXY, ClrScr, ClrEol, Write,...) and I have created a Thread class to pop this comm

[fpc-pascal] using Crt Functions inside a thread.

2006-02-09 Thread josepascual
Hi, I have a little program working with Crt units without problem. I have change the print way form, I have pushing Crt Commands inen Fifo (GotoXY, ClrScr, ClrEol, Write,...) and I have created a Thread class to pop this commands to execute it. Problem seems to be cursor position in tty which is