[fpc-devel] A little patch to improve the haiku target

2008-05-31 Thread Olivier Coursière

Hi,

This patch add :
- a little more native rtl: it use a native haiku library for select 
function instead of relying on a compatibility symlink

- haiku in the list of target that support the ide
- some more fix in some packages

A make zipinstall should now work out of the box under Haiku.

Olivier


haiku_build_fix_r11134.diff
Description: Binary data
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] FPCMacOSAll

2008-05-31 Thread Jonas Maebe

Hello,

The FPCMacOSAll unit has been renamed to MacOSAll (both for 2.3.1 and  
2.2.1). The reason is that the same has been done in the Common Pascal  
Interfaces repository from which we import it. And the reason it has  
been done there, is that these Common Pascal Interfaces can be used  
with FPC, GPC and Metrowerks Pascal, and it doesn't make sense to  
force people to add ifdefs to their source for a unit which is  
virtually identical for all three compilers.


If you require compatibility with previously released FPC versions,  
you can use the following:


uses
{$if defined(VER2_2_0) or defined(VER2_0_4)}
 FPCMacOSAll
{$else}
 MacOSAll
{$endif}
 ;


Jonas
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-05-31 Thread Yury Sidorov

From: Nataraj S Narayan

Hi Florian and other friends

I am involved in porting existing C code to Arm Linux for 
AT91SAM9263 Ek board with 340x220 display. I need to write

lots of console kinda apps.
I am using a "qemu-system-arm" emulated  Armel Debian machine on a
Debian x86 Lenny distro for writing code. I installed 
fpc-2.2.0.arm-linux.tar on the emulated linux.Which compiling a
simple helloworld.pas , i get the classic error of System.o  being 
EABI 0 while target is EABI 4.


I have got the svn download of fpc, and trying to compile it in the 
emulated machine for ARM for the past 2 days.  I
have given :-make clean all ARCH=arm OPT="-CfSoft".Its compiling for 
quite long and finally comes to rest endlessly
while compiling system.pp.Let me remind you that i am dont use a 
Cross compiler, but an emulated Arm machine.


Try to crosscompile fpc 2.2.1 or 2.3.1 compiler binary and then use 
this binary as starting compiler on arm machine.


Yury. 
___

fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-05-31 Thread Luca Olivetti

En/na Yury Sidorov ha escrit:



Try to crosscompile fpc 2.2.1 or 2.3.1 compiler binary and then use this 
binary as starting compiler on arm machine.


In my case, before trying to compile using the native 2.2.0, I tried 
crosscompiling from linux/i386, but:


$ make all install CPU_TARGET=arm 
CROSSBINDIR=/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin 
BINUTILSPREFIX=arm-linux- CPU_T CROSSOPT='-CfSOFT -darm -dFPC-ARMEL -gl'

Makefile:129: *** Compiler ppcrossarm not found.  Stop.


Bye
--
Luca
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-05-31 Thread Jonas Maebe


On 31 May 2008, at 22:02, Luca Olivetti wrote:


En/na Yury Sidorov ha escrit:

Try to crosscompile fpc 2.2.1 or 2.3.1 compiler binary and then use  
this binary as starting compiler on arm machine.


In my case, before trying to compile using the native 2.2.0, I tried  
crosscompiling from linux/i386, but:


$ make all install CPU_TARGET=arm CROSSBINDIR=/scratchbox/compilers/ 
cs2005q3.2-glibc2.5-arm/bin BINUTILSPREFIX=arm-linux- CPU_T  
CROSSOPT='-CfSOFT -darm -dFPC-ARMEL -gl'

Makefile:129: *** Compiler ppcrossarm not found.  Stop.


Add

FPC=/full/path/to/ppc386-2.2.1 (or 2.3.1, depending on which version  
you are trying to compiler for ARM; in any case, make sure you use the  
same version of ppc386 as starting compiler)





Jonas
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] A little patch to improve the haiku target

2008-05-31 Thread Florian Klaempfl

Olivier Coursière schrieb:

Hi,

This patch add :
- a little more native rtl: it use a native haiku library for select 
function instead of relying on a compatibility symlink

- haiku in the list of target that support the ide
- some more fix in some packages


Applied.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel