fpc-cross-x86-64 stable port information

Info2: <<
Package: fpc-cross-x86-64-%type_pkg[platform]
Version: 2.6.0
Revision: 1
Type: platform (linux freebsd win64)
Architecture: i386, x86_64
Depends: <<
(%m = x86_64) fpc,
(%m = i386) fpc-cross-common,
x86-64-%type_pkg[platform]-binutils
<<
Recommends: fpc-doc

Distribution: 10.6

CustomMirror: <<
eur-AT: ftp://gd.tuwien.ac.at/languages/pascal/fpc/
eur-BE: ftp://ftp.freepascal.org/pub/fpc/
eur-HU: ftp://ftp.hu.freepascal.org/pub/fpc/
eur-IL: http://mirror.mirimar.net/freepascal/
eur-NL: ftp://freepascal.stack.nl/mirrors/fpc/
eur-NO: ftp://ftp.no.freepascal.org/pub/fpc/
eur-RU: ftp://ftp.chg.ru/pub/lang/pascal/fpc/
Primary: ftp://ftp.freepascal.org/pub/fpc/
<<
Source: mirror:custom:/dist/%v/source/fpc-%v.source.tar.gz
Source-MD5: 0edf0d6f52e1e3fd6ef6836431f4d13b

SourceDirectory: fpc-%v

BuildDepends: fink (>= 0.24.12)

CompileScript: <<
#!/bin/sh -ev
# compile rtl and packages for X86-64
make rtl packages OPT="-ap" CPU_TARGET=x86_64 OS_TARGET=%type_pkg[platform]
<<

InstallScript: <<
#!/bin/sh -ev
make rtl_install packages_install OS_TARGET=%type_pkg[platform] CPU_TARGET=x86_64 INSTALL_PREFIX=%i CROSSINSTALL=1
<<

InfoTest: <<

TestScript: <<
#!/bin/sh -ev
# Build a trivial small program to test for fundamental flaws

cat >HelloWorld.pas < Program HelloWorld;
begin
writeln ('Hello World!');
end.
EOFTEST

fpc -Px86_64 -T%type_pkg[platform] -Furtl/units/x86_64-%type_pkg[platform] -XPx86_64-%type_pkg[platform]- HelloWorld.pas
<<
<<

License: GPL/LGPL

Description: FPC cross-compiler X86_64-%type_pkg[platform]

DescDetail: <<
Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal
compiler. Supported processors: Intel X86, Amd64/X86 64, PowerPC,
Sparc, ARM.
Supported operating systems: Linux, FreeBSD, Mac OS X/Darwin,
Mac OS classic, DOS, Win32, OS/2, Netware (libc and classic) and MorphOS.

The language syntax has excellent compatibility with TP 7.0 as well as
with most versions of Delphi (classes, rtti, exceptions, ansistrings,
widestrings, interfaces). A Mac Pascal compatibility mode is also provided
to assist users of previous Pascal compilers for the Mac.
Furthermore, Free Pascal supports function overloading, operator
overloading, global properties and other modern features.

http://wiki.freepascal.org/User_Changes_%v also lists changes in fpc.
<<

DescUsage: <<
This Free Pascal cross compiler produces X86 64bit code for Linux, FreeBSD
and Win64.

get help with: fpc -h

compile and link a Pascal file with:

fpc -Px86_64 -T%type_pkg[platform] FILENAME

For setting up the Free Pascal IDE see:
http://www.freepascal.org/wiki/index.php/Textmode_IDE
For using Free Pascal with Xcode see:
http://www.freepascal.org/xcode.html

For more documentation about Free Pascal in HTML and pdf, install fpc-doc.
<<

DescPort: <<
gain some speed by using pipes (-ap) to the assembler
<<

Homepage: http://www.freepascal.org

Maintainer: Karl-Michael Schindler
<<