On 4 Jul 2007, at 19:42, Luca Olivetti wrote:
> En/na Bernd Mueller ha escrit:
>
> > thank you Jonas, that was helpful. I finally was able to compile the
> > file, but I think there is still a problem with the libraries. The
> > program does not run as expected.
>
> not expected as in the bug
En/na Bernd Mueller ha escrit:
thank you Jonas, that was helpful. I finally was able to compile the
file, but I think there is still a problem with the libraries. The
program does not run as expected.
not expected as in the bug report or something completely different?
Bye
--
Luca
_
Luca Olivetti wrote:
En/na [EMAIL PROTECTED] ha escrit:
Luca,
> could you check bug 9191?
>
> http://www.freepascal.org/mantis/view.php?id=9191
if I try to compile, the linker complaints about not finding the
object dl, though dl.o and dl.ppu are present in the
rtl/units/arm-linux directo
On 04/07/07, josepascual <[EMAIL PROTECTED]> wrote:
negative number problem is not in float operation but in format or strings
subsystem.
try this new example:
program floattest;
uses sysutils;
var a,b,c,d,e:double;
begin
a:=0.5;
b:=0.3;
writeln(format('%5.3f',[a*b]));
a:=-0.5;
c:=a*b;
d:=a*
> > 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
Jonas Maebe wrote:
The -ldl refers to libdl.so, not to dl.o. You have to copy it from your
ARM system to your Windows machine, and add the directory with all your
ARM libraries to the linker's search path, like Luca did:
-Fl/usr/lib/gcc/arm-linux-gnu/4.1.2
thank you Jonas, that was helpful. I
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
On 04/07/07, josepascual <[EMAIL PROTECTED]> wrote:
Hi henry et all,
I have a little confused, Could you or someone help me with some question?
I have a ARM920T (without fpu, kernel OABI) .
Which version of gcc are you using 3.4.1? 4.1.2?
4.1.1 (this is the first gcc that supports eabi).
W
> > 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
> >
> > 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
On 03 Jul 2007, at 23:45, [EMAIL PROTECTED] wrote:
Luca,
> could you check bug 9191?
>
> http://www.freepascal.org/mantis/view.php?id=9191
if I try to compile, the linker complaints about not finding the
object dl, though dl.o and dl.ppu are present in the rtl/units/arm-
linux directory
En/na [EMAIL PROTECTED] ha escrit:
Luca,
> could you check bug 9191?
>
> http://www.freepascal.org/mantis/view.php?id=9191
if I try to compile, the linker complaints about not finding the object
dl, though dl.o and dl.ppu are present in the rtl/units/arm-linux
directory.
D:\FPC214\B1\BIN
Luca,
> could you check bug 9191?
>
> http://www.freepascal.org/mantis/view.php?id=9191
if I try to compile, the linker complaints about not finding the object dl, though dl.o and dl.ppu are present in the rtl/units/arm-linux directory.
D:\FPC214\B1\BINUTI~3\arm-linux-ld.exe: cannot find -ld
En/na Bernd Mueller ha escrit:
FPC 2.1.4 compiler built without softfloat option, running on an (little
endian) ARM processor without fpu on Linux, kernel version 2.6.21.1
(OABI).
ppcrossarm -gl datetostr_test.pas
could you check bug 9191?
http://www.freepascal.org/mantis/view.php?id=91
Am Dienstag, den 03.07.2007, 21:49 +0200 schrieb Bernd Mueller:
> Henry Vermaak wrote:
> > On 03/07/07, josepascual <[EMAIL PROTECTED]> wrote:
> >> Thank you henry,
> >>
> >> I have downloaded svn version 7943 how can I donwload svn 7929?
> >>
> >> How are you build fpc for arm? make clean crossall
josepascual wrote:
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 viol
On 03/07/07, Bernd Mueller <[EMAIL PROTECTED]> wrote:
Are you sure? If I remember right, using softfloat in conjunction with
fpc means, that the compiler never emits floating point operations. All
the floating point is going through the softfpu unit. This means, *if*
you have a fpu, you waste spe
En/na Henry Vermaak ha escrit:
I'm asking because jose original test program fails here, while the
above program correctly prints out 0.150
does the above work if you set a or be to a negative number? my
softfloat crashes with writeln(negative number).
Yes
maybe you should try fpc 2.3.1,
Henry Vermaak wrote:
On 03/07/07, josepascual <[EMAIL PROTECTED]> wrote:
Thank you henry,
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 SO
On 03/07/07, Luca Olivetti <[EMAIL PROTECTED]> wrote:
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 have a
En/na Henry Vermaak ha escrit:
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
On 03/07/07, josepascual <[EMAIL PROTECTED]> wrote:
Thank you henry,
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
En/na josepascual ha escrit:
I always receive
An unhandled exception occurred at $BEED89C8 :
EAccessViolation : Access violation
$BEED89C8
same here (only at a different address), though I have many funky errors
under arm that nobody else has.
Using self-built native fpc-2.1.4
[EMAIL PR
On 7/3/07, josepascual <[EMAIL PROTECTED]> wrote:
I have downloaded svn version 7943 how can I donwload svn 7929?
svn update -r 7929
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.or
> -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!
>
>
On 03/07/07, josepascual <[EMAIL PROTECTED]> wrote:
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.
works for me, using svn 7929, compiled for arm little endian wi
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
27 matches
Mail list logo