[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Porting NetBSD to Eco32
On 24.06.2014 20:21, Jens Mehler wrote:
> On 24.06.2014 19:05, Valery Ushakov wrote:
>> [Redirecting to tech-toolchain]
>> On Tue, Jun 24, 2014 at 16:33:01 +0200, Jens Mehler wrote:
>>> Hi everyone !
>>> Currently a small team is porting NetBSD to a new processor called
>>> eco32. It's an educational 32bit RISC processor for which I had already
>>> ported GCC and Binutils.
>>> Currently we are working with NetBSD 6.0.1:
>>> It was the lastest stable release as we started this project about one
>>> year ago - give and take half a year :)
>>> I know about the securety issues with this version and we are planning
>>> on updating as soon as we got it working (somehow beeing able to boot
>>> that stuff into single user mode).
>>> While being able to cross-build the kernel and loading binaries
>>> (self-written) instead of the default init, I started to work on the
>>> userland part.
>>> I took a pretty much stupid approach:
>>> ./build.sh -M ../obj/ -T ../tools/ -D ../dest/ -R ../release/ -u -U -m
>>> eco32 distribution
>>> After fixing up the missing file errors like missing libc it spits:
>>> obj ===> lib/../external/gpl3/gcc/lib/crtstuff
>>> line 33: Cannot open
>>> So I read around the mailing lists an came cross the src/tools directory.
>>> In the gcc directoy I found a README :) - happy as I was I started that
>>> It resulted in utter failure: step 2 fails :(
>>> I think I am missing a step between before the native GCC part.
>>> Any pointers would be nice :)
>> You should probably switch to USE_COMPILERCRTSTUFF to "no" in
>> share/mk/bsd.own.mk and provide necessary bits in lib/csu
>> IIRC, current no longer use gcc crt stuff at all on all platforms, so
>> you gonna need that anyway :)
> Ah with that I can skip the native-gcc part :)
> Awesome! Many thanks :)
> Do I still need to export the following ?
> export MKGCC=no
> export MKBINUTILS=no
> export MKGDB=no
> export USE_COMPILERCRTSTUFF=no # just a precaution bsd.own.mk covers
> this too
> export MKCRYPTO=no
> export MKLINT=no
> export MKPROFILE=no
> export MKSHARE=no
After runnig for quite a while now :
includes ===> external/gpl3/gcc/lib/libgomp
nbmake: don't know how to make omp.h. Stop
nbmake: stopped in
That looks like some configury stuff from my gcc config :)
Main Index |
Thread Index |