Re: [fpc-devel] cross copiling x86_64 to i386 ?

2012-08-30 Thread Dimitrios Chr. Ioannidis
Hi, 29/8/2012 10:05 ??, ?/? Sven Barth ??: Am 29.08.2012 01:23 schrieb Hans-Peter Diettrich drdiettri...@aol.com mailto:drdiettri...@aol.com: snip I wonder why Extended should not be supported in 64 bit mode. The FPU still exists, as it's required in 32 bit mode, and AFAIK it

Re: [fpc-devel] cross copiling x86_64 to i386 ?

2012-08-30 Thread Jonas Maebe
On 30 Aug 2012, at 23:29, Dimitrios Chr. Ioannidis wrote: Quoting from http://www.agner.org/optimize/calling_conventions.pdf : http://msdn.microsoft.com/en-us/library/ee418798(VS.85).aspx#Porting_to_64bit : The x87, MMX, and 3DNow! instruction sets are deprecated in 64-bit modes. The

Re: [fpc-devel] cross copiling x86_64 to i386 ?

2012-08-30 Thread Dimitrios Chr. Ioannidis
Jonas Hi, Στις 31/8/2012 12:49 πμ, ο/η Jonas Maebe έγραψε: On 30 Aug 2012, at 23:29, Dimitrios Chr. Ioannidis wrote: Quoting from http://www.agner.org/optimize/calling_conventions.pdf : http://msdn.microsoft.com/en-us/library/ee418798(VS.85).aspx#Porting_to_64bit : The x87, MMX, and 3DNow!

Re: [fpc-devel] cross copiling x86_64 to i386 ?

2012-08-30 Thread Hans-Peter Diettrich
Jonas Maebe schrieb: On 30 Aug 2012, at 23:50, Dimitrios Chr. Ioannidis wrote: The MMX and floating-point stack registers (MM0-MM7/ST0-ST7) are preserved across context switches. There is no explicit calling convention for these registers. The use of these registers is strictly prohibited in

Re: [fpc-devel] cross copiling x86_64 to i386 ?

2012-08-29 Thread Vincent Snijders
2012/8/28 Martin laza...@mfriebe.de: I might be doing something wrong. I was trying to build a cross compiler (well I took a script that is to build a arm cross, and only did a search and replace... So there is plenty of room for error on by side. Before I go and look deeper: Should it

Re: [fpc-devel] cross copiling x86_64 to i386 ?

2012-08-29 Thread Sven Barth
Am 29.08.2012 01:23 schrieb Hans-Peter Diettrich drdiettri...@aol.com: Martin schrieb: C:/FPC/tag_build_2_6_0/fpcsrc/compiler/ppcx64.exe -Ur -Xs -O2 -n -Fui386 -Fusystems -FuC:/fpc/tag_build_2_6_0/fpcsrc/rtl/units/x86_64-win64 -Fii386 -FE. -FUi386 /units/x86_64-win64 -dRELEASE -di386 -dGDB

[fpc-devel] cross copiling x86_64 to i386 ?

2012-08-28 Thread Martin
I might be doing something wrong. I was trying to build a cross compiler (well I took a script that is to build a arm cross, and only did a search and replace... So there is plenty of room for error on by side. Before I go and look deeper: Should it work. Or is the below correct and it is

Re: [fpc-devel] cross copiling x86_64 to i386 ?

2012-08-28 Thread Hans-Peter Diettrich
Martin schrieb: C:/FPC/tag_build_2_6_0/fpcsrc/compiler/ppcx64.exe -Ur -Xs -O2 -n -Fui386 -Fusystems -FuC:/fpc/tag_build_2_6_0/fpcsrc/rtl/units/x86_64-win64 -Fii386 -FE. -FUi386 /units/x86_64-win64 -dRELEASE -di386 -dGDB -dBROWSERLOG -Fux86 pp.pas fpcdefs.inc(160,2) Error: User defined: