I didn't even know that this may cause problems which show up as .eh_frame warnings, and thus really look like some C++ stuff... But I guess I should have been more suspicious about the "warning: cannot find entry symbol _start; defaulting to 0000000008048054", which is no surprise if one is telling a bare metal cross compiler to create an executable.JamesM wrote:I didn't notice the lack of "-c" on his command line, and that made me think gcc was compiling kernel.c as C++.
Cross compiler issue: no .eh_frame_hdr table will be created
- xenos
- Member
- Posts: 1121
- Joined: Thu Aug 11, 2005 11:00 pm
- Libera.chat IRC: xenos1984
- Location: Tartu, Estonia
- Contact:
Re: Cross compiler issue: no .eh_frame_hdr table will be cre
Re: Cross compiler issue: no .eh_frame_hdr table will be cre
And now you know why I got into that particular habit.Solar wrote:(I didn't look beyond the first error out of habit.)
Every good solution is obvious once you've found it.