tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Cross Building Native GCC
Am 17.02.2015 um 14:24 schrieb Martin Husemann:
> On Tue, Feb 17, 2015 at 01:58:19PM +0100, Jens Mehler wrote:
>> Hmm yeah building a standalone native-gcc - I should try that :D
>> I never considered that because the project only focused on
>> cross-compilation XD
> Sorry, unclear wording: a ./configure of gcc, no matter if you are
> cross compiling or not. It should create the omp.h file for you
> (somewhere), and you could put that into
> src/external/gpl3/gcc/lib/libgomp/arch/eco32/omp.h for a start and see
> if you get further with mknative.
>
> Maybe omp.h is needed in step 4 before it is (re-)generated later in the
> process, and we just never noticed (as we have existing files for all
> our architectures).
>
> Martin
No worries :)
I was about to embark this mission on the NetBSD source anyway because
libgomp needs some OS-headers and I would like to keep me standalone GCC
pretty much clean (well as clean as those sources can be after I messed
with them :P )
I will see what I can do - I can't be that hard. After porting GCC,
Binutils, Newlib and the NetBSD kernel over the course of my studies
this is the final step.
I will document this and keep this thread posted.
Thanks a lot in advance!
Jens
Home |
Main Index |
Thread Index |
Old Index