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

2007-05-08 Thread Henry Vermaak
On 04/05/07, Helmut Hartl [EMAIL PROTECTED] wrote: Well - that was what i would like to do - I thougt i try it using libc, as i hade some old code who was doing it just that way. But also the following: program nslu_test; {$mode objfpc}{$H+} {$linklib c} begin writeln('Hello'); end.

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

2007-05-08 Thread Helmut Hartl
linux (v 2.3.1) nslu_test.lpr Assembling nslu_test Linking nslu_test /usr/local/lib/fpc/2.3.1/units/arm-linux/rtl/cprt0.o: In function `_haltproc': : undefined reference to `_fini' /usr/local/lib/fpc/2.3.1/units/arm-linux/rtl/cprt0.o: In function `_haltproc': :

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

2007-05-08 Thread Henry Vermaak
On 08/05/07, Helmut Hartl [EMAIL PROTECTED] wrote: Well - Thank you - It now works and i got libc, sockets, ssl and much of our code to run on the SLUG (I am really happy with possibilities of the crossarm compiler!!) Now we have strange problems with range errors and so on, needs further

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

2007-05-08 Thread Florian Klaempfl
Helmut Hartl schrieb: why do you want to load libc dynamically? may you can try the following approach (scroll to bottom): http://community.freepascal.org:1/docs-html/prog/progse53 Well - that was what i would like to do - I thougt i try it using libc, as i hade some old code who was

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

2007-05-08 Thread Henry Vermaak
On 08/05/07, Florian Klaempfl [EMAIL PROTECTED] wrote: What libc do you use? i've got libc-2.3.90.so, but if i look at the downloads, the makefile used a version 2.3.4 from 2005-06-27 (and patched it a couple of times, no doubt). henry ___

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

2007-05-08 Thread Helmut Hartl
On 08/05/07, Florian Klaempfl [EMAIL PROTECTED] wrote: What libc do you use? [EMAIL PROTECTED]:~$ /lib/libc.so.6 GNU C Library development release version 2.3.90, by Roland McGrath et al. Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying

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

2007-05-08 Thread josepascual (almudi)
de 2007 19:56 Para: FPC-Pascal users discussions Asunto: RE: [fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1) why do you want to load libc dynamically? may you can try the following approach (scroll to bottom): http://community.freepascal.org:1/docs-html/prog/progse53

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

2007-05-04 Thread Helmut Hartl
Hello again Henry, i used the mastermakefile to build the tool chain: http://www.nslu2-linux.org/wiki/Development/MasterMakefile I followed the http://www.nslu2-linux.org/wiki/HowTo/CrossCompileWithCentOS Worked for me for CentOS 5, i built the slugosle 4.4 and flashed it. Then i

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

2007-05-04 Thread Marco van de Voort
But a you predicted :-( i now have problems linking against an external library. I want to use unit dynlibs to dynamically load the libc.so.6 on the NLSU2 (i have done this under i386 linux sucessfully) dynlibs links statically to libc.so.6 to access dlopen et al.

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

2007-05-04 Thread Henry Vermaak
On 04/05/07, Helmut Hartl [EMAIL PROTECTED] wrote: But a you predicted :-( i now have problems linking against an external library. I want to use unit dynlibs to dynamically load the libc.so.6 on the NLSU2 (i have done this under i386 linux sucessfully) why do you want to load libc

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

2007-05-04 Thread Helmut Hartl
why do you want to load libc dynamically? may you can try the following approach (scroll to bottom): http://community.freepascal.org:1/docs-html/prog/progse53 Well - that was what i would like to do - I thougt i try it using libc, as i hade some old code who was doing it just that way.

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 doing svn update

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

2007-05-02 Thread Helmut Hartl
Hello, there might be a problem with your binutils. are you sure you're using the right binutils for your device? what device are you using, exactly? What binutils for crosscompiling are you using for the NSLU2? Where do you obtain them? Thank you, helmut

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

2007-05-02 Thread Henry Vermaak
On 02/05/07, Helmut Hartl [EMAIL PROTECTED] wrote: Hello, there might be a problem with your binutils. are you sure you're using the right binutils for your device? what device are you using, exactly? What binutils for crosscompiling are you using for the NSLU2? Where do you

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 I'm making

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

2007-05-01 Thread Henry Vermaak
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. henry ___ fpc-pascal

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 to svn/fpc/ directory

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

2007-05-01 Thread Henry Vermaak
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 run fpcmake -rpw -Tarm-linux? (recursive) c) or only fpcmake -Tarm-linux fpcmake -rTall

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 run fpcmake -rpw -Tarm-linux? (recursive) c) or only fpcmake -Tarm-linux

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

2007-05-01 Thread Henry Vermaak
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, I'm compiling with -CfSOFT (I want to generate a ppcrossarm eabi) make clean crossall CPU_TARGET=arm OS_TARGET=linux

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 Henry Vermaak
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, I'm compiling with -CfSOFT (I want to generate a ppcrossarm eabi) make clean crossall

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

2007-05-01 Thread Henry Vermaak
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-gnueabi 4.1.1 4.1.1 2.5 6.5 48.7 MiB 49.0 MiB The libraries are compiled for, and

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

2007-05-01 Thread josepascual (almudi)
-Mensaje original- De: [EMAIL PROTECTED] [mailto:fpc-pascal- [EMAIL PROTECTED] En nombre de Henry Vermaak Enviado el: martes, 01 de mayo de 2007 13:36 Para: FPC-Pascal users discussions Asunto: Re: [fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1) On 01/05/07, Henry

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

2007-05-01 Thread josepascual (almudi)
-Mensaje original- De: [EMAIL PROTECTED] [mailto:fpc-pascal- [EMAIL PROTECTED] En nombre de Henry Vermaak Enviado el: martes, 01 de mayo de 2007 13:40 Para: FPC-Pascal users discussions Asunto: Re: [fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1) On 01/05/07

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

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

2007-05-01 Thread Henry Vermaak
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 your /usr/lib/fpc/2.3.1/ppcrossarm now. Jose Pascual henry

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 your /usr/lib/fpc/2.3.1/ppcrossarm now. Yes, there is it, I'm

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

2007-05-01 Thread Henry Vermaak
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 doing svn update and then

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

2007-04-29 Thread Peter Vreman
. 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 I'm making SVN

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

2007-04-27 Thread Jose Pascual
Hi, I'm sorry I'm wrong, problem is not in sqlite, is in fcl-base, please see in next dump screen, . . . 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