Re: m68k-unknown-elf-ar: ../stdlib/lib.a: No such file or directory
Josef Wolf <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 17, 2024 at 02:32:46PM +0300, Anders Montonen wrote: > > On 17 Jul 2024, at 13:04, Josef Wolf <[email protected]> wrote: > > My understanding is: elf is a file format, which happens to be introduced > > in the early days of linux. But it works perfectly on bare metal. I am > > using it for dacades on bare metal. I have no idea why this commit has > > not hit me before. > > GCC 14 made implicit function declarations errors by default for C99 and newer. In addition to the one you ran into, there’s a bunch of missing declarations in the libgloss simulator. I assume most less-commonly-used targets have similar issues. Yes, I see. I already have temporary workarounds applied to this issue. The question here is whether my understanding about elf being a file format instead of an OS is wrong and elf is not really to be used for bare-metal. BTW: What is the correct way to disable this simulator? -- Josef Wolf [email protected]