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.
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':
:
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
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
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
___
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
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
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
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.
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
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.
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
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
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
.
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
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
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
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
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
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
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/
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
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
-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
-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
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
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
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
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
.
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
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
31 matches
Mail list logo