C'mon, you cannot put a bunch of #defines under a license. Just use whatever header file has the proper defines.
On Fri, 6 May 2022 18:59:51 +0200 Herman ten Brugge via Tinycc-devel <tinycc-devel@nongnu.org> wrote: > I found another dwarf.h. Is this version OK? (See attachment) > > Herman > > > On 5/6/22 17:28, Brian Callahan wrote: > > An FYI for packagers: dwarf.h is dual-licensed LGPLv3+ or GPLv2+. > > This is different than the rest of tcc which is LGPLv2+. > > > > ~Brian > > > > On 5/5/2022 5:13 AM, Herman ten Brugge via Tinycc-devel wrote: > >> The new gcc12 release does not support stabs any more. > >> This was a good reason to add support for dwarf. > >> > >> You can enable this by configuring with option --dwarf=x where > >> x=2..5 Most targets should support version 5. > >> > >> Apple probably needs some adjustments in tccmacho.c for this to > >> work. I do not know how well supported dwarf is on apple. > >> > >> I tested this on x86_64, i386, arm, arm64 and riscv64 on > >> fedora/raspberry pi/*bsd. > >> All testcases work and most targets support dwarf-5. > >> > >> Herman > >> > >> _______________________________________________ > >> Tinycc-devel mailing list > >> Tinycc-devel@nongnu.org > >> https://lists.nongnu.org/mailman/listinfo/tinycc-devel _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel