Subject: Re: Toolchain for netbsd on FreeBSD
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: Srinivasa Kanduru <ksraghavan@yahoo.com>
List: tech-toolchain
Date: 11/17/2003 14:30:02
Hi Valeriy,

Maybe I did it wrong. I just looked at the FreeBSD sources. They do have netbsd
syscall compatibility for lstat, fstat and stat, but not for vfork14. Somehow
the lint which does a vfork() referenced vfor14() [a nosys for FreeBSD] and
coredumped and so I thought there was something wrong in the distribution.

Anyway I will try it again though I can't get to it for at least a week.

Thanks for the info.

Regards,
Srini.


--- "Valeriy E. Ushakov" <uwe@ptc.spbu.ru> wrote:
> On Sun, Nov 16, 2003 at 13:13:12 -0800, Srinivasa Kanduru wrote:
> 
> > I was trying to cross-compile netbsd 1.6.1 on FreeBSD.  I was having
> > some problems in making it self-sufficient in the sense building it
> > without using any of the host libraries.  I tried it on i386
> > architecture.
> [...]
> > It may be that I took the distribution from the wrong place or I am
> > doing something wrong. Can somebody throw some light on it?
> 
> Yes, you are doing this the wrong way.  You need to use netbsd
> cross-compilation facilities conveniently wrapped in the build.sh
> script.  1.6.1 my have problems with cross building on FreeBSD, but in
> -current support for cross-building on FreeBSD is much better.
> Actually I use a fast FreeBSD machine as a build box to build worlds
> for NetBSD/i386, /sparc, /netwinder (arm) and /hpcsh (sh3).
> 
> Read the file BUILDING located in the root of the source tree.
> 
> SY, Uwe
> -- 
> uwe@ptc.spbu.ru                         |       Zu Grunde kommen
> http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree