[fpc-pascal] fpc & Lazarus with 64-bit

Alain Michaud Alain.Michaud at nrc-cnrc.gc.ca
Mon Jul 3 02:00:12 CEST 2006


Hi,

  I wanted to install fpc/laz on a friend's AMD64 myself a fey days ago
in order to show the "power of FPC" but I realized quickly that AMD64 is
a different "animal". 

I can not answer any of your questions as I am not a developer. 

However I can say that there are as many platform to support as there
are developers! It seems that their big effort right now is towards
GTK-2 as the older (GTK-1) will soon not be supplied on some
distributions. I understand this is a big priority for them! 

Now for AMD 64: I think that there are some developers working on this.
The progress may not be as fast as one would like it to be, but we have
to understand that it is a lot of work for the very small group of
developers. If AMD64 becomes more popular, then the developers will
quickly want to use it too and quickly we will have something that
works. 

Now for pascal: there are endless discussions on this list about that.
The conclusions are always the same: 

Pascal will not die because we do not want that to die...

Cheers

Alain
 

p.s. If you find out what to do install lazarus on AMD 64, please let us
know.

Question - 1:

Once I have installed the module: fpc-2.0.2.x86_64-linux.tar then does
that means that I use the "regular" source code: fpc-2.0.2.source.tar.gz
in order to recompile FPC or to compile lazarus?

Question - 2 : 

Is there a special Lazarus version for AMD64 ? Does it work on AMD64 ?



On Sun, 2006-07-02 at 15:42 +0200, J.L. Blom wrote:
> Hi,
> I recently retrieved fpc-pascal 2.0.2a from the Lazarus download site
> together with Lazarus 0.9.16.
> System: AMD64 1 Gb mem. sufficient disk space, Linux 2.6.17-1.2139_FC5.
> My problems:
> 1.
> Starting "fp" freezes the terminal window. When I do "fp &", the window
> is accessible but the first keystroke stops fp.
> "fpc hello" (as said in the manual) doesn't work (neither from root nor
> from a user-terminal).
> "fpc helloworld" when in the helloworld directory works.
> 2. (I don't know if this is the right place)
> Installing Lazarus gives:
> "error: Failed dependencies:libgdk_pixbuf.so.2 is needed by
> lazarus-0.9.16-0.i386"
> However "locate libgdk_pixbuf.so.2" gives:
> "/usr/lib64/libgdk_pixbuf.so.2
> /usr/lib64/libgdk_pixbuf.so.2.0.0"
> I did this with the fpc retrieved from the lazarus site.
> TAfter removing fpc completely I installed fpc 2.0.2-4.fc5 (Fedora site)
> which of course caused lazarus to refuse to install.
> My conclusions:
> 1. fpc will compile programs on a 64-bit system.
> 2. The IDE is not tuned to a 64-bit system (strange however for a fedora
> 64-bit system)
> 3. The Lazarus rpm is not rigged for the 64-bit fpc.
> My questions:
> 1. Can programs compiled on a 64-bit system run on a 32-bit system (or
> is there a setting for it).
> 2. Does anybody have a solution as I'm a Pascal programmer from way back
> (started in 1985 with Borland Pascal for the Amstrad (does anybody
> remember this machine??)) and it is my opinion that Pascal is one of the
> best designed programming languages and fpc (I have tested it last year
> on a 32-bit system) a very good superset of the good old BPC 7.0.
> Therefore I would like to use it with Lazarus as a (sub?)set of Delphi.
> Thanks in advance
> Joep
> 
> 
> 
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list