tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cross Building Native GCC

I followed the README.mknative in tools/gcc/ and ran into the same error:
includes ===> external/gpl3/gcc/lib/libgomp
+ cd /home/jens/eco32/tests/netbsd-new/usr/src/external/gpl3/gcc/lib/libgomp
+ /home/jens/eco32/tests/netbsd-new/usr/src/./obj/tooldir/bin/nbmake
_THISDIR_=external/gpl3/gcc/lib/libgomp/ includes
nbmake: don't know how to make omp.h. Stop

To be precise it's happening in step four:
4. At top level, do
   "nbmake-MACHINE do-distrib-dirs obj includes MKGCC=no MKBINUTILS=no".
I slightly adjusted that command to:
nbmake-eco32 includes MKUNPRIVED=yes MKGCC=no MKBINUTILS=no MKGDB=no

I guess there is another step before starting the native GCC build to
get the libraries from it.
All those glue-files have a comment in the first line:
Created by mknative-gcc ...
But I run into this error every time I try to build this. I tested
several setups with different MKFlags etc.

Right now I even doubt that I understand where the problem is. I am
battleing this for half a year now and have tracked several FLAGS
throughout the entire source-tree but non of them make an sense anymore.

Home | Main Index | Thread Index | Old Index