Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Karoly Balogh via fpc-devel
Hi, On Tue, 25 Jan 2022, Thorsten Otto via fpc-devel wrote: > > And of course i have to find out what causes vlink to put that strange > > program flags in the header. > > I think i found the reason for that. The offending lines in vlink/main.c are: > (...) > (at this point the option argument

[fpc-devel] Peephole optimizer passes

2022-01-25 Thread J. Gareth Moreton via fpc-devel
Hi everyone, So I've found with the peephole optimizer, at least on x86, that if you run pass 2 more than once, it often catches even more optimisations that otherwise get missed.  At the same time I've found some bugs that get triggered when pass 2 is run again (which is why I asked about

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Thorsten Otto via fpc-devel
On Dienstag, 25. Januar 2022 14:45:07 CET Thorsten Otto via fpc-devel wrote: > And of course i have to find out what causes vlink to put that strange > program flags in the header. I think i found the reason for that. The offending lines in vlink/main.c are: if

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Sven Barth via fpc-devel
Thorsten Otto via fpc-devel schrieb am Di., 25. Jan. 2022, 14:45: > >If I'm not mistaken, GCC for > > >Atari used to have some tool like this? Brownout, maybe? > > > > Yes, but i never used that "brown" tool. For one, i don't like its > confusing naming convention (depending on gcc version, it

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Karoly Balogh via fpc-devel
Hi, On Tue, 25 Jan 2022, Thorsten Otto via fpc-devel wrote: > Yes, but i never used that "brown" tool. For one, i don't like its > confusing naming convention (depending on gcc version, it is "brown", > "extrabrown", "superbrown" etc). But more importantly, it needs an extra > tool to be run

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Thorsten Otto via fpc-devel
On Dienstag, 25. Januar 2022 14:07:52 CET Sven Barth via fpc-devel wrote: > Can it be that you forgot to write some reply here, Thorsten? Hmpf, dunno what happened, so once again. >If I'm not mistaken, GCC for >Atari used to have some tool like this? Brownout, maybe? Yes, but i never used that

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Marcus Sackrow via fpc-devel
Hi, Am 25.01.2022 um 11:50 schrieb Thorsten Otto via fpc-devel: On Dienstag, 25. Januar 2022 11:27:11 CET Marcus Sackrow via fpc-devel wrote: > hmm what do you mean? I wrote it, of course. But is that a script that is stored somewhere, or is it just a setting inside your Jenkins

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Sven Barth via fpc-devel
Thorsten Otto via fpc-devel schrieb am Di., 25. Jan. 2022, 13:03: > On Dienstag, 25. Januar 2022 12:22:33 CET Karoly Balogh wrote: > > > Hi, > > > > > > On Tue, 25 Jan 2022, Thorsten Otto via fpc-devel wrote: > > > > Yes, a.out support (which is used on Atari) has been dropped in 2.31. > > > >

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Thorsten Otto via fpc-devel
On Dienstag, 25. Januar 2022 12:22:33 CET Karoly Balogh wrote: > Hi, > > On Tue, 25 Jan 2022, Thorsten Otto via fpc-devel wrote: > > Yes, a.out support (which is used on Atari) has been dropped in 2.31. > > But i've added it back in, and cross-binutils of 2.34 can be found at > >

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Karoly Balogh via fpc-devel
Hi, On Tue, 25 Jan 2022, Thorsten Otto via fpc-devel wrote: > Yes, a.out support (which is used on Atari) has been dropped in 2.31. > But i've added it back in, and cross-binutils of 2.34 can be found at > http://tho-otto.de/crossmint.php#binutils Won't really help. As you found out already,

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Thorsten Otto via fpc-devel
On Dienstag, 25. Januar 2022 11:27:11 CET Marcus Sackrow via fpc-devel wrote: > hmm what do you mean? I wrote it, of course. But is that a script that is stored somewhere, or is it just a setting inside your Jenkins installation? >newer ld support that but they can't be compiled for m68k

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Marcus Sackrow via fpc-devel
Hi, Am 25.01.2022 um 11:37 schrieb Thorsten Otto via fpc-devel: On Dienstag, 25. Januar 2022 11:07:35 CET Sven Barth via fpc-devel wrote: > For the makefiles you need to set BINUTILSPREFIX=m68k-atari-mint- then Thanks. I'm sure that i already tried that, and it did not work. But maybe i did

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Thorsten Otto via fpc-devel
On Dienstag, 25. Januar 2022 11:07:35 CET Sven Barth via fpc-devel wrote: > For the makefiles you need to set BINUTILSPREFIX=m68k-atari-mint- then Thanks. I'm sure that i already tried that, and it did not work. But maybe i did something wrong, trying it again (without the symlinks) seems to

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Marcus Sackrow via fpc-devel
Hi Thorsten, Am 25.01.2022 um 10:54 schrieb Thorsten Otto via fpc-devel: > yes the Atari version is compiled by Jenkins every commit > https://build.alb42.de:8081/job/FPC_m68k-atari/ (to make sure the > changes does not break the target) it uses the command line: Yes, i saw the console

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Sven Barth via fpc-devel
Thorsten Otto via fpc-devel schrieb am Di., 25. Jan. 2022, 10:54: > > the prefix $CPU-$OS is just the default prefix for every cross > > > compiling, if you need an other, you can supply it with e.g. > > > -XPm68k-atari-mint- > > > > Yes, found that already. But there is also at least one

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Thorsten Otto via fpc-devel
Hi Marcus, thanks for your answers. > yes the Atari version is compiled by Jenkins every commit > https://build.alb42.de:8081/job/FPC_m68k-atari/ (to make sure the > changes does not break the target) it uses the command line: Yes, i saw the console output already. What i could not figure out

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-25 Thread Marcus Sackrow via fpc-devel
Hi, Am 24.01.2022 um 11:03 schrieb Thorsten Otto via fpc-devel:  (I'm new to this list so please forgive me if i'm asking questions that have already been answered elsewhere, and just point me to the right direction) very unlikely, since we implemented that atari interface there was little