Re: [fpc-pascal] VASM upgrade to 1.9 breaks cross compiler build
Thanks Charlie, I will be staying on 1.9 until further notice. Cheers, Norm. -- Sent from my Android device with K-9 Mail. Please excuse my brevity.___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] VASM upgrade to 1.9 breaks cross compiler build
Hi, On Tue, 18 Apr 2023, Norman Dunbar via fpc-pascal wrote: > I'm wondering where we go from here? The VASM home page doesn't seem to have > any bug reporting facilities. Is there something that the FPC project can take > forward, or should I attempt to find a link etc to report bugs in vasm? I recently also became aware of this issue, as I was setting up my new build environment on my new laptop. Thanks to this, I was already aware of this, but I had no time to talk to Frank Wille, the maintainer of VASM yet, due to other things I was busy with. I have to talk to him anyway regarding other issues too. For now, it's great that you and Pierre confirmed the issue. Please stick to vasm 1.9 until further notice on m68k, and I'll get this sorted. Charlie ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Oberon-0
Gcc has already been ported to the propeller II, (and it runs on the original propeller too), so porting other languages should be "relatively" easy. I've not made the attempt to port anything yet though, mostly because I've been out of the propeller world for a couple years, and now that the version 2 is out, I'm trying to reestablish some working environments so I can use the propeller 2. I have bought some of the mystery boxes, which gave me a propeller 2 edge board with 32MB of ram, but I don't think I have an actual propeller 2 just yet. Needing others to id things for me is making the list of products I have hard to create, but I'm getting there. Anyway, since gcc exists, any compiler that uses gcc as the backend should be possible to port. I've thought about porting FPC, but I'd have to start with a version that's already meant for smaller systems, I do believe someone posted a link to one a few months ago, perhaps that one could be used as a jumping off point, would be interesting to see pascal available for the propeller boards. On 4/18/2023 6:21 AM, Markus Greim via fpc-pascal wrote: Hi Adriaan, whats about a Oberon-0 compiler compiling to Forth? And then Forth to MacOSX? (RetroForth, Swift or whatever) That may sound silly, but such a Compiler would help a lot to port Obern to other platforms resp Microcontrollers etc. For example to the Propeller II Kind Regards Markus Sent from Front On April 18, 2023 at 12:13 PM GMT+2 fpc-pascal@lists.freepascal.org wrote: Any suggestions for running simple Oberon-0 programs on the MacOSX command-line ? EIther by emulating its RISC processor or by changing the Oberon-0 compiler ? I prefer not to load the entire Oberon system (for which there do exist emulators). Regards, Adriaan van Os ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist -fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Oberon-0
Hi Adriaan, whats about a Oberon-0 compiler compiling to Forth? And then Forth to MacOSX? (RetroForth, Swift or whatever) That may sound silly, but such a Compiler would help a lot to port Obern to other platforms resp Microcontrollers etc. For example to the Propeller II Kind Regards Markus --- original message --- On April 18, 2023 at 12:13 PM GMT+2 fpc-pascal@lists.freepascal.org wrote: Any suggestions for running simple Oberon-0 programs on the MacOSX command-line ? EIther by emulating its RISC processor or by changing the Oberon-0 compiler ? I prefer not to load the entire Oberon system (for which there do exist emulators). Regards, Adriaan van Os ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal --- end of original message ---___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] VASM upgrade to 1.9 breaks cross compiler build
On 18/04/2023 17:18, Pierre Muller via fpc-pascal wrote: > ...> Checking of versions 1_9a and 1_9b confirms that the problem > appeared in version 1_9a. I can confirm this. Release 1.9 is indeed working fine, everything more recent is failing. I'm wondering where we go from here? The VASM home page doesn't seem to have any bug reporting facilities. Is there something that the FPC project can take forward, or should I attempt to find a link etc to report bugs in vasm? Thanks for your help in this. Cheers, Norm. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] VASM upgrade to 1.9 breaks cross compiler build
I tried to update to the latest version 1.9c, and that one indeed does lead to this error: Executing "/home/muller/bin/m68k-sinclairql-vasmm68k_std" with command line "-quiet -elfregs -gas -Felf -m68000 -o /home/muller/pas/gitlab-fpc-source/rtl/units/m68k-sinclairql/system.o /home/muller/pas/gitlab-fpc-source/rtl/units/m68k-sinclairql/system.s" warning 1007 in line 4 of "/home/muller/pas/gitlab-fpc-source/rtl/units/m68k-sinclairql/system.s": scratch at end of line >.section .text.n_system_$$_mt_frjob$longint$longint,"awx" So the regression appeared between versions 1.9 and 1.9c. Checking of versions 1_9a and 1_9b confirms that the problem appeared in version 1_9a. Pierre Le 18/04/2023 à 16:43, Pierre Muller via fpc-pascal a écrit : Hi, I think that my daily tests are using vasm 1.9 for sinclairql, and I have no problems with them. could you please be a little more specific about the exact version of the compiler and the make command line you are using? I used current trunk compiler with: muller@gcc186:~/pas/trunk/fpcsrc$ make crossall CPU_TARGET=m68k OS_TARGET=sinclairql OPT="-n -vx" which uses version 1.9c muller@gcc186:~/pas/trunk/fpcsrc$ /home/muller/bin/m68k-sinclairql-vasmm68k_std vasm 1.9 (c) in 2002-2022 Volker Barthelmann And completes successfully: make[2]: Leaving directory '/home/muller/pas/gitlab-fpc-source' /usr/bin/echo Build > build-stamp.m68k-sinclairql /usr/bin/echo Build > base.build-stamp.m68k-sinclairql make[1]: Leaving directory '/home/muller/pas/gitlab-fpc-source' Pierre Le 18/04/2023 à 16:14, Norman Dunbar via fpc-pascal a écrit : Good Afternoon. After a long break, I decided to start work/play on the Sinclair QL FPC cross compiler. I noticed that using any release of the vasm assembler, from 1.9 onwards, breaks the "crossall" build. It spits out a number of "warning 1007: scratch at the end of line" errors, then the build fails with 2 errors -- neither of which are displayed. Reverting back to any of the 1.8 releases, 1.8l (ell) is the latest, and the build works fine. I'm pretty sure almost nobody is building the cross compiler for this particular bit of 1980s hardware, other than myself and a couple of others, but hopefully this message will be useful to someone. It could be that the later versions of the assembler are going to break other M68K systems? For best results, the 1.8l version of vasm can be obtained from http://phoenix.owl.de/tags/vasm1_8l.tar.gz and this is the most recent version of the assembler that will help build the cross compiler. Cheers, Norm. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] VASM upgrade to 1.9 breaks cross compiler build
Hi Pierre, could you please be a little more specific about the exact version of the compiler and the make command line you are using? I'm, on 64 bit Linux Mint 21.1 (Vera) all patches applied. I'm using the latest Linux x86-64 version of FPC. I have the latest source code from gitlab, which appears to be 3.3.1, I run the following commands to perform a build: cd ~/SourceCode/fpc make clean OS_TARGET=sinclairql CPU_TARGET=m68k make crossall OS_TARGET=sinclairql CPU_TARGET=m68k ### All on one line! make crossinstall OS_TARGET=sinclairql CPU_TARGET=m68k INSTALL_PREFIX="/home/norman/bin" I see that you have some options on your make command, which I've never had to use in the past when building the compiler. Hang on while I retest... Nope, still fails. I rebuilt the assembler with release 1.9c and installed it in the usual manner, which has always worked. When I rebuild the compiler, with a "make clean" followed by a "make crossall" as per your command above, it spits out numerous "warning 1007" messages. The start of all the problems is this: make[4]: Entering directory '/data/SourceCode/fpc/rtl/sinclairql' /usr/bin/mkdir -p /data/SourceCode/fpc/rtl/units/m68k-sinclairql /data/SourceCode/fpc/compiler/ppcross68k -Ur -Tsinclairql -Pm68k -XPm68k-sinclairql- -Ur -Xs -O2 -n -Fi../inc -Fi../m68k -Fim68k -FE. -FU/data/SourceCode/fpc/rtl/units/m68k-sinclairql -n -vx -dm68k -dRELEASE -Us -Sg @rtl.cfg system.pp Executing "/usr/local/bin/m68k-sinclairql-vasmm68k_std" with command line "-quiet -elfregs -gas -Felf -m68000 -o /data/SourceCode/fpc/rtl/units/m68k-sinclairql/system.o /data/SourceCode/fpc/rtl/units/m68k-sinclairql/system.s" warning 1007 in line 4 of "/data/SourceCode/fpc/rtl/units/m68k-sinclairql/system.s": scratch at end of line >.section .text.n_system_$$_mt_frjob$longint$longint,"awx" ... this repeats for aome time up until: warning 1007 in line 73309 of "/data/SourceCode/fpc/rtl/units/m68k-sinclairql/system.s": scratch at end of line >.section .data.n_RTTI_$SYSTEM_$$_QLCONHANDLE,"aw" system.pp(438) Error: Error while assembling exitcode 1 system.pp(438) Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted This doesn't happen with the 1.8 releases of vasm. There are no "warning 1007" messages with that one and everything compiles happily. With the 1.8x releases, I get this instead: make[4]: Entering directory '/data/SourceCode/fpc/rtl/sinclairql' /usr/bin/mkdir -p /data/SourceCode/fpc/rtl/units/m68k-sinclairql /data/SourceCode/fpc/compiler/ppcross68k -Ur -Tsinclairql -Pm68k -XPm68k-sinclairql- -Ur -Xs -O2 -n -Fi../inc -Fi../m68k -Fim68k -FE. -FU/data/SourceCode/fpc/rtl/units/m68k-sinclairql -n -vx -dm68k -dRELEASE -Us -Sg @rtl.cfg system.pp Executing "/usr/local/bin/m68k-sinclairql-vasmm68k_std" with command line "-quiet -elfregs -gas -Felf -m68000 -o /data/SourceCode/fpc/rtl/units/m68k-sinclairql/system.o /data/SourceCode/fpc/rtl/units/m68k-sinclairql/system.s" It then proceeds to compile the remaining "pp" files. If it helps, I built the vasm assembler as follows: wget http://sun.hasenbraten.de/vasm/release/vasm.tar.gz tar -xzf vasm.tar.gz cd vasm make clean CPU=m68k SYNTAX=std make CPU=m68k SYNTAX=std sudo cp vasmm68k_std /usr/local/bin/ cd /usr/local/bin sudo ln -s vasmm68k_std m68k-sinclairql-vasmm68k_std Cheers, Norm. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] VASM upgrade to 1.9 breaks cross compiler build
Hi, I think that my daily tests are using vasm 1.9 for sinclairql, and I have no problems with them. could you please be a little more specific about the exact version of the compiler and the make command line you are using? I used current trunk compiler with: muller@gcc186:~/pas/trunk/fpcsrc$ make crossall CPU_TARGET=m68k OS_TARGET=sinclairql OPT="-n -vx" which uses version 1.9c muller@gcc186:~/pas/trunk/fpcsrc$ /home/muller/bin/m68k-sinclairql-vasmm68k_std vasm 1.9 (c) in 2002-2022 Volker Barthelmann And completes successfully: make[2]: Leaving directory '/home/muller/pas/gitlab-fpc-source' /usr/bin/echo Build > build-stamp.m68k-sinclairql /usr/bin/echo Build > base.build-stamp.m68k-sinclairql make[1]: Leaving directory '/home/muller/pas/gitlab-fpc-source' Pierre Le 18/04/2023 à 16:14, Norman Dunbar via fpc-pascal a écrit : Good Afternoon. After a long break, I decided to start work/play on the Sinclair QL FPC cross compiler. I noticed that using any release of the vasm assembler, from 1.9 onwards, breaks the "crossall" build. It spits out a number of "warning 1007: scratch at the end of line" errors, then the build fails with 2 errors -- neither of which are displayed. Reverting back to any of the 1.8 releases, 1.8l (ell) is the latest, and the build works fine. I'm pretty sure almost nobody is building the cross compiler for this particular bit of 1980s hardware, other than myself and a couple of others, but hopefully this message will be useful to someone. It could be that the later versions of the assembler are going to break other M68K systems? For best results, the 1.8l version of vasm can be obtained from http://phoenix.owl.de/tags/vasm1_8l.tar.gz and this is the most recent version of the assembler that will help build the cross compiler. Cheers, Norm. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] VASM upgrade to 1.9 breaks cross compiler build
Good Afternoon. After a long break, I decided to start work/play on the Sinclair QL FPC cross compiler. I noticed that using any release of the vasm assembler, from 1.9 onwards, breaks the "crossall" build. It spits out a number of "warning 1007: scratch at the end of line" errors, then the build fails with 2 errors -- neither of which are displayed. Reverting back to any of the 1.8 releases, 1.8l (ell) is the latest, and the build works fine. I'm pretty sure almost nobody is building the cross compiler for this particular bit of 1980s hardware, other than myself and a couple of others, but hopefully this message will be useful to someone. It could be that the later versions of the assembler are going to break other M68K systems? For best results, the 1.8l version of vasm can be obtained from http://phoenix.owl.de/tags/vasm1_8l.tar.gz and this is the most recent version of the assembler that will help build the cross compiler. Cheers, Norm. -- Norman Dunbar ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] IRC channel for FreePascal support ?
On 2023-04-18 11:12, Elmar Haneke via fpc-pascal wrote: Just my comments on IRC-Channels. . . Thanks for your input, but as already suggested previously, everybody interested in this topic should preferably use the fpc-other mailing list to keep this one available for discussion related to use of FPC itself rather than associated communication channels. Thanks Tomas (one of FPC mailing list moderators) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] Oberon-0
Any suggestions for running simple Oberon-0 programs on the MacOSX command-line ? EIther by emulating its RISC processor or by changing the Oberon-0 compiler ? I prefer not to load the entire Oberon system (for which there do exist emulators). To answer my own question maybe the simplest option is to port the Oberon-0 compiler code to FPC and to link-in the Oberon-0 provided RISC module, which contains an interpreter for the target RISC processor, as described in the Wirth's Compiler Construction book. Regards, Adriaan van Os ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] Oberon-0
Any suggestions for running simple Oberon-0 programs on the MacOSX command-line ? EIther by emulating its RISC processor or by changing the Oberon-0 compiler ? I prefer not to load the entire Oberon system (for which there do exist emulators). Regards, Adriaan van Os ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] IRC channel for FreePascal support ?
Just my comments on IRC-Channels. I did enter the rooms #fpc #lazarus #lazarus-ide #fpc-alt #fpc-dev just to see whats going on on these channels a few days before. I have been contaced by johanna via direct talk asking some questions i I'm able programming pascal, something like how to bring numbers to worded form (with explicit annotation not o google), and what I did program in pascal before an if she can get a copy. Strange/curious behavior at all. On today I got the notice that I'm banned from #fpc - obvious reason: not to post The Channels seem to be empty there is no traffic inside. Elmar ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal