Subject: how to use crosscompiler?
To: None <tech-toolchain@netbsd.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-toolchain
Date: 02/03/2004 17:16:05
On 1.6.x, I built a crosscompiler (from 1.6.x sources). How does one use
it?

	miyu% pwd
	/home/cvs/src-1.6/tools/obj.vax/tools.NetBSD-1.6ZI-i386/vax--netbsdelf/bin
	miyu% ./gcc ~/tmp/h.c -o /tmp/h
	/home/feyrer/tmp/h.c:1: stdio.h: No such file or directory

I know how to get things going with -nostdinc, -nostlib, -L, path to
crt0.o etc., but isn't there an easier way to have a seperate NetBSD/vax
installation in one directory, and then specify "use all the headers,
libs, crt*.o from that dir with a single switch"?


 - Hubert

-- 
Hubert Feyrer <hubert@feyrer.de>