[fpc-pascal] FPC only 32 bits?

Marco van de Voort marcov at stack.nl
Mon Jun 4 13:46:32 CEST 2007


> 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 
> http://sourceforge.net/project/showfiles.php?group_id=2174
> 
> What files do I need to download for the source distribution to try and 
> compile/test on amd64?

You can't compile on amd64, since you still have to create the compiler (and
debug the actual problem).

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 http://www.stack.nl/~marcov/buildfaq.pdf
) to AMD64, and fix the problems in the end.

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.



More information about the fpc-pascal mailing list