[fpc-pascal] FPC 3.0.0-rc1 release

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Sat Aug 29 17:57:23 CEST 2015

Martin Schreiber wrote:
> On Saturday 29 August 2015 15:38:35 Mark Morgan Lloyd wrote:
>> Martin, what would be really useful is knowing /exactly/ what sources
>> you used to build your binary at
>> http://sourceforge.net/projects/mseide-msegui/files/fpcarm/
> "
> svn info
> Path: .
> Working Copy Root Path: /home/mse/packs/standard/svn/fp/arm/fixes_3_0
> URL: http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
> Relative URL: ^/branches/fixes_3_0
> Repository Root: http://svn.freepascal.org/svn/fpc
> Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
> Revision: 31324
> Node Kind: directory
> Schedule: normal
> Last Changed Author: joost
> Last Changed Rev: 31297
> Last Changed Date: 2015-08-06 22:26:00 +0200 (Thu, 06 Aug 2015)
> "

Starting off with your binary on the system, i.e. with no 2.6.x, I have 
to use a generic fpc.cfg but apart from that things appear to work.

Got sources from svn as above. Attempting to rebuild using a generic 
command line:


when building fpmake objects about missing crti.o crtbegin.o crtend.o 
crtn.o. Add -Fl/usr/lib/gcc/arm-linux-gnueabi/4.6.3 

Starting over, I get to

Free Pascal Compiler version 3.0.1 [2015/08/29] for arm
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling fpmake.pp
fpmake.pp(16,3) Note: Local variable "T" is assigned but never used
Assembling fpmake
Linking fpmake
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
14595 lines compiled, 58.7 sec
1 note(s) issued
./fpmake compile --localunitdir=.. --os=linux --cpu=arm -o -Ur -o -Xs -o 
-O2 -o -n -o -Fu/usr/local/src/fpc/fixes_3_0/rtl/units/arm-linux -o 
-V3.0.1 -o -O- -o -gl -o -Xs- -o -vt -o -darm -o -dRELEASE 
--compiler=/usr/local/src/fpc/fixes_3_0/compiler/ppcarm -bu -o -XX -o -CX
make[2]: ./fpmake: Command not found
make[2]: *** [smart] Error 127
make[2]: Leaving directory `/usr/local/src/fpc/fixes_3_0/packages'
make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory `/usr/local/src/fpc/fixes_3_0'
make: *** [build-stamp.arm-linux] Error 2

/usr/local/src/fpc/fixes_3_0$ find . -name fpmake -ls
157069 4460 -rwxr-xr-x   1 markMLl  staff     4565218 Aug 29 15:46 

/usr/local/src/fpc/fixes_3_0$ file ./packages/fpmake
./packages/fpmake: ELF 32-bit LSB executable, ARM, version 1 (SYSV), 
dynamically linked (uses shared libs), for GNU/Linux 2.0.0, not stripped

/usr/local/src/fpc/fixes_3_0$ ./packages/fpmake --help
-bash: ./packages/fpmake: No such file or directory

I get stuck at the same point irrespective of any -dFPC_ARMHF etc.

Now I'm quite sure it's me doing something silly...

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the fpc-pascal mailing list