Re: [fpc-pascal] Building for Arduino

2024-07-09 Thread Christo Crause via fpc-pascal
On Tue, Jul 9, 2024 at 2:56 PM Adriaan van Os via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Adriaan van Os via fpc-pascal wrote: > > Christo Crause via fpc-pascal wrote: > >> PS. My avr binutils version is 2.26 - old, but your version is about > >> 10 years older still. > > > > WIth a

Re: [fpc-pascal] Building for Arduino

2024-07-09 Thread Adriaan van Os via fpc-pascal
Adriaan van Os via fpc-pascal wrote: Christo Crause via fpc-pascal wrote: PS. My avr binutils version is 2.26 - old, but your version is about 10 years older still. WIth avr binutils 2.26 built and installed, the compiler builds ! /usr/local/bin/ppcrossavr -i says Supported FPU instruction

Re: [fpc-pascal] Building for Arduino

2024-07-08 Thread Adriaan van Os via fpc-pascal
Christo Crause via fpc-pascal wrote: PS. My avr binutils version is 2.26 - old, but your version is about 10 years older still. WIth avr binutils 2.26 built and installed, the compiler builds ! adriaan% /usr/local/bin/ppcrossavr -v Free Pascal Compiler version 3.2.2 Compiler date : 2024

Re: [fpc-pascal] Building for Arduino

2024-07-07 Thread Christo Crause via fpc-pascal
On Sun, 7 Jul 2024, 22:35 Adriaan van Os via fpc-pascal, < fpc-pascal@lists.freepascal.org> wrote: > Christo Crause via fpc-pascal wrote: > > > The assembly line you showed above is obviously missing a closing > > parenthesis, so the error from avr-as is correct. I tested building > > ppcrosssavr

Re: [fpc-pascal] Building for Arduino

2024-07-07 Thread Adriaan van Os via fpc-pascal
Christo Crause via fpc-pascal wrote: The assembly line you showed above is obviously missing a closing parenthesis, so the error from avr-as is correct. I tested building ppcrosssavr 3.2.2 with all your cross options and added -a to retain the generated assembler source. This worked fine and

Re: [fpc-pascal] Building for Arduino

2024-07-07 Thread Christo Crause via fpc-pascal
On Sun, Jul 7, 2024 at 8:15 PM Adriaan van Os via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Christo Crause via fpc-pascal wrote: > > > The level of support for AVR in 3.0.4 was rudimentary, only atmega128 is > > supported in the MakeFIle. The support for AVR is still improving with

Re: [fpc-pascal] Building for Arduino

2024-07-07 Thread Adriaan van Os via fpc-pascal
Christo Crause via fpc-pascal wrote: The level of support for AVR in 3.0.4 was rudimentary, only atmega128 is supported in the MakeFIle. The support for AVR is still improving with time so use either the development branch, or the latest release version (if you prefer release versions). The

Re: [fpc-pascal] Building for Arduino

2024-07-07 Thread Christo Crause via fpc-pascal
On Sun, Jul 7, 2024 at 3:55 PM Adriaan van Os via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > I am trying to build fpc for Arduino on MacOS 10.8.5, using the fpc-3.0.4 > sources and fpc-3.0.4 as > bootstrap compiler. GNU binutils have been built and installed (but not > yet avrdude). As

[fpc-pascal] Building for Arduino

2024-07-07 Thread Adriaan van Os via fpc-pascal
I am trying to build fpc for Arduino on MacOS 10.8.5, using the fpc-3.0.4 sources and fpc-3.0.4 as bootstrap compiler. GNU binutils have been built and installed (but not yet avrdude). As suggested here I use make clean crossa

Re: [fpc-pascal] Building fpc trunk on Linux: Could not find unit directory for dependency package "rtl" required for package "a52"

2023-04-27 Thread Ondrej Pokorny via fpc-pascal
On 27.04.2023 17:54, Ondrej Pokorny via fpc-pascal wrote: # number of threads set usethreads=4 I found it... I copied&pasted it from windows, on Linux it must be: # number of threads usethreads=4 Thanks anyway Ondrej ___ fpc-pascal maillist - fp

Re: [fpc-pascal] Building fpc trunk on Linux: Could not find unit directory for dependency package "rtl" required for package "a52"

2023-04-27 Thread Ondrej Pokorny via fpc-pascal
On 27.04.2023 17:54, Ondrej Pokorny via fpc-pascal wrote: On 27.04.2023 15:54, Ondrej Pokorny via fpc-pascal wrote: OK, I searched for the error and found this page: https://wiki.freepascal.org/FPMake#Could_not_find_unit_directory_for_dependency_package_.22rtl.22 OK, I made the fpmake command

Re: [fpc-pascal] Building fpc trunk on Linux: Could not find unit directory for dependency package "rtl" required for package "a52"

2023-04-27 Thread Ondrej Pokorny via fpc-pascal
On 27.04.2023 15:54, Ondrej Pokorny via fpc-pascal wrote: OK, I searched for the error and found this page: https://wiki.freepascal.org/FPMake#Could_not_find_unit_directory_for_dependency_package_.22rtl.22 Even if I do export FPCDIR=/usr/lib/fpc/3.2.2 before make (where the installer installed

[fpc-pascal] Building fpc trunk on Linux: Could not find unit directory for dependency package "rtl" required for package "a52"

2023-04-27 Thread Ondrej Pokorny via fpc-pascal
Hello, I am lost :/ I installed FPC 3.2.2 from the TAR file as described here: https://www.freepascal.org/docs-html/user/usersu5.html I did "sudo ./install" and kept everything default. Now, I want to build fpc main from Git. I do: make clean all OPT='-O- -gw -godwarfsets -gl -Xg' DEBUG=1 I

Re: [fpc-pascal] Building trunk of today fails on Windows: Error: Invalid DLL C:\WINDOWS\system32\common.dll, invalid header size

2023-04-08 Thread Bo Berglund via fpc-pascal
On Mon, 23 Aug 2021 23:01:39 +0200, Bart via fpc-devel wrote: Replying here since my attempt at replying in the devel group failed... >On Mon, Aug 23, 2021 at 8:04 PM Bart wrote: > >> And, of course, the guide on how to remove this utility >> (https://www.intel.com/content/www/us/en/support/ar

Re: [fpc-pascal] Building compiler which stalls

2023-03-04 Thread Hairy Pixels via fpc-pascal
> On Mar 5, 2023, at 3:56 AM, Jonas Maebe via fpc-pascal > wrote: > > There is no need anymore to start with ppcx64 now that there is a native > ppca64 in the latest FPC release (3.2.2). So you can start directly with your > step 3 (removing the "FPC=$PWD/ppca64" so it uses the globally inst

Re: [fpc-pascal] Building compiler which stalls

2023-03-04 Thread Jonas Maebe via fpc-pascal
On 04/03/2023 07:24, Hairy Pixels via fpc-pascal wrote: # 1. Compile a native AArch64 compiler from the FPC trunk source make distclean make FPC=ppcx64 OPT="-ap -FD${TOOLCHAIN} -XR${MACOS_SDK}" CPU_TARGET=aarch64 -j 4 FPMAKEOPT="-T 4" all There is no need anymore to start with ppcx64 now that

Re: [fpc-pascal] Building compiler which stalls

2023-03-04 Thread Hairy Pixels via fpc-pascal
> On Mar 4, 2023, at 9:10 PM, Hairy Pixels wrote: > > Thanks, I’ve done that and here’s both the LLDB output and sample. > > It looks like it’s crashed on an exception but I don’t understand why it’s > spinning the CPU. Either way something is clearly wrong and I’ve never seen > this before.

Re: [fpc-pascal] Building compiler which stalls

2023-03-04 Thread Hairy Pixels via fpc-pascal
> On Mar 4, 2023, at 6:28 PM, Jonas Maebe via fpc-pascal > wrote: > > You can add "-Xs- -gw -Xg" to OPT to prevent symbol stripping and add debug > info, and then when it's stuck either attach a debugger or run "sample ppcx64" Thanks, I’ve done that and here’s both the LLDB output and sample

Re: [fpc-pascal] Building compiler which stalls

2023-03-04 Thread Jonas Maebe via fpc-pascal
On 04/03/2023 07:24, Hairy Pixels via fpc-pascal wrote: Here’s the build command I used and it builds the compiler up to step #2 but then when it copies the compiler to compiler/ppca64 things fall apart. I noticed the following command "make distclean” stalled out at some point so I tried to ru

[fpc-pascal] Building compiler which stalls

2023-03-03 Thread Hairy Pixels via fpc-pascal
Following up I’m trying to rebuild my compiler from sources and something strange has happened. Here’s the build command I used and it builds the compiler up to step #2 but then when it copies the compiler to compiler/ppca64 things fall apart. I noticed the following command "make distclean” st

Re: [fpc-pascal] Building fpc 3.2.2 from sources - which compiler to use for install?

2021-12-06 Thread Bo Berglund via fpc-pascal
On Mon, 6 Dec 2021 13:29:31 +0100, Marco van de Voort via fpc-pascal wrote: > >Op 6-12-2021 om 12:53 schreef Bo Berglund via fpc-pascal: >> >> >> I.e. should I use the newly compiled 3.2.2 in this step or the seed compiler, >> which is the previous version? >> >> >New. See buildfaq. I used th

Re: [fpc-pascal] Building fpc 3.2.2 from sources - which compiler to use for install?

2021-12-06 Thread Marco van de Voort via fpc-pascal
Op 6-12-2021 om 12:53 schreef Bo Berglund via fpc-pascal: I.e. should I use the newly compiled 3.2.2 in this step or the seed compiler, which is the previous version? New. See buildfaq. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] Building fpc 3.2.2 from sources - which compiler to use for install?

2021-12-06 Thread Bo Berglund via fpc-pascal
I am building fpc 3.2.2 from sources on a Linux Mint x64 box. When I compile fpc inside the downloaded source folder I use this: make all FPC="$HOME/devel/fpc/ppcx64" The FPC compiler in this case is 3.2.0, which I have built earlier on another box. This works fine. Now I am at the next step and

Re: [fpc-pascal] Building complier fails in itolitlsreader.pas

2019-10-09 Thread Ryan Joseph
> On Oct 9, 2019, at 3:50 PM, Christo Crause wrote: > > My guess is you have a corrupted file. According to the SVN info that file > was last changed in 2013. Viewing the file via the online viewer shows > nothing peculiar around line 385: > https://svn.freepascal.org/cgi-bin/viewvc.cgi/tru

Re: [fpc-pascal] Building complier fails in itolitlsreader.pas

2019-10-09 Thread Christo Crause
On Wed, Oct 9, 2019 at 8:04 PM Ryan Joseph wrote: > Updated from svn just now (r43157) and tried to build but I get this > error. Pasted below is the source from itolitlsreader.pas and it appears > it’s totally mangled. Are other users seeing this also or did my SVN break > something? > > itolitl

[fpc-pascal] Building complier fails in itolitlsreader.pas

2019-10-09 Thread Ryan Joseph
Updated from svn just now (r43157) and tried to build but I get this error. Pasted below is the source from itolitlsreader.pas and it appears it’s totally mangled. Are other users seeing this also or did my SVN break something? itolitlsreader.pas(385,24) Error: Identifier not found "Sta" itolitl

Re: [fpc-pascal] building compiler failed

2019-02-15 Thread Jonas Maebe
On 15/02/19 22:16, Ryan Joseph wrote: Resending this because I sent to wrong list and it seems stalled anyways. Checked out revision 41319 today and got this error. Did I do something wrong or is it bug? /usr/local/lib/fpc/3.0.4/ppc386 -Ur -dFPC_USE_LIBC -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64

[fpc-pascal] building compiler failed

2019-02-15 Thread Ryan Joseph
Resending this because I sent to wrong list and it seems stalled anyways. Checked out revision 41319 today and got this error. Did I do something wrong or is it bug? /usr/local/lib/fpc/3.0.4/ppc386 -Ur -dFPC_USE_LIBC -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fi../bsd -Fi../bsd/x86_64 -F

Re: [fpc-pascal] Building trunk

2018-12-01 Thread C Western
On 30/11/2018 10:26, Cyrax wrote: On 30/11/2018 12:23, Cyrax wrote: On 30/11/2018 11:12, C Western wrote: On 30/11/2018 04:23, Cyrax wrote: On 30/11/2018 00:53, C Western wrote: On 26/11/2018 22:46, - - wrote: An additional note - it may well be a ld version issue. On Ubuntu the ld version i

Re: [fpc-pascal] Building trunk

2018-11-30 Thread Cyrax
On 30/11/2018 12:23, Cyrax wrote: On 30/11/2018 11:12, C Western wrote: On 30/11/2018 04:23, Cyrax wrote: On 30/11/2018 00:53, C Western wrote: On 26/11/2018 22:46, - - wrote: An additional note - it may well be a ld version issue. On Ubuntu the ld version is 2.30, but on Fedora ld reports 2.

Re: [fpc-pascal] Building trunk

2018-11-30 Thread Cyrax
On 30/11/2018 11:12, C Western wrote: On 30/11/2018 04:23, Cyrax wrote: On 30/11/2018 00:53, C Western wrote: On 26/11/2018 22:46, - - wrote: An additional note - it may well be a ld version issue. On Ubuntu the ld version is 2.30, but on Fedora ld reports 2.31.1-13.fc29. (Maybe I should have

Re: [fpc-pascal] Building trunk

2018-11-30 Thread C Western
On 30/11/2018 04:23, Cyrax wrote: On 30/11/2018 00:53, C Western wrote: On 26/11/2018 22:46, - - wrote: An additional note - it may well be a ld version issue. On Ubuntu the ld version is 2.30, but on Fedora ld reports 2.31.1-13.fc29. (Maybe I should have held off upgrading to Fedora 29...)

Re: [fpc-pascal] Building trunk

2018-11-29 Thread Cyrax
On 30/11/2018 00:53, C Western wrote: On 26/11/2018 22:46, - - wrote: An additional note - it may well be a ld version issue. On Ubuntu the ld version is 2.30, but on Fedora ld reports 2.31.1-13.fc29. (Maybe I should have held off upgrading to Fedora 29...) Colin _

Re: [fpc-pascal] Building trunk

2018-11-29 Thread C Western
On 26/11/2018 22:46, - - wrote: An additional note - it may well be a ld version issue. On Ubuntu the ld version is 2.30, but on Fedora ld reports 2.31.1-13.fc29. (Maybe I should have held off upgrading to Fedora 29...) Colin ___ fpc-pascal maillist

Re: [fpc-pascal] Building trunk

2018-11-26 Thread - -
An additional note - it may well be a ld version issue. On Ubuntu the ld version is 2.30, but on Fedora ld reports 2.31.1-13.fc29. (Maybe I should have held off upgrading to Fedora 29...) Colin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.or

Re: [fpc-pascal] Building trunk

2018-11-25 Thread Cyrax
On 25/11/2018 14:58, Jonas Maebe wrote: On 25/11/18 13:51, Florian Klämpfl wrote: I am not aware that somewhere a fixed offset is applied. All info is read from the auxiliary data and the header. You can have a load address offset in case there is a PT_PHDR. From http://www.gabriel.urdhr.fr/2

Re: [fpc-pascal] Building trunk

2018-11-25 Thread C Western
On 25/11/2018 14:18, Florian Klämpfl wrote: Am 25.11.2018 um 14:30 schrieb Colin Western: What generates the header? Is it fpc, an external linker or the loader? Can you please run the following C program: #include #include int main() { printf("AT_PHDR: %lx\n",getauxval(AT_PHDR)); pr

Re: [fpc-pascal] Building trunk

2018-11-25 Thread Florian Klämpfl
Am 25.11.2018 um 14:30 schrieb Colin Western: > What generates the header? Is it fpc, an external linker or the loader? > Can you please run the following C program: #include #include int main() { printf("AT_PHDR: %lx\n",getauxval(AT_PHDR)); printf("AT_PHNUM: %lx\n",getauxval(AT_PHNUM));

Re: [fpc-pascal] Building trunk

2018-11-25 Thread Jonas Maebe
On 25/11/18 14:30, Colin Western wrote: What generates the header? Is it fpc, an external linker or the loader? The linker. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pa

Re: [fpc-pascal] Building trunk

2018-11-25 Thread Colin Western
What generates the header? Is it fpc, an external linker or the loader? Colin Sent from my mobile. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Building trunk

2018-11-25 Thread Florian Klämpfl
Am 25.11.2018 um 13:58 schrieb Jonas Maebe: > On 25/11/18 13:51, Florian Klämpfl wrote: >> I am not aware that somewhere a fixed offset is applied. All info is read >> from the auxiliary data and the header. > > You can have a load address offset in case there is a PT_PHDR. Yes. > From http://

Re: [fpc-pascal] Building trunk

2018-11-25 Thread Jonas Maebe
On 25/11/18 13:51, Florian Klämpfl wrote: I am not aware that somewhere a fixed offset is applied. All info is read from the auxiliary data and the header. You can have a load address offset in case there is a PT_PHDR. From http://www.gabriel.urdhr.fr/2015/01/22/elf-linking/ : // Simplified

Re: [fpc-pascal] Building trunk

2018-11-25 Thread Florian Klämpfl
Am 25.11.2018 um 13:51 schrieb Florian Klämpfl: > Am 25.11.2018 um 13:06 schrieb C Western: > fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal That gives the same value as shown above, even after applying the patc

Re: [fpc-pascal] Building trunk

2018-11-25 Thread Florian Klämpfl
Am 25.11.2018 um 13:06 schrieb C Western: fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal >>> That gives the same value as shown above, even after applying the patch. >>> Single stepping the code indicates that both

Re: [fpc-pascal] Building trunk

2018-11-25 Thread C Western
On 25/11/2018 12:01, Florian Klämpfl wrote: Am 25.11.2018 um 12:20 schrieb C Western: On 24/11/2018 22:21, Florian Klämpfl wrote: Am 24.11.2018 um 10:08 schrieb C Western: On 23/11/2018 09:50, Sven Barth via fpc-pascal wrote: Am Fr., 23. Nov. 2018, 10:26 hat C Western mailto:l...@c-m-w.me.uk>

Re: [fpc-pascal] Building trunk

2018-11-25 Thread Florian Klämpfl
Am 25.11.2018 um 12:20 schrieb C Western: > On 24/11/2018 22:21, Florian Klämpfl wrote: >> Am 24.11.2018 um 10:08 schrieb C Western: >>> On 23/11/2018 09:50, Sven Barth via fpc-pascal wrote: Am Fr., 23. Nov. 2018, 10:26 hat C Western >>> > geschrieben: I

Re: [fpc-pascal] Building trunk

2018-11-25 Thread C Western
On 24/11/2018 22:21, Florian Klämpfl wrote: Am 24.11.2018 um 10:08 schrieb C Western: On 23/11/2018 09:50, Sven Barth via fpc-pascal wrote: Am Fr., 23. Nov. 2018, 10:26 hat C Western mailto:l...@c-m-w.me.uk>> geschrieben:     I haven't been able to build trunk i386 fpc for a couple of weeks.

Re: [fpc-pascal] Building trunk

2018-11-24 Thread Florian Klämpfl
Am 24.11.2018 um 10:08 schrieb C Western: > On 23/11/2018 09:50, Sven Barth via fpc-pascal wrote: >> Am Fr., 23. Nov. 2018, 10:26 hat C Western > > geschrieben: >> >>     I haven't been able to build trunk i386 fpc for a couple of weeks. Is >>     this supposed to be workin

Re: [fpc-pascal] Building trunk

2018-11-24 Thread C Western
On 24/11/2018 15:19, C Western wrote: On 24/11/2018 12:30, Sven Barth via fpc-pascal wrote: Am Sa., 24. Nov. 2018, 10:09 hat C Western > geschrieben:     On 23/11/2018 09:50, Sven Barth via fpc-pascal wrote:     > Am Fr., 23. Nov. 2018, 10:26 hat C Western mailto:l...@c

Re: [fpc-pascal] Building trunk

2018-11-24 Thread C Western
On 24/11/2018 12:30, Sven Barth via fpc-pascal wrote: Am Sa., 24. Nov. 2018, 10:09 hat C Western > geschrieben: On 23/11/2018 09:50, Sven Barth via fpc-pascal wrote: > Am Fr., 23. Nov. 2018, 10:26 hat C Western mailto:l...@c-m-w.me.uk> >

Re: [fpc-pascal] Building trunk

2018-11-24 Thread Sven Barth via fpc-pascal
Am Sa., 24. Nov. 2018, 10:09 hat C Western geschrieben: > On 23/11/2018 09:50, Sven Barth via fpc-pascal wrote: > > Am Fr., 23. Nov. 2018, 10:26 hat C Western > > geschrieben: > > > > I haven't been able to build trunk i386 fpc for a couple of weeks. Is > > this

Re: [fpc-pascal] Building trunk

2018-11-24 Thread C Western
On 23/11/2018 13:58, Joost van der Sluis wrote: On 11/23/18 2:48 PM, C Western wrote: make distclean cycle OPT="-n" OS_TARGET=linux CPU_TARGET=i386 FPC=~/fpc/bootstrap/ppcx64 /home/ctcmw/fpc/trunk/fpcsrc/compiler/ppcross386 -Pi386 -XPi386-linux- -Xr -Fui386 -Fusystems -Fu../rtl/units/i386-lin

Re: [fpc-pascal] Building trunk

2018-11-24 Thread C Western
On 23/11/2018 09:50, Sven Barth via fpc-pascal wrote: Am Fr., 23. Nov. 2018, 10:26 hat C Western > geschrieben: I haven't been able to build trunk i386 fpc for a couple of weeks. Is this supposed to be working, or have I misconfigured something? (I don't

Re: [fpc-pascal] Building trunk

2018-11-23 Thread Joost van der Sluis
On 11/23/18 2:48 PM, C Western wrote: make distclean cycle OPT="-n" OS_TARGET=linux CPU_TARGET=i386 FPC=~/fpc/bootstrap/ppcx64 /home/ctcmw/fpc/trunk/fpcsrc/compiler/ppcross386 -Pi386 -XPi386-linux- -Xr -Fui386 -Fusystems -Fu../rtl/units/i386-linux -Fii386 -FEi386/bin/i386-linux -FUi386/units/

Re: [fpc-pascal] Building trunk

2018-11-23 Thread C Western
The compiler I was starting with was obtained from a 3.0.4 release from the fpc website. Trying: make distclean cycle OPT="-n" OS_TARGET=linux CPU_TARGET=i386 FPC=~/fpc/bootstrap/ppcx64 goes further (or is it just different as it is a cross-compile?) but gives: make[1]: Entering directory '/

Re: [fpc-pascal] Building trunk

2018-11-23 Thread Pierre Muller
Hi, you should always try to start with a release compiler. If you have the latest i386 compiler installed start by: cd fpcsrc/compiler make distclean cycle OPT="-n" FPC=/path/to/release/ppc386 save the resulting ppc386 on success to /home/me/fpc/bootstrap/ppc386 and then start make distcle

Re: [fpc-pascal] Building trunk

2018-11-23 Thread Sven Barth via fpc-pascal
Am Fr., 23. Nov. 2018, 10:26 hat C Western geschrieben: > I haven't been able to build trunk i386 fpc for a couple of weeks. Is > this supposed to be working, or have I misconfigured something? (I don't > think I have changed anything.) The output is below. I don't think it is > significant, but

[fpc-pascal] Building trunk

2018-11-23 Thread C Western
I haven't been able to build trunk i386 fpc for a couple of weeks. Is this supposed to be working, or have I misconfigured something? (I don't think I have changed anything.) The output is below. I don't think it is significant, but I am building on a 64 bit system, but with a 32 bit starting c

Re: [fpc-pascal] Building FPC from sources on Linux Mint 19, make clean errors out

2018-11-05 Thread Bo Berglund
On Mon, 05 Nov 2018 15:12:16 +0200, "Dimitrios Chr. Ioannidis via fpc-pascal" wrote: >This works for me the last 3 years : > > make clean FPC=\ppc executable you'll use. OK, I did not think that make clean should need the compiler in the first place since all it would do is erase all previous

Re: [fpc-pascal] Building FPC from sources on Linux Mint 19, make clean errors out

2018-11-05 Thread Dimitrios Chr. Ioannidis via fpc-pascal
Hi, On 2018-11-05 14:30, Bo Berglund wrote: ~/dev/fpc/3.0.4$ make clean make: -iVSPTPSOTO: Command not found /bin/rm -f build-stamp.* /bin/rm -f base.build-stamp.* What does this mean and what can I do to fix it? Does it need to be fixed? This works for me the last 3 years : make c

[fpc-pascal] Building FPC from sources on Linux Mint 19, make clean errors out

2018-11-05 Thread Bo Berglund
I have jsut createda virtual Linux Mint 19 x86_64 machine on which I attempted to install FPC 3.0.4 and Lazarus 1.8.5 (the fixes branch). I got as far as: - FPC 3.0.0 seed compiler downloaded - FPC 3.0.4 sources retrieved via svn - Lazarus 1.8.5 sources retrieved via svn I went into the ~/dev/fpc

[fpc-pascal] building current trunk

2016-06-21 Thread wkitty42
i posted this to the developers' list but have not had any response to it or another one i posted yesterday... so i'm going to post this one here in the hopes that someone will be able to assist me faster than the other list... advTHANKSance i'm trying to build trunk with my newly minted f

Re: [fpc-pascal] Building FPC for Windows X64

2016-02-26 Thread Jonas Maebe
Justin Smyth wrote: iget these errors.. This now seems to be solved: http://forum.lazarus.freepascal.org/index.php?topic=31589.new;topicseen#new Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/

Re: [fpc-pascal] Building FPC for Windows X64

2016-02-25 Thread Justin Smyth
Barth Sent: Friday, 26 February 2016 3:18 AM To: FPC-Pascal users discussions Subject: Re: [fpc-pascal] Building FPC for Windows X64 Am 25.02.2016 12:19 schrieb "Justin Smyth" mailto:jus...@smythconsulting.net> >: > When I try to build lazarus it fails , yet it I build the i38

Re: [fpc-pascal] Building FPC for Windows X64

2016-02-25 Thread Sven Barth
Am 25.02.2016 12:19 schrieb "Justin Smyth" : > When I try to build lazarus it fails , yet it I build the i386-win32 copy it works fine – its not lazarus it’s the copy of fpc I have created as I get the same error on a older copy of lazarus ( 1.2.6 as an example) Since my crystal ball is broken wou

[fpc-pascal] Building FPC for Windows X64

2016-02-25 Thread Justin Smyth
I'm having some issues where when I try to build fpc for windows x64 from win32 it seems to have a few issues I build my fpc from the trunk release using this command make all install OS_TARGET=win64 CPU_TARGET=x86_64 INSTALL_PREFIX=c:\fpc\3.1.1 CROSSCOMPILE=1 I then copy a old fpc.

Re: [fpc-pascal] Building Android cross compiler error

2016-02-22 Thread Ryan Joseph
Isn’t that step after the compiler has been built? I was following the guide at http://wiki.freepascal.org/Android and they said to just add to the $PATH variable and then create the config file later so I didn’t even get to that step since the compiling failed. > On Feb 23, 2016, at 1:53 PM, M

Re: [fpc-pascal] Building Android cross compiler error

2016-02-22 Thread Michalis Kamburelis
> /Developer/Android/android-ndk-r10e/toolchains/arm-linux- androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ld.bfd: cannot find -lc pp.pas(219,36) Error: Error while linking > > Have you defined the -Fl option correctly? For example, I put something like this in m

[fpc-pascal] Building Android cross compiler error

2016-02-22 Thread Ryan Joseph
I’ve downloaded FPC 3.0.0 and updated the sources from SVN then downloaded the Android NDK (Mac OS X 64-bit was the only option for Mac). The script seems to work but I’m getting this error after compiling for some time. Any ideas what’s going on? == cd /Developer/ObjectivePascal/fpc INSTA

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-10 Thread Marc Santhoff
On So, 2016-01-10 at 09:52 +0100, Michael Ring wrote: > Perhaps you should build your own binutils, it seems that the version > you are using right now does not properly support armv7-m architecture. Did the trick, a current version of arm-elf-binutils worked. :) Many thanks to all who contribut

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-10 Thread Marc Santhoff
On So, 2016-01-10 at 13:17 +0100, Tomas Hajny wrote: > On Sun, January 10, 2016 12:57, Jonas Maebe wrote: > > Tomas Hajny wrote: > >> On Sat, January 9, 2016 23:44, Jonas Maebe wrote: > >>> On 09/01/16 23:27, Marc Santhoff wrote: > > His previous messages were about embedded development for ARM. I

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-10 Thread Tomas Hajny
On Sun, January 10, 2016 12:57, Jonas Maebe wrote: > Tomas Hajny wrote: >> On Sat, January 9, 2016 23:44, Jonas Maebe wrote: >>> On 09/01/16 23:27, Marc Santhoff wrote: >> How can I build a build a cross compiler running on FreeBSD compiling for ARM? >>> Try adding OS_TARGET=embedded to y

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-10 Thread Jonas Maebe
Tomas Hajny wrote: On Sat, January 9, 2016 23:44, Jonas Maebe wrote: On 09/01/16 23:27, Marc Santhoff wrote: How can I build a build a cross compiler running on FreeBSD compiling for ARM? Try adding OS_TARGET=embedded to your "make all CPU_TARGET=arm" invocation in the top level directory (a

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-10 Thread Michael Ring
Perhaps you should build your own binutils, it seems that the version you are using right now does not properly support armv7-m architecture. download ftp://ftp.gnu.org/gnu/binutils/binutils-2.25.1.tar.gz |extract, create an empty directory and do:| || |../binutils-2.25.1/configure --target=ar

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-09 Thread Tomas Hajny
On Sat, January 9, 2016 23:44, Jonas Maebe wrote: > On 09/01/16 23:27, Marc Santhoff wrote: Hi Jonas, >> I'm stuck while trying to build a cross compiler for ARM on FreeBSD. The >> compiler does not know any arm target. . . >> FreeBSD is running on some arm >> platforms (e.g. beagleboard), but

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-09 Thread Marc Santhoff
On Sa, 2016-01-09 at 23:44 +0100, Jonas Maebe wrote: > OS_TARGET=embedded No, doesn'r do. The error message talks about the assemble, maybe it is the binuitls variant installed? gmake[3]: Entering directory `/usr/p1/home/marc/program/fpc-cross/src/fpc/rtl/embedded' /usr/local/bin/gmkdir -p /usr

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-09 Thread Jonas Maebe
On 09/01/16 23:27, Marc Santhoff wrote: I'm stuck while trying to build a cross compiler for ARM on FreeBSD. The compiler does not know any arm target. The compiler always only knows all targets for a single architecture. Unless you have a native ARM or a cross-compiler for ARM, it's normal t

[fpc-pascal] building arm cross compiler on FreeBSD

2016-01-09 Thread Marc Santhoff
Hi, I'm stuck while trying to build a cross compiler for ARM on FreeBSD. The compiler does not know any arm target. FreeBSD is running on some arm platforms (e.g. beagleboard), but it seems the combination is not implemented in fpc. Is that correct? How can I build a build a cross compiler runni

Re: [fpc-pascal] Building kernel modules using fpc (for fun)

2015-11-30 Thread Lukasz Sokol
Hello Paul, On 28/11/15 21:42, Paul Breneman wrote: > On 01/23/2011 08:15 AM, Lukasz Sokol wrote: >> Lukasz Sokol writes: >> >> I decided to put the result of my fiddling back onto the wiki >> http://wiki.freepascal.org/linux/kernel/module_development as the pastebin >> seems to have disappeared

Re: [fpc-pascal] Building kernel modules using fpc (for fun)

2015-11-28 Thread Paul Breneman
On 01/23/2011 08:15 AM, Lukasz Sokol wrote: Lukasz Sokol writes: I decided to put the result of my fiddling back onto the wiki http://wiki.freepascal.org/linux/kernel/module_development as the pastebin seems to have disappeared mysteriously. Enjoy! Lukasz I couldn't find anything but the a

Re: [fpc-pascal] Building for Android on Linux386

2015-11-13 Thread leledumbo
> I'm building FPC cross-compiler for Android and it has always worked perfectly until recently. Now I'm getting the following error messages. Things can be broken anytime in trunk. Either: - Keep `svn up`-ing everyday until it's magically solved - Report and wait for a fix - Fix and send a patch

[fpc-pascal] Building for Android on Linux386

2015-11-13 Thread Dave Connolly
Hi all, Firstly a huge thank you to all involved in the FPC project. Keep up the great work! I'm building FPC cross-compiler for Android and it has always worked perfectly until recently. Now I'm getting the following error messages. /home/user/FPCTrunk/compiler/ppcrossarm -Ur -Tandroid -Parm -

[fpc-pascal] building Lazarus 09.28.2 with FPC 2.2.2 with no fppkg & lnet

2014-05-01 Thread KennyD
remove fppkg & lnet from fpc 2.2.2 sources cycle 2.2.2 FPC substitute << 2.2.4 fcl-image gtk2 into >> 2.2.2 cycle 2.2.2 FPC source and install in "Lazarus 09.28.2" 1 line with have too get commented out make clean all make install tested in linux-headers-3.13.0-19-generic Xubuntu look no bu

Re: [fpc-pascal] Building fpcdocs from svn release

2014-04-14 Thread Michael Van Canneyt
On Fri, 11 Apr 2014, Seweryn Walentynowicz wrote: I want to build docs from latest svn version : $ svn co http://svn.freepascal.org/svn/fpcbuild/trunk/ $ cd trunk $ svn update Updating '.': Fetching external item into 'fpcsrc': External at revision 27536. Fetching external item into 'fpcdocs

[fpc-pascal] Building fpcdocs from svn release

2014-04-13 Thread Seweryn Walentynowicz
I want to build docs from latest svn version : $ svn co http://svn.freepascal.org/svn/fpcbuild/trunk/ $ cd trunk $ svn update Updating '.': Fetching external item into 'fpcsrc': External at revision 27536. Fetching external item into 'fpcdocs': External at revision 1098. At revision 1105. $ make

[fpc-pascal] Building 2.7.1 cross compiler

2012-11-13 Thread patspiper
Hi, Since a few weeks, I have been unable to build the 2.7.1 cross compiler (from Linux 32 bit to Win32), while the 2.6.1 cross compiler builds merrily. My OS is Ubuntu 11.04 32 bits. What could be wrong? Stephano Log (partial): make packages_smart FPC=/home/me/Programs/fpc/fpsrc/exported/

Re: [fpc-pascal] Building FPC on LFS system

2011-01-30 Thread Jonas Maebe
On 30 Jan 2011, at 18:17, Geoffray Levasseur wrote: > On Sunday 30 January 2011 14:49:29 Jonas Maebe wrote: >> Not really. The default -O2 will be pretty much optimal. Only if you have >> an SSE3 capable cpu, you can add OPT="-Cfsse3" at the end of make command >> line. It won't make much of a di

Re: [fpc-pascal] Building FPC on LFS system

2011-01-30 Thread Geoffray Levasseur
On Sunday 30 January 2011 14:42:10 ik wrote: > LFS is usually installed from an existed linux distro, so you should > install it on the hosting linux, and then compile it to your own distro > (LFS is to build your own base at least). Yes that's a possibility but bootstraping is cleaner so I prefer

Re: [fpc-pascal] Building FPC on LFS system

2011-01-30 Thread Geoffray Levasseur
On Sunday 30 January 2011 14:49:29 Jonas Maebe wrote: > On 30 Jan 2011, at 14:35, Geoffray Levasseur wrote: > > I suppose I'll have to download a precompiled version for my system > > (x86_64) but I want do do this in a clean way. > > Assuming "LFS" in your mail meant "Linux From Scratch", you can

Re: [fpc-pascal] Building FPC on LFS system

2011-01-30 Thread Jonas Maebe
On 30 Jan 2011, at 14:35, Geoffray Levasseur wrote: > I suppose I'll have to download a precompiled version for my system (x86_64) > but I want do do this in a clean way. Assuming "LFS" in your mail meant "Linux From Scratch", you can a download bootstrap binary from ftp://ftp.freepascal.org/

Re: [fpc-pascal] Building FPC on LFS system

2011-01-30 Thread ik
On Sun, Jan 30, 2011 at 15:35, Geoffray Levasseur wrote: > Hi everybody... > > My problem is simple. As far as I know there's no way to build FPC without > FPC. So can anybody can tell me how to bootstrap FPC to build it on a LFS > system without FPC installed? > LFS is usually installed from an

Re: [fpc-pascal] Building FPC on LFS system

2011-01-30 Thread Marco van de Voort
In our previous episode, Geoffray Levasseur said: > > My problem is simple. As far as I know there's no way to build FPC without > FPC. So can anybody can tell me how to bootstrap FPC to build it on a LFS > system without FPC installed? Crosscompile. Either by entirely linking on host, or to as

[fpc-pascal] Building FPC on LFS system

2011-01-30 Thread Geoffray Levasseur
Hi everybody... My problem is simple. As far as I know there's no way to build FPC without FPC. So can anybody can tell me how to bootstrap FPC to build it on a LFS system without FPC installed? I suppose I'll have to download a precompiled version for my system (x86_64) but I want do do this

Re: [fpc-pascal] Building kernel modules using fpc (for fun)

2011-01-15 Thread Sven Barth
On 15.01.2011 20:57, Henry Vermaak wrote: On 15 January 2011 19:48, Sven Barth wrote: On 15.01.2011 20:32, Lukasz Sokol wrote: Is this something I should ask here or at kernel-newbies ? :) I might not be able to help you regarding this topic, but I believe that you'll get a wall of "use C,

Re: [fpc-pascal] Building kernel modules using fpc (for fun)

2011-01-15 Thread Henry Vermaak
On 15 January 2011 19:48, Sven Barth wrote: > On 15.01.2011 20:32, Lukasz Sokol wrote: >> >> Is this something I should ask here or at kernel-newbies ? :) > > I might not be able to help you regarding this topic, but I believe that > you'll get a wall of "use C, god damnit" if you ask there :P He

Re: [fpc-pascal] Building kernel modules using fpc (for fun)

2011-01-15 Thread Henry Vermaak
On 15 January 2011 19:32, Lukasz Sokol wrote: >        echo "         Run 'make oldconfig && make prepare' on kernel src to > fix it.";  \ Have you done this? It's required for building modules out of tree, iirc. Henry ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] Building kernel modules using fpc (for fun)

2011-01-15 Thread Sven Barth
On 15.01.2011 20:32, Lukasz Sokol wrote: Is this something I should ask here or at kernel-newbies ? :) I might not be able to help you regarding this topic, but I believe that you'll get a wall of "use C, god damnit" if you ask there :P Regards, Sven _

[fpc-pascal] Building kernel modules using fpc (for fun)

2011-01-15 Thread Lukasz Sokol
Hi, http://wiki.freepascal.org/linux/kernel/module_development has some information, unfortunately after copy-pasting into relevant files, and running make i get fpc kernel_module Free Pascal Compiler version 2.4.0-2 [2010/03/06] for i386 Copyright (c) 1993-2009 by Florian Klaempfl Target OS:

Re: [fpc-pascal] Building FPC trunk on XP win64

2010-11-26 Thread Vincent Snijders
2010/11/26 Birger Jansen : >> I'll see if I can find the missing cmp.exe in 64 bit version or try with the >> 32 >> bit version. > > Copying the cmp.exe that comes with the Lazarus 32 bit installer to a 64 bit > installation worked. > Can this file be included in the 64 bit installer to prevent n

RE: [fpc-pascal] Building FPC trunk on XP win64

2010-11-26 Thread Birger Jansen
> I'll see if I can find the missing cmp.exe in 64 bit version or try with the > 32 > bit version. Copying the cmp.exe that comes with the Lazarus 32 bit installer to a 64 bit installation worked. Can this file be included in the 64 bit installer to prevent nono's like me running into the same

  1   2   >