Re: [fpc-devel] cross copiling x86_64 to i386 ?
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 work. Or is the below correct and it is not yet possible? 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: Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time fpcdefs.inc(160,2) Error: User defined: Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time fpcdefs.inc(160,2) Error: User defined: Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time cutils.pas(154,1) Fatal: There were 3 errors compiling module, stopping Fatal: Compilation aborted AFAIK, 80 bits floating point (extended) is not supported on win64 by Microsoft (it is on linux 64 bits). For consequences see the user defined errors, which explain it. Remedy is writing/ / using softfloat emulation for calcutions in the compiler that require extended precision when targeting i386. Vincent ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] cross copiling x86_64 to i386 ?
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 -dBROWSERLOG -Fux86 pp.pas fpcdefs.inc(160,2) Error: User defined: Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time 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 also is accessible in 64 bit code. Of course the FPU doesn't work together with the MMX/MMY registers, but for the few conversions required in a compiler this should not be a big problem? The FPU is used on every x86_64 platform except Win64, because Microsoft says that we (as in developers) should not use the FPU on Win64, because it is considered deprecated there. Technically it is definitely possible, but if in Rome, do as the Romans do... Regards, Sven ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
[fpc-devel] Lazarus 1.0 Release
The Lazarus team is glad to announce the release of: Lazarus 1.0 At this important stage the current team would like to thank all the past and current people who were involved in getting us here. * Thanks also go to the FPC team for providing the compiler that makes it all possible. * Special thanks go to the founders of the project who started Lazarus more than a decade ago in 1999: Cliff Baeseman, Shane Miller and Michael A. Hess. * A history of developers involved can be found at http://wiki.lazarus.freepascal.org/History. And a list of the many contributors comes with the distribution. The release is available for download at the SourceForge download page: http://sourceforge.net/projects/lazarus/files/ Choose your CPU, OS, distro and then the Lazarus 1.0 directory. Minimum requirements: Windows: 98, 2k, XP, Vista, 7, 32 or 64bit FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit Mac OS X: 10.4, LCL only 32bit, non LCL apps can be 64bit This release has been built with fpc 2.6.0 (the former release 0.9.30.4 was built with that too). The svn tag is http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_0 The list of changes: http://wiki.lazarus.freepascal.org/Lazarus_1.0_release_notes For people who are blocked by SF, the Lazarus releases from sourceforge are mirrored at: ftp://freepascal.dfmk.hu/pub/lazarus/releases/ and later at (after some time for synchronization) http://michael-ep3.physik.uni-halle.de/Lazarus/releases/ and http://mirrors.iwi.me/lazarus/ Mattias ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
[fpc-devel] push [rdx]
Does anyone know if that is valid intel style assembler? push [rdx] FPC complains (on intel /win 64 bit). It's from PascalScript code. (Source\x64.inc) I wonder how to get it work... ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] push [rdx]
30.08.2012 2:50, Martin пишет: Does anyone know if that is valid intel style assembler? push [rdx] When an instruction has no register operands, it needs operand size to be explicitly specified: push qword ptr [rdx] FPC complains (on intel /win 64 bit). It's from PascalScript code. (Source\x64.inc) I wonder how to get it work... Regards, Sergei ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel