Subject: Building cross-compiler on non-NetBSD system ?
To: None <port-vax@netbsd.org>
From: Blaz Antonic <NOSPAM_blaz.antonic@siol.net>
List: port-vax
Date: 10/25/2003 11:23:10
Hello,

Has anyone ever tried building NetBSD cross-compilation suite of tools
on non-NetBSD system ?

I got all the sources for 1.6.1, placed them on a Linux machine that can
compile it stuff without any problems whatsoever but when i tried to

./build.sh -m vax -t 

i got practically endless stream of missing declarations (header files
for Linux and NetBSD obviously don't match and i couldn't feed it NetBSD
includes because that broke configure script checking for c++ even
before it got to compilation of utilities). If i fixed one i got another
right afterwards ... it was pointless.

Cross-build doc i found online mentioned that stuff shoudl build on
other *nices too but then again it also said some utils won't build on
non-NetBSD system.  Apparently the latter is true :-)

The plan was to aid my 4000/60 with CPU cycles of (otherwise pretty much
idle) PeeCee router with distcc because compilation is what bogs my poor
VS down the most :( So ... any suggestions, besides starting build
process over and over again and manually add missing declarations
somewhere ? Quite frankly i'd rarther stare at my console until i go
numb while waiting for native compile to finish on Vaxstation than to
fix all those headers :-)

Blaz Antonic
-- 
Hi! I'm a signature virus!
Copy me into your signature to help me spread!