* * *

Author Topic: FPC 2.6.2 released  (Read 42604 times)

goodname

  • Full Member
  • ***
  • Posts: 196
Re: FPC 2.6.2 released
« Reply #15 on: February 27, 2013, 04:18:20 am »
For using Lazarus 1.0.6 with FPC 2.6.2 there are four main install steps in the following order. Install FPC 2.6.2 compiler, copy FPC 2.6.2 source, change paths to point to 2.6.2, and rebuild Lazarus.

If you skip one of the first two steps Lazarus will complain about files not being found when changing paths.

If Lazarus states that the fpc.exe cannot be found make sure that the compiler is actually installed.

If Lazarus states that the source cannot be found then get the source. Copy the source files to a 2.6.2 folder similar to how Lazarus installed the 2.6.0 source.
« Last Edit: February 27, 2013, 04:27:08 am by goodname »

mariuz

  • New member
  • *
  • Posts: 25
    • http://flamerobin.org
Re: FPC 2.6.2 released
« Reply #16 on: February 27, 2013, 11:30:00 am »
News is now added to hackernews
http://news.ycombinator.com/item?id=5291122

Reddit http://www.reddit.com/r/programming/comments/19be26/free_pascal_262_is_released/

And FirebirdNews
http://www.firebirdnews.org/?p=8376

also is sent to the editors of h-online , lwn.net and lxer.com

« Last Edit: February 27, 2013, 12:06:50 pm by mariuz »

Leledumbo

  • Hero Member
  • *****
  • Posts: 5573
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: FPC 2.6.2 released
« Reply #17 on: February 27, 2013, 02:51:58 pm »
Quote
Lazarus 1.0.6 goes  always to 2.6.0 and not to 2.6.2
when i change the path,   a directory is not found

$(LazarusDir)fpc\$(FPCVer)\source  ->  C:\lazarus\fpc\2.6.2\source\   isn't there     :-(

What now ?
How do you install 2.6.2? Can you verify that it's 2.6.2 in your PATH (run fpc in your console/terminal and see the version mentioned)?

Deepaak

  • Full Member
  • ***
  • Posts: 235
Re: FPC 2.6.2 released
« Reply #18 on: February 27, 2013, 04:47:17 pm »
Lazarus 1.0.6 goes  always to 2.6.0 and not to 2.6.2
when i change the path,   a directory is not found

$(LazarusDir)fpc\$(FPCVer)\source  ->  C:\lazarus\fpc\2.6.2\source\   isn't there     :-(

What now ?

Firstly download the source package from the url below.

Code: [Select]
ftp://freepascal.stack.nl/pub/fpc/dist/2.6.2/source/fpc-2.6.2.source.zip
Then create a folder
Code: [Select]
C:\Lazarus\fpc\2.6.2\sourcein your case

and extract these folders at the above location
Code: [Select]
packages
rtl

example
Code: [Select]
C:\Lazarus\fpc\2.6.2\source\packages
C:\Lazarus\fpc\2.6.2\source\rtl


source path in Tools -> Options -> FPC Source
Code: [Select]
$(LazarusDir)fpc\$(FPCVer)\source is good to go.

done.

Happy Coding... :)

Wok

  • New member
  • *
  • Posts: 5
    • Woksoft
Re: FPC 2.6.2 released
« Reply #19 on: February 27, 2013, 11:58:36 pm »
Great,

Thx for the help :-)

anis2505

  • Full Member
  • ***
  • Posts: 163
Re: FPC 2.6.2 released
« Reply #20 on: March 01, 2013, 12:14:25 pm »
Hi,
I downloaded FPC 2.6.2 (.exe) and installed on Windows( on c:\Program files\bla bla bla)
then I dowwloaded the Lazarus SVN to c:\lazarus,
I added the lazarus folder to path and the 2.6.2 fpc already added
Then I tried to execute make on the c:\lazarus but I got
Quote
*** 1517 errors during make ***

Please how to do it.

regards
Dear Confucius you said {A picture is worth a thousand words}
I say {a good example is worth a thousand words}

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1430
Re: FPC 2.6.2 released
« Reply #21 on: March 01, 2013, 03:02:46 pm »
Then I tried to execute make on the c:\lazarus but I got
Quote
*** 1517 errors during make ***

Please how to do it.

This is the old problem with Borland's / Embarcadero's "make" which is not compatible with FPC's gnu "make".
There are 2 alternative solutions:
1. Delete or rename the make command in Delphi's bin directory.
2. Adjust your PATH so that FPC's make is found first.

Juha

BigChimp

  • Hero Member
  • *****
  • Posts: 5251
  • Add to the wiki - it's free ;)
    • FPCTwit twitter, PaperTiger scanning and other open source projects
Re: FPC 2.6.2 released
« Reply #22 on: March 01, 2013, 03:04:11 pm »
<shameless advert>
3. Download and run fpcup which makes sure the right make is used.
</advert>
But I'd go with Juha's number 2 advice...
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

howardpc

  • Hero Member
  • *****
  • Posts: 877
Re: FPC 2.6.2 released
« Reply #23 on: March 01, 2013, 03:07:38 pm »
Also it's not a good idea to put FPC in a subfolder of c:\Program Files (or c:\Program Files (x86).
You may find you cannot now remove it.
Far better to install FPC in its own directory away from system files and data (e.g. c:\FPC or similar).

anis2505

  • Full Member
  • ***
  • Posts: 163
Re: FPC 2.6.2 released
« Reply #24 on: March 01, 2013, 10:30:54 pm »
Then I tried to execute make on the c:\lazarus but I got
Quote
*** 1517 errors during make ***

Please how to do it.

This is the old problem with Borland's / Embarcadero's "make" which is not compatible with FPC's gnu "make".
There are 2 alternative solutions:
1. Delete or rename the make command in Delphi's bin directory.
2. Adjust your PATH so that FPC's make is found first.

Juha

Thanks option 2 worked great  ;).
Dear Confucius you said {A picture is worth a thousand words}
I say {a good example is worth a thousand words}

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads