On 01/09/11 00:45, Jonas Maebe wrote:
>
> On 09 Jan 2011, at 00:32, Benedikt Schindler wrote:
>
>> I think this is a problem with the 64Bit compiler.
>> In 32Bit this problem doesn't exist.
>
> What did you do to fix the linking of 32 bit programs on your s
Hello,
here is a upate on my problems with the actual svn version of fpc and
lazarus.
In 64Bit my fpc has still the problem to compile svn2revisioninc.
It rais an exception on the following line:
Application := TSvn2RevisionApplication.Create(nil);
I think this is a problem with the 64Bit compi
stopping
Fatal: Compilation aborted
has someone an idea what i could do to try if the 32bit version would
work on my computer?
best regards
Benedikt
On 01/03/11 12:45, Benedikt Schindler wrote:
> On 01/02/11 22:45, Benedikt Schindler wrote:
>> On 01/02/11 20:17, Mark Morgan Lloyd wr
On 01/02/11 22:45, Benedikt Schindler wrote:
> On 01/02/11 20:17, Mark Morgan Lloyd wrote:
>> Mark Morgan Lloyd wrote:
>>
>>>> i compiled it with the svn version of fpc and of lazarus.
>>>> still the same error.
>>>
>>> I've been having
On 01/02/11 20:17, Mark Morgan Lloyd wrote:
> Mark Morgan Lloyd wrote:
>
>>> i compiled it with the svn version of fpc and of lazarus.
>>> still the same error.
>>
>> I've been having problems on one particular machine over the last few
>> days which I suspect are down to inadequate RAM+swap- I th
On 01/02/11 17:09, Paul Ishenin wrote:
> 02.01.2011 22:57, Benedikt Schindler wrote:
>> hello,
>>
>> when i try to compile lazarus i get following error:
>> [compiler crash]
>>
>> has anyone an idea what this could be?
> If the compiler version is from o
hello,
when i try to compile lazarus i get following error:
Free Pascal Compiler version 2.5.1 [2011/01/02] for x86_64
Copyright (c) 1993-2010 by Florian Klaempfl
Note: Switching assembler to default source writing assembler
Target OS: Linux for x86-64
Compiling lazcontrols.pas
Compiling dividerb
>
> I just want to create shorter variables like
> si := StringList.NameOfIndex(TableName.FieldByName('').AsString);
> ae := xxx;
> so:= yyy
>
> to express complicated logic with them.
>
> When I put them all at the top of the procedure, they are extra
> noise,
>
>> - FreeOnTerminate should be gone, (meaning no way to actively call
>> TThread.Destroy from another thread, a thread gets destroyed
>> automatically when it leaves its execute method)
>> (IIRC FreeOnTerminate was even set to False by the default
>> constructor, so you had the choice of e
I mean it is declared 4 lines earlier. where is the difference to the
procedure DoRun ?
The problem is that you are using Delphi/TP-style procvar syntax in
source code compiled {$mode objfpc}. Either add @ in front of
DoOnReciveCommand when assigning it to DoRun, or change {$mode objfpc}
Hi,
i wrote a short test programm, to find out how to use the lnet unit.
And now i got some strange compiler messages. (FPC 2.2.2 for i386.)
The source Code is very short. So i just atached the hole cource code.
i got 2 compiler messsages and i think they are directly connected.
Here they are:
Is it just me, or is the wiki.freepascal.org server down?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
THX !
Now all my problems just walked away.
What a bugfix for the compiler could do :)
My first test programm is now running without problems on the Openmoko
Freerunner device.
@all: thx for the helping in the last 3 weeks.
Beni
Benedikt Schindler schrieb:
my last svn update was 13 days
my last svn update was 13 days ago.
I update my sources and recompile everything. (That will need some time)
i give you a status update later.
Beni
Jonas Maebe schrieb:
On 28 Apr 2009, at 13:48, Benedikt Schindler wrote:
[...]
All of your workarounds have one thing in common: they cause an
Hi,
i still try to get a gtk applicatoins running on my device.
And now i have found a work around for one error message.
But in reality it's not a work around. It's a: "i didn't realy change
anything, but it works now"
If i delete the changes again, the error raises again.
So maybe someone of
i now use this destructor:
--
destructor TGtk2WidgetSet.Destroy;
begin
if assigned(im_context) then
g_object_unref(im_context);
im_context:=nil;
im_context_widget:=nil;
inherited Destroy;
end;
--
now there is
i recompiled the hole fpc with the option "-gl" and the patch Paul
Ishenin mentioned.
there is still a problem with programms, that wonna use windows.
console prorgamms just work fine.
if i try to run a lazarus programm i get this backtrace.
---
(gd
Unit B should just work if it is named "Programm B"
In a Unit there didn't just exist a begin. (as far as i know my
programms :) )
The initialization section is called when the unit is linked the first
time into the programm by a "uses" class.
so it is called before everithing else is going o
Backtrace of a programm with just an empty window.
programm was compiled with "-O- -dFPC_ARMEL -dFPC_ABI_EABI -gl"
Program received signal SIGILL, Illegal instruction.
0x0002057c in SYSTEM_FPC_CPUCODEINIT ()
(gdb) bt
#0 0x0002057c in SYST
i got 128MB of RAM and i have a swap file of 250MB.
compiling the projects manually works fine.
no error from the compiler.
That would be all i need, but still the compiled programm don't run.
I will now try the patch Paul Ishenin told me.
Beni
Henry Vermaak schrieb:
2009/4/15 Ben
Violation
Exception=Access violation
Stack trace:
$4052D860
$00158AAC
$00039178
$000388B4
$00031A1C
$00019A8C
TApplication.HandleException Access violation
Stack trace:
$4052D860
$00158AAC
$00039178
$000388B4
$00031A1C
$00019A8C
[FORMS.PP] ExceptionOccurred
Benedikt Schindler schrieb:
H
Hi,
i try to compile lazarus and i get a "make[2]: *** [lazarus] Killed".
there is no more information about what error raised.
In dmesg i just get :
[495850.88] select 1 (init), adj 0, size 61, to kill
[495850.88] select 8544 (dropbear), adj 0, size 109, to kill
[495850.88] select 9
Hi,
when i try to compile lazarus i get a error message "absolute can only
be associated with a var or const"
did someone have an idea why this happens?
do i have to be in a special Pascal language mode, to compile lazarus?
# Pascal language mode
# -Mfpc free pascal dialect (defaul
configuration steps.
and here we are, we could compile our heloworld.pas
that means, if you confirm that it also works by you
Beni
ik schrieb:
Great !
How exactly did you build FPC ?
Is the exactly like the last instruction that you made, or you have
changed something (or changed so
hi,
i don't know if you still wonna install a full fpc on your freerunner.
but if it is so, you could download a working version from this place :
http://www.my-distribution.org/files/fpc-2.3.x-arm-20090319.tar.gz
(all files in a subdirectory called "fpc-2.3.x-arm" )
http://www.my-distribut
Hi,
i am comming back to the beginning of this thread and back to the real
problem :)
i now found out, that if i use my crosscompiled version of FPC i get
also this EABI version error.
if i use my FPC that i have compiled direct on the device, i have no
error messages.
so i think there is a
Jonas Maebe schrieb:
[...]
Maybe it runs out of memory? The gtk2 unit is quite big.
Jonas
your right.
i freed some memory and then it compiled without problems.
thx to all.
Beni
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://li
Henry Vermaak schrieb:
2009/4/7 Benedikt Schindler :
[...]
any reason why you are trying to build fpc natively? this wastes a
lot of time. you can just use the openmoko toolchain and cross
compile everything.
henry
___
fpc-pascal maillist
Hi,
i managed to crosscompile a ppcarm for the openmoko device.
then i tried to compile the fpc direct on the device.
After a long time where everything looks fine he abborted compiling with
an error (see below)
any ideas?
i also don't know, if it is a problem that my distribution has no
"/e
he
freerunner.
cu Beni
P.S.: did you have a "/etc/ld.so.conf" on your device?
ik schrieb:
It seems to display the help.
How did you do that ?
Ido
On Tue, Apr 7, 2009 at 12:34 PM, Benedikt Schindler
mailto:benischind...@gmx.de>> wrote:
im using a FSO5 image for test
thx.
yes it was a plain copy.
it also worked with the crosscompiled data2inc programm.
Beni
Jonas Maebe schrieb:
On 07 Apr 2009, at 10:23, Benedikt Schindler wrote:
it stopped with errors the data2inc programm seems to be build
not early enough.
It should simply not be necessary
ycle] Error 2
make[2]: Leaving directory `/media/mmcblk0p3/fpcbuild-2.3.x/fpcsrc'
make[1]: *** [build-stamp.arm-linux] Error 2
make[1]: Leaving directory `/media/mmcblk0p3/fpcbuild-2.3.x/fpcsrc'
make: *** [fpcsrc/build-stamp.arm-linux] Error 2
r...@om-gta02:/media/mmcblk0p3/fpcbuild-2.3.x
Hi,
i also try to get free pascal running on my freerunner.
i needed many tries to get a running ppcarm for my device.
(In reality i didn't know why it worked in the last run ... but it did,
and so i don't ask :) )
now i let the freerunner recompile the hole fpcbuild.
But that could take some
Hi,
the file from Florian didn't work. But i looked around in the mailing
lists and now i try to crosscompile a new version for
the openmoko device.
I crosscompiled binutils for "arm4tl-unknown-linux".
and then i tried to cross compile the FPC (2.3.x) with this command:
make all OS_TARGET=li
rogramming.
please give me a hint where to start.
because i really would like to programm in freepascal for the openmoko
freerunner device.
best regards
benedikt
Benedikt Schindler schrieb:
same problem with this test.
just the output "Illegal instruction".
nothing in dmesg.
---
same problem with this test.
just the output "Illegal instruction".
nothing in dmesg.
---
r...@om-gta02:/opt/test# tar -xvzf HelloWorld-fpc-2.2.2.arm-linux.tar.gz
copying
copying.fpc
hello.pas
ppcarm
prt0.o
system.o
system.ppu
TurboControlDistributionReadMe.txt
r...@om-gta02:/
Hi,
i installed fpc-2.2.2 with the arm-linux-binaries from the main page.
the installation finished with no problems.
but when i try to use on of the installed programms (e.g. ppcarm, fpc or
fpcmake) i get a "Illegal instruction" error.
What ARM CPUs are supported by FPC?
My cpu info :
r...@
37 matches
Mail list logo