Recent

Author Topic: FPC 2.6.0. changing to FPC 2.7.1  (Read 7766 times)

Middlecope

  • Jr. Member
  • **
  • Posts: 92
FPC 2.6.0. changing to FPC 2.7.1
« on: March 30, 2012, 05:11:18 pm »
Compiling fpc 2.7.1
With subversion the source code of fpc was downloaded in /home/myself/fpc
svn co http://svn.freepascal.org/svn/fpc/trunk fpc
The compiler fpc-2.6.0-1.x86_64.rpm was installed.
mkdir /home/myself/fpc271
In the /home/myself/fpc dir I gave the command
"make clean all install INSTALL_PREFIX=/home/myself/fpc271"
All went well.
cd /home/myself/fpc271/lib/fpc/2.7.1
I give the command "ppcx64 x" and it still shows me Compiler version 2.6.0
The size of it is 2901240 B definitly bigger than the old one.
Another question:
I expected ~/lib64 to be created instead of ~/lib64
How shall I continue?
Thanks for your attention!

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: FPC 2.6.0. changing to FPC 2.7.1
« Reply #1 on: March 30, 2012, 08:20:47 pm »
/usr/local/bin/ppcx64 is symlink to /usr/local/lib/fpc/2.5.1/ppcx64 (in my case). You have to change it manualy. Maybe you will have to edit /etc/fpc.cfg too.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Middlecope

  • Jr. Member
  • **
  • Posts: 92
Re: FPC 2.6.0. changing to FPC 2.7.1
« Reply #2 on: March 31, 2012, 10:29:30 pm »
Thanks for your comment.
The symlink is not the problem.
Why I don't SEE the correct version makes me wondering.
And also the ~/lib that is created instead of ~/lib64
Anyway everything runs fine.
I needed the new version for try-out of the MySQL55conn. and it's OK

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: FPC 2.6.0. changing to FPC 2.7.1
« Reply #3 on: April 01, 2012, 05:47:43 am »
Quote
The symlink is not the problem.
Why I don't SEE the correct version makes me wondering.
Did you mean the ppcx64 you execute is a true file? As Blaazen has pointed, it should be a symlink to ppxc64 under $(YourTopInstallationDir)/lib/fpc/2.7.1/ppcx64. Otherwise you might still execute the old binary. Verify by running:
Code: [Select]
which ppcx64and ensure it points to your new ppcx64.

Middlecope

  • Jr. Member
  • **
  • Posts: 92
Re: FPC 2.6.0. changing to FPC 2.7.1
« Reply #4 on: April 01, 2012, 04:51:00 pm »
I am sory.
I activated the wrong one.
I did some cleaning and placed ppcx64 in /home/myself/bin
Now it tells me version 2.7.1

 

TinyPortal © 2005-2018