Re: [fpc-pascal] FreeBSD failure compiling fpdoc 2.7.1

2013-03-18 Thread Graeme Geldenhuys
On 2013-03-15 10:46, Graeme Geldenhuys wrote: > > In seems that the 'gmake install' doesn't install the lib*.a files that FPC > generates, so my apps fail to link. Just as a test. I checked out the 'fixes_2_6' branch, and used my same build script as I did before. It successfully built and insta

Re: [fpc-pascal] FreeBSD failure compiling fpdoc 2.7.1

2013-03-18 Thread Graeme Geldenhuys
On 2013-03-15 21:22, Marco van de Voort wrote: > > Try adding RELEASE=1 > It still fails. Do you Marco, or anybody else, know where the actual code is in fpmake or Makefiles that says "copy all *.ppu, *,o and *.a files to INSTALL_PREFIX"? I don't really understand Makefile syntax that well (nev

Re: [fpc-pascal] FreeBSD failure compiling fpdoc 2.7.1

2013-03-16 Thread Graeme Geldenhuys
On 2013-03-15 18:08, Marco van de Voort wrote: > > You install using the bootstrap compiler, not the generated one. OK, I changed the 'gmake install' in my scrip to use the generated compiler. It made no difference. > my script: I used your script (nice by the way), and it produced the exact

Re: [fpc-pascal] FreeBSD failure compiling fpdoc 2.7.1

2013-03-16 Thread Graeme Geldenhuys
On 2013-03-15 16:40, Pierre Free Pascal wrote: > > So often I end up with > BASE_271_DIR/lib/fpc/2.7.1 > but also > BASE_271_DIR/lib/fpc/2.6.0 > which contains the newly installed linraries... No, that is not the case. I only have a lib/fpc/2.7.1/ directory tree. My build script was posted i

Re: [fpc-pascal] FreeBSD failure compiling fpdoc 2.7.1

2013-03-15 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > > #gmake clean > gmake all -j 5 FPMAKEOPT="-T 8" FPC=$COMPILER > FPCOPT="-Fl/usr/local/lib/" OPT="-Fl/usr/local/lib/" > gmake install INSTALL_PREFIX=/data/devel/fpc-2.7.1/$TARGET/ FPC=$COMPILER You install using the bootstrap compiler, not the ge

RE: [fpc-pascal] FreeBSD failure compiling fpdoc 2.7.1

2013-03-15 Thread Pierre Free Pascal
> In seems that the 'gmake install' doesn't install the *.a files that FPC > generates, so my apps fail to link. I did a comparison between my 2.7.1 > and 2.6.0 (installed from official installer) directories. In 2.6.0 the > *.a files are found in the lib/fpc/2.6.0/... directories, but in 2.7.1 > t

Re: [fpc-pascal] FreeBSD failure compiling fpdoc 2.7.1

2013-03-15 Thread Graeme Geldenhuys
On 2013-03-04 18:20, Marco van de Voort wrote: > > This is normal, pass -Fl/usr/local/lib in opt (for releases, makepack from > fpcbuild does this) Thanks, that worked. Now FPC 2.7.1 compiles without problems, and it install fine [or so it appears]. Last night I wanted to test with FPC 2.7.1 a

Re: [fpc-pascal] FreeBSD failure compiling fpdoc 2.7.1

2013-03-04 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > Below is the script I use to compile FPC 2.7.1. I am using FPC 2.6.0 > (I noticed it is still allowed for a while, even though 2.6.2 is out). This is normal, pass -Fl/usr/local/lib in opt (for releases, makepack from fpcbuild does this) Also se

[fpc-pascal] FreeBSD failure compiling fpdoc 2.7.1

2013-03-04 Thread Graeme Geldenhuys
Hi, Below is the script I use to compile FPC 2.7.1. I am using FPC 2.6.0 (I noticed it is still allowed for a while, even though 2.6.2 is out). --[ go.sh ] #!/usr/local/bin/bash TARGET=x86_64-freebsd COMPILER=/data/devel/fpc-2.6.0/$TARGET/bin/ppcx64 gmake clean