Subject: Re: how to use crosscompiler?
To: Hubert Feyrer <>
From: Todd Vierling <>
List: tech-toolchain
Date: 02/03/2004 11:17:31
On Tue, 3 Feb 2004, Hubert Feyrer wrote:

: 	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"?

Symlink $TOOLDIR/vax--netbsd/include to $VAXROOTDIR/usr/include, and do the
same for .../lib.

-- Todd Vierling <> <>