m68k toolchain
Jeff Law
law@redhat.com
Mon Mar 21 16:32:00 GMT 2016
On 03/19/2016 02:50 AM, Waldemar Brodkorb wrote:
> Hi GCC devs,
>
> I like to enable m68k support in Buildroot. They use
> a two-stage toolchain building method.
>
> But libgcc contains a header which is not available at this time.
> Removing the reference make compilation work fine.
> It seems the inclusion of asm/unistd.h is unnecessary.
I assume you're trying to build libgcc prior to having built & installed
glibc?
IIRC, the right way to do this is to first use glibc's install-headers
target to get the header files installed, then you can build gcc.
Regardless, I don't offhand see a need for unistd.h in that file. I'll
remove it during the next development cycle.
Jeff
More information about the Gcc-help
mailing list