Port-m68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Intermediate step for new arch for lc040 compatibility



On Tue, 22 Apr 2025 at 02:57, Nathanial Sloss
<nathanialsloss%yahoo.com.au@localhost> wrote:
>
> Hi,
>
> Please see attached patch:
>
> I've found it very hard to set the -mlcfix flag for gas(1) depending on the
> caller. If it's gcc its pretty easy to set CFLAGS but not necessarily for
> other programmes.
>
> It was easier to make a toolchain where -mlcfix was the default ensuring
> compatibility no matter which programme was calling gas(1).
>
> The attached patch will make a toolchain where by -mlcfix is the default if -V
> MKLC040COMPAT is passed to build.sh.
>
> This is an intermediate step for a new arch where the flag can be set (say
> m68klc).
>
> Best regards and thank you for your consideration,

To clarify my understanding:

This would not affect the default built binaries for any m68k port,
but can be used by people to build a custom distribution with the
workaround for defective LC040 chips?

While it would only be useful for a tiny number of people, we're
already into that territory with port-mac68k :), and it looks low
maintenance, so LGTM

David


Home | Main Index | Thread Index | Old Index