Re: [fpc-devel] first results of using fpc resources instead of lazarus resources

2009-11-30 Thread Michael Van Canneyt
On Mon, 30 Nov 2009, Paul Ishenin wrote: Hello, FPC developers' list. This weekend Mattias has implemented an option for the IDE to use FPC resources for projects and packages. Loading of forms from such resources were made before so there are no more limitations to start use them instead

Re: [fpc-devel] first results of using fpc resources instead of lazarus resources

2009-11-30 Thread Paul Ishenin
Michael Van Canneyt wrote: Some questions: 1. Isn't it lazarus that eats the error ? no 2. Is the error you show here a FPCres error ? If 2 is correct (and I think it is), the compiler has no power over what fpcres outputs to screen. First error Error while compiling resources is a

Re: [fpc-devel] first results of using fpc resources instead of lazarus resources

2009-11-30 Thread Michael Van Canneyt
On Mon, 30 Nov 2009, Paul Ishenin wrote: Michael Van Canneyt wrote: Some questions: 1. Isn't it lazarus that eats the error ? no 2. Is the error you show here a FPCres error ? If 2 is correct (and I think it is), the compiler has no power over what fpcres outputs to screen. First

Re: [fpc-devel] first results of using fpc resources instead of lazarus resources

2009-11-30 Thread Mattias Gaertner
On Mon, 30 Nov 2009 11:33:03 +0700 Paul Ishenin i...@kmiac.ru wrote: Hello, FPC developers' list. This weekend Mattias has implemented an option for the IDE to use FPC resources for projects and packages. Loading of forms from such resources were made before so there are no more

Re: [fpc-devel] first results of using fpc resources instead of lazarus resources

2009-11-30 Thread Michael Van Canneyt
On Mon, 30 Nov 2009, Paul Ishenin wrote: Michael Van Canneyt wrote: Are you doing this on windows or on linux ? Can you provide a small test program, so I can test ? On windows. Small test is in the attachment. I found a hint. When Lazbuild is used to build the project, fpcres doesn't

Re: [fpc-devel] first results of using fpc resources instead of lazarus resources

2009-11-30 Thread Paul Ishenin
Mattias Gaertner wrote: Some clarifications: The option does nothing at the moment. The IDE auto detects if an unit uses $R or $I .lrs. If it uses $R then the IDE will not update/create the .lrs file. So the fpc resources work even if you do not set the option or if you mix resource types.

Re: [fpc-devel] first results of using fpc resources instead of lazarus resources

2009-11-30 Thread Mattias Gaertner
On Mon, 30 Nov 2009 17:19:20 +0700 Paul Ishenin i...@kmiac.ru wrote: Mattias Gaertner wrote: Some clarifications: The option does nothing at the moment. The IDE auto detects if an unit uses $R or $I .lrs. If it uses $R then the IDE will not update/create the .lrs file. So the fpc

[fpc-devel] error when crosscompile for arm

2009-11-30 Thread Dariusz Mazur
Hi I receive error while compile for arm selected processor does not support 'ldfd f0,[r11,#-48]' this is from simple function, but when I move them to main unit everything is compiled OK what does it mean? -- Darek ___ fpc-devel maillist -

[fpc-devel] ARM Illegal instruction debugging howto

2009-11-30 Thread ik
Hello, I'm working (when I have time) to find a way to create an OpenMoko FPC version. It uses ARM EABI version. My latest attempt provides me the following executable: ELF 32-bit LSB executable, ARM, version 1, statically linked, not stripped While on regular Linux the same file identifier is:

Re: [fpc-devel] first results of using fpc resources instead of lazarus resources

2009-11-30 Thread Giulio Bernardi
Mattias Gaertner ha scritto: On Mon, 30 Nov 2009 17:19:20 +0700 Paul Ishenin i...@kmiac.ru wrote: Mattias Gaertner wrote: Some clarifications: The option does nothing at the moment. The IDE auto detects if an unit uses $R or $I .lrs. If it uses $R then the IDE will not update/create the .lrs

Re: [fpc-devel] ARM Illegal instruction debugging howto

2009-11-30 Thread Jonas Maebe
On 30 Nov 2009, at 22:22, ik wrote: It uses ARM EABI version. My latest attempt provides me the following executable: ELF 32-bit LSB executable, ARM, version 1, statically linked, not stripped While on regular Linux the same file identifier is: hello: ELF 64-bit LSB executable, x86-64,

Re: [fpc-devel] error when crosscompile for arm

2009-11-30 Thread Dariusz Mazur
Jonas Maebe pisze: On 30 Nov 2009, at 17:47, Dariusz Mazur wrote: I receive error while compile for arm selected processor does not support 'ldfd f0,[r11,#-48]' Add -Cfsoft to your compiler options to use softfloat instead of FPA. I've had this option enable this is from

Re: [fpc-devel] first results of using fpc resources instead of lazarus resources

2009-11-30 Thread Mattias Gaertner
On Mon, 30 Nov 2009 22:59:45 +0100 Giulio Bernardi ugi...@gmail.com wrote: Mattias Gaertner ha scritto: On Mon, 30 Nov 2009 17:19:20 +0700 Paul Ishenin i...@kmiac.ru wrote: Mattias Gaertner wrote: Some clarifications: The option does nothing at the moment. The IDE auto detects

Re: [fpc-devel] error when crosscompile for arm

2009-11-30 Thread Jonas Maebe
On 30 Nov 2009, at 23:14, Dariusz Mazur wrote: Jonas Maebe pisze: On 30 Nov 2009, at 17:47, Dariusz Mazur wrote: I receive error while compile for arm selected processor does not support 'ldfd f0,[r11,#-48]' Add -Cfsoft to your compiler options to use softfloat instead of FPA.

Re: [fpc-devel] error when crosscompile for arm

2009-11-30 Thread Dariusz Mazur
this is from simple function, but when I move them to main unit everything is compiled OK what does it mean? I don't know why it doesn't happen in that case. If units I have compiler directive $E- (emulation of FPU) Is this still about moving the function to another

[fpc-devel] fpc.cfg Question

2009-11-30 Thread Andrew Haines
Hi, I tried to modify my fpc.cfg like so: #IFDEF arm -XParm-wince- -Xd #ENDIF #IFDEF i386 -Xd -Fl/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/32 -Fl/emul/linux/x86/usr/lib32 -Fl/emul/linux/x86/lib -Fl/lib32 -Fl/usr/lib32 -Fl/usr/local/lib32 #ENDIF I have a ppc386(linux) and also ppcarm(wince) my