Hi
I only noticed now the discussion on the mailing list about fpc 2.2.1
and lazarus on Mac OS X. As the maintainer of the .info files of fpc
and lazarus I should probably lay out my ideas about the future.
The next step is fpc 2.2.2. It should resolve some of the issues in a
clean way an
Hi, I tried to build a crosscompiler for palmos-arm and palmos-m68k but
both failed to compile.
Here's the results for m68k
make[5]: Entering directory `/home/andrew/programming/fpc/rtl/palmos'
/usr/bin/mkdir -p /home/andrew/programming/fpc/rtl/units/m68k-palmos
make[5]: *** No rule to make targe
2008/6/3 Luca Olivetti <[EMAIL PROTECTED]>:
>
> the syscall number should be put in r7
> Also the alignment of the parameters in the registers is different.
> Of course I cannot make head or tails of syscall.inc, so it's possible that
> everything is already done as it should be.
mov r7, r0 puts t
En/na Luca Olivetti ha escrit:
En/na Luca Olivetti ha escrit:
En/na Luca Olivetti ha escrit:
The following program:
program hello;
begin
writeln('hello');
end.
runs but it doesn't print anything, neither under scratchbox nor on
the tablet.
I installed strace on the tablet:
~ $ strace ./
En/na Luca Olivetti ha escrit:
En/na Luca Olivetti ha escrit:
The following program:
program hello;
begin
writeln('hello');
end.
runs but it doesn't print anything, neither under scratchbox nor on
the tablet.
I installed strace on the tablet:
~ $ strace ./hello
execve("./hello", ["./hell
En/na Luca Olivetti ha escrit:
The following program:
program hello;
begin
writeln('hello');
end.
runs but it doesn't print anything, neither under scratchbox nor on the
tablet.
I installed strace on the tablet:
~ $ strace ./hello
execve("./hello", ["./hello"], [/* 59 vars */]) = 0
syscal
En/na Henry Vermaak ha escrit:
2008/6/3 Henry Vermaak <[EMAIL PROTECTED]>:
2008/6/3 Henry Vermaak <[EMAIL PROTECTED]>:
2008/6/3 Henry Vermaak <[EMAIL PROTECTED]>:
more info (everything compiled with -dFPC_ARMEL -O- -gl):
[EMAIL PROTECTED]:~/source/armtest$ qemu-arm armtest
Error: Bad syscall:
Am Dienstag, den 03.06.2008, 15:41 +0200 schrieb Michael Van Canneyt:
>
> On Tue, 3 Jun 2008, Marc Santhoff wrote:
>
> > Hi,
> >
> > is it possible to have an array initialized with variables?
> >
> > I tried sth. like this (by accident, not intentionally):
> >
> > const
> > ctypes: array
Henry Vermaak escribió:
yes, this works for me. luca, can you try?
Not now (busy at work), later today maybe.
--
Luca
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Henry Vermaak schrieb:
Const
+{$ifdef FPC_ABI_EABI}
+ syscall_nr_base = $0;
+{$else FPC_ABI_EABI}
syscall_nr_base = $90;
+{$endif FPC_ABI_EABI}
but i'll confirm in a while.
yes, this works for me.
Fixed in svn.
___
fpc-pascal maillist -
On Tue, 3 Jun 2008, Marc Santhoff wrote:
> Hi,
>
> is it possible to have an array initialized with variables?
>
> I tried sth. like this (by accident, not intentionally):
>
> const
> ctypes: array [0..9] of hid_t =
> (
> H5T_NATIVE_INT, H5T_C_S1, H5T_C_S1, H5T_C_S1,
> A creative idea:
Not really, Microsoft is advocating this kind of stuff on .NET basis as LINQ
for a few years now. Albeit a bit more functional oriented.
Also, read:
http://www.freepascal.org/faq.var#extensionselect
such loose cannon ideas are pretty useless without a real survey of its
implem
2008/6/3 Henry Vermaak <[EMAIL PROTECTED]>:
> 2008/6/3 Henry Vermaak <[EMAIL PROTECTED]>:
>> 2008/6/3 Henry Vermaak <[EMAIL PROTECTED]>:
>>>
>>> more info (everything compiled with -dFPC_ARMEL -O- -gl):
>>>
>>> [EMAIL PROTECTED]:~/source/armtest$ qemu-arm armtest
>>> Error: Bad syscall: 90004c
>>>
2008/6/3 Henry Vermaak <[EMAIL PROTECTED]>:
> 2008/6/3 Henry Vermaak <[EMAIL PROTECTED]>:
>>
>> more info (everything compiled with -dFPC_ARMEL -O- -gl):
>>
>> [EMAIL PROTECTED]:~/source/armtest$ qemu-arm armtest
>> Error: Bad syscall: 90004c
>> qemu: unhandled CPU exception 0x2 - aborting
>> R00=f
2008/6/3 Henry Vermaak <[EMAIL PROTECTED]>:
>
> more info (everything compiled with -dFPC_ARMEL -O- -gl):
>
> [EMAIL PROTECTED]:~/source/armtest$ qemu-arm armtest
> Error: Bad syscall: 90004c
> qemu: unhandled CPU exception 0x2 - aborting
> R00=ffda R01=4007f750 R02=4007f758 R03=
> R04=
2008/6/2 Luca Olivetti <[EMAIL PROTECTED]>:
> En/na Luca Olivetti ha escrit:
>
>> I guess I'll stick to i386 for a while ;-)
>
> I really think I should. I created a full cross compiler just like Florian
> :-D
> I compiled a simple hello world and it doesn't run (like the compiler):
>
> sbox-CHINOO
Hi,
is it possible to have an array initialized with variables?
I tried sth. like this (by accident, not intentionally):
const
ctypes: array [0..9] of hid_t =
(
H5T_NATIVE_INT, H5T_C_S1, H5T_C_S1, H5T_C_S1, H5T_C_S1,
H5T_C_S1, H5T_C_S1, H5T_C_S1, H
A creative idea:
procedure Query(trick: Array of Const);
begin
for i:=
CASE
// interesting code here
end;
const SELECT = 1; // token
WHERE = 2; // token
FROM = 3; // token
INSERT = 4; // token
begin
Query([SELECT, 'foo', FROM, 'bar'])
Query([INSERT, INTO, 'bar', WHERE
18 matches
Mail list logo