Recent

Author Topic: [SOLVED] FPC 2.7.1  (Read 11761 times)

Deepaak

  • Sr. Member
  • ****
  • Posts: 454
[SOLVED] FPC 2.7.1
« on: September 14, 2014, 10:17:29 am »
I have downloaded snapshot of fpc 2.7.1 win32 i386 zip file from freepascal, but it contains very less file in bin directory in compared to fpc 2.6.4 bin directory. Can i replace the missing file from fpc 2.6.4 bin directory to fpc 2.7.1 bin directory or else the remaining files can be downloaded elsewhere. Please guide
« Last Edit: September 22, 2014, 11:36:19 am by Deepaak »
Holiday season is online now. :-)

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPC 2.7.1
« Reply #1 on: September 14, 2014, 10:55:30 am »
You're probably missing the binutils.
Some things have changed e.g. make 3.82 versus make 3.80 so just copying 2.6.4 may not be good enough.
Look at e.g. fpcup source code for the location (ftp.freepascal.org/something) - don't know location by heart

PS: Are you sure you have the 2.7.1 version that you want? Is it up-to-date enough?

<advertisement - guess who wrote fpcup>
Or.... rather than messing with this yourself you could just use fpcup to get everything you want.
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

Deepaak

  • Sr. Member
  • ****
  • Posts: 454
Re: FPC 2.7.1
« Reply #2 on: September 14, 2014, 11:17:13 am »
You're probably missing the binutils.
Some things have changed e.g. make 3.82 versus make 3.80 so just copying 2.6.4 may not be good enough.
Look at e.g. fpcup source code for the location (ftp.freepascal.org/something) - don't know location by heart

PS: Are you sure you have the 2.7.1 version that you want? Is it up-to-date enough?


Yes, Its 2.7.1 used svn client and binary from ftp freepascal.org dated: 11-sept- 2014

Where to get binutils for fpc 2.7.1
Holiday season is online now. :-)

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPC 2.7.1
« Reply #3 on: September 14, 2014, 11:27:02 am »
Svn client and binary from ftp? Weird. I don't even see what that means.

As for your binutils question: see above. It's really listed there. Honestly.
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

Deepaak

  • Sr. Member
  • ****
  • Posts: 454
Re: FPC 2.7.1
« Reply #4 on: September 14, 2014, 12:03:47 pm »
Svn client and binary from ftp? Weird. I don't even see what that means.

As for your binutils question: see above. It's really listed there. Honestly.

I have downloaded the binary from
ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/i386-win32/fpc-2.7.1.i386- win32.zip

And source from svn
svn checkout http://svn.freepascal.org/svn/fpc/trunk fpc

And where to get fpcup sourcecode?
Holiday season is online now. :-)

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: FPC 2.7.1
« Reply #5 on: September 14, 2014, 12:27:00 pm »
Once you downloaded sources from SVN, why you download binary 2.7.1? Isn't more handy to compile yourself from sources?
Note that you need the latest stable FPC (now it's 2.6.4) to compile SVN. You can try it with 2.7.1 since you already downloaded it but it's not guaranteed.
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/

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPC 2.7.1
« Reply #6 on: September 14, 2014, 12:29:32 pm »
And where to get fpcup sourcecode?
https://bitbucket.org/reiniero/fpcup/src

or via mercurial/hg or
download a zip via downloads on that site
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

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPC 2.7.1
« Reply #7 on: September 14, 2014, 12:40:25 pm »
Binutils: Got it:
via
http://freepascal.org/develop.var
ended up at
svn2.freepascal.org/svn/fpcbuild/trunk/install/binw32/
for win32.

(the svn2 server is less heavily loaded than the svn server so please use that for downloads)
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

Deepaak

  • Sr. Member
  • ****
  • Posts: 454
Re: FPC 2.7.1
« Reply #8 on: September 14, 2014, 04:00:28 pm »
Binutils: Got it:
via
http://freepascal.org/develop.var
ended up at
svn2.freepascal.org/svn/fpcbuild/trunk/install/binw32/
for win32.

(the svn2 server is less heavily loaded than the svn server so please use that for downloads)

Thank you,
Holiday season is online now. :-)

Deepaak

  • Sr. Member
  • ****
  • Posts: 454
Re: FPC 2.7.1
« Reply #9 on: September 16, 2014, 02:50:49 pm »
Everything is ok but fpc.cfg file is missing from fpc 2.7.1 bin folder. Is this file is required, If yes than how to create it.
Holiday season is online now. :-)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: FPC 2.7.1
« Reply #10 on: September 16, 2014, 06:19:42 pm »
Everything is ok but fpc.cfg file is missing from fpc 2.7.1 bin folder. Is this file is required, If yes than how to create it.
Call fpcmkcfg or just create it by hand, it's just a text file

Deepaak

  • Sr. Member
  • ****
  • Posts: 454
Re: FPC 2.7.1
« Reply #11 on: September 16, 2014, 07:54:03 pm »
Call fpcmkcfg or just create it by hand, it's just a text file

what is the syntax to create it. I had tried this but no success

Code: [Select]
fpcmkcfg -o fpc.cfg
Holiday season is online now. :-)

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: FPC 2.7.1
« Reply #12 on: September 16, 2014, 08:34:53 pm »
You would normally have a path before the filename, but this is correct syntax.
Attached is a compressed fpc.cfg you can adapt.

Cyrax

  • Hero Member
  • *****
  • Posts: 836
Re: FPC 2.7.1
« Reply #13 on: September 16, 2014, 08:44:34 pm »
I use this Windows command batch script in my special built FPC setup:

Code: [Select]
@echo off
::#coding:OEM_850

set CURDIR=%~dp0
set BIN_TARGET=bin\i386-win32\

"%CURDIR%%BIN_TARGET%fpcmkcfg.exe" -o "%CURDIR%%BIN_TARGET%fpc.cfg" -d basepath="%CURDIR:~,-1%"

Copy and paste it to new text file, change its extension to .cmd and save it into your root of FPC directory (you should see bin subdirectory). Then execute it.

That excerpt makes your FPC installation portable one. Copy/move your FPC somewhere in your hard disk and execute that script to set it up.

Deepaak

  • Sr. Member
  • ****
  • Posts: 454
Re: FPC 2.7.1
« Reply #14 on: September 22, 2014, 11:35:08 am »
You would normally have a path before the filename, but this is correct syntax.
Attached is a compressed fpc.cfg you can adapt.

Thank you
Holiday season is online now. :-)

 

TinyPortal © 2005-2018