Marco van de Voort writes:
It is possible to create a binary for amd64, but that binary doesn't work,
and I don't know why. FreeBSD keeps complaining it can't execute it.
Marco, since you were able to do this cross compile once, doesn't that mean
you have the cross-binutils for 6.2?
On Wednesday 06 June 2007 18:26:15 Francisco Reyes wrote:
Henry Vermaak writes:
also make sure that the compiler can find
your binutils (put it on the path).
I don't see a directory by that name. Is the directory called something
other than binutils?
I don't think I can help
Marco van de Voort writes:
Note that all of this is described in the buildfaq already published
earlier.
I thought I already had cross compiled.
I posted earlier what I used:
cd fpc
gmake distclean
# next all on one line
gmake all install CPU_TARGET=x86_64 OS_TARGET=freebsd
On 7 jun 2007, at 14:48, Francisco Reyes wrote:
Also when I do file ppcrossx64 it reports it is 32bits.
At least this is normal, since you are working on a 32 bit machine:
this is a cross compiler from 32 bits to 64 bits (i.e., the compiler
itself is a 32 bit program, but generates 64
On 07/06/07, Francisco Reyes [EMAIL PROTECTED] wrote:
I thought I already had cross compiled.
I posted earlier what I used:
cd fpc
gmake distclean
# next all on one line
gmake all install CPU_TARGET=x86_64 OS_TARGET=freebsd
CROSSBINDIR=/vol2/fp-amd/fpc/cross/bin BINUTILSPREFIX=x86_64-freebsd
Henry Vermaak writes:
this doesn't look right you've got BINUTILSPREFIX=x86_64-freebsd
-INSTALL_PREFIX=... where you should have
BINUTILSPREFIX=x86_64-freebsd- INSTALL_PREFIX=... (note the space
after freebsd)
did you copy in paste or is this a typo?
It was a typo.
Corrected. Thanks.
I
Francisco Reyes schreef:
Henry Vermaak writes:
this doesn't look right you've got BINUTILSPREFIX=x86_64-freebsd
-INSTALL_PREFIX=... where you should have
BINUTILSPREFIX=x86_64-freebsd- INSTALL_PREFIX=... (note the space
after freebsd)
did you copy in paste or is this a typo?
It was a typo.
On 07/06/07, Francisco Reyes [EMAIL PROTECTED] wrote:
So I copy /usr/bin/as to /vol2/fp-amd/fpc/crossbin and name it
x86_64-freebsd-as?
Did that.
no, this is wrong. there is a reason that they have the prefix. you
need to get the cross binutils that cross assembles and cross links
from
Henry Vermaak writes:
no, this is wrong. there is a reason that they have the prefix. you
need to get the cross binutils that cross assembles and cross links
from your platform to x86_64 freebsd.
Ok.
you might be able to download
them from somewhere or build them with a suitable
On 07/06/07, Francisco Reyes [EMAIL PROTECTED] wrote:
I have read it a few times, but it is likely that something that is obvious
to more experienced users is not clear to someone new like myself.
o.k., no problems, we all gotta learn ;) on which platform are you
compiling on at the moment?
Vincent Snijders writes:
x86_64/prt0.as:38: Error: `-16(%rbp)' is not a valid 32 bit base/index
expression
Can you manually assemble prt0.as?
Maybe the assembler needs --64 to be in 64 bits mode. In that case you may need to
write some wrapper scripts to add that parameter.
Even though
Henry Vermaak writes:
o.k., no problems, we all gotta learn ;) on which platform are you
compiling on at the moment? (sorry, i've lost the story line a bit)
Compiling on FreeBSD 6.2 i386
I started this whole project because the FreeBSD port doesn't compile in
amd64.
I have a laptop which
Marco van de Voort writes:
It is possible to create a binary for amd64, but that binary doesn't work,
and I don't know why. FreeBSD keeps complaining it can't execute it.
Marco, since you were able to do this cross compile once, doesn't that mean
you have the cross-binutils for 6.2? Any
Henry Vermaak writes:
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
To which directory do I point it to?
find . -name crt*
shows me that the only compiled rtl are in rtl/units/i386-freebsd
Was the
Henry Vermaak writes:
either change fpc.cfg, or pass the options to ppcrossx64. the
relevant lines in fpc.cfg are:
Where do I put that file?
I only see one file in /usr/local/etc that was installed from the port.
The other 2 I see are in fpcbuild instead of the fpc directory.
Do I create
Henry Vermaak writes:
usually fpc.cfg is configured to find the units, but because you
installed the compiled units in a different folder, you will need to
either change fpc.cfg
How do I tell the compiler where to look for the fpc.cfg?
I copied the fpc.cfg from my i386 machine, made the
Henry Vermaak writes:
you will also want to tell ppcrossx64 what your binutils prefix is by
using -XPx86_64-freebsd-. also make sure that the compiler can find
your binutils (put it on the path).
Based on some searching it seems I need to build the rtl in the AMD64
machine. After some
On Wednesday 06 June 2007 18:26:15 Francisco Reyes wrote:
Henry Vermaak writes:
also make sure that the compiler can find
your binutils (put it on the path).
I don't see a directory by that name. Is the directory called something
other than binutils?
I don't think I can help with the
cd ~/fpc
gmake distclean
# next all on one line
gmake all install CPU_TARGET=x86_64 OS_TARGET=freebsd CROSSBINDIR=~/cross/bin
BINUTILSPREFIX=x86_64-freebsd-INSTALL_PREFIX=/usr/local
First, there should be a space before INSTALL_PREFIX
Does the install_prefix at the end installs
Marco van de Voort writes:
Then you need to crosscompile (see http://www.stack.nl/~marcov/buildfaq.pdf
) to AMD64, and fix the problems in the end.
Done.
It is possible to create a binary for amd64, but that binary doesn't work,
and I don't know why. FreeBSD keeps complaining it can't
Marco van de Voort writes:
Yes. I tried to get it running on AMD64 (and the results are in SVN), but
the binary won't run and I don't fully understand why.
Is your work on the 2.1.4 Beta or I have to do SVN?
In particular I see sources from May 20 at
Marco van de Voort writes:
Yes. I tried to get it running on AMD64 (and the results are in SVN), but
the binary won't run and I don't fully understand why.
Is your work on the 2.1.4 Beta or I have to do SVN?
In particular I see sources from May 20 at
Marco van de Voort schrieb:
Marco van de Voort writes:
Yes. I tried to get it running on AMD64 (and the results are in SVN), but
the binary won't run and I don't fully understand why.
Is your work on the 2.1.4 Beta or I have to do SVN?
In particular I see sources from May 20 at
Marco van de Voort schrieb:
So you need:
- a starting compiler (2.0.4 or 2.1.4)
- a 2.3.x (development) snapshot or svn checkout, which are afaik on FTP's
server. Note that sourceforge only contains releases, not snapshots
Then you need to crosscompile (see
Marco van de Voort writes:
- a starting compiler (2.0.4 or 2.1.4)
Have it.
- a 2.3.x (development) snapshot or svn checkout, which are afaik on FTP's
server. Note that sourceforge only contains releases, not snapshots
Which directory?
drwxr-xr-x2 1001 1001 4096 Mar
Op Mon, 4 Jun 2007, schreef Francisco Reyes:
The source?
Exactly.
Daniël___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Marco van de Voort writes:
- a starting compiler (2.0.4 or 2.1.4)
Got 2.0.4
- a 2.3.x (development) snapshot
Got from ftp.
Then you need to crosscompile (see http://www.stack.nl/~marcov/buildfaq.pdf
) to AMD64, and fix the problems in the end.
Got it.
Trying to figure out the right
Just tried to install the FPC port in a AMD64 FreeBSD and got an error that
it was an i386 only port.
Is this a deficiency of the port in FreeBSD or is FPC only 32bits?
Yes. I tried to get it running on AMD64 (and the results are in SVN), but
the binary won't run and I don't fully
On Sun, 3 Jun 2007, Francisco Reyes wrote:
Just tried to install the FPC port in a AMD64 FreeBSD and got an error that it
was an i386 only port.
Is this a deficiency of the port in FreeBSD or is FPC only 32bits?
It's a deficiency of the port.
I run 64 bit FPC every day, even my Lazarus
Michael Van Canneyt ?:
It's a deficiency of the port.
I run 64 bit FPC every day, even my Lazarus is 64-bit :-)
Hmm.. Where I can get FPC port for FreeBSD-amd64?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
30 matches
Mail list logo