Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2000 20:52:09 -0600
From:      "Kevin M. Dulzo" <kdulzo@mobile.gerp.org>
To:        freebsd-sparc@freebsd.org
Subject:   Hello
Message-ID:  <20000330205209.A90031@mobile.gerp.org>

next in thread | raw e-mail | index | archive | help
	Finally I have decided to do something to develop somewhere.  I
noted this list has somewhat a light load of traffic, so I decided to 
hop on and say hi.  I am currently working on getting cross compilation 
tools to work on my laptop -- progress is very good, but I have had some 
minor issues.

	I have some questions -- the current documentation lists netbsd
as our staging point of choice.  After getting function cross compiler
and binary utilities, we need a libc to attempt to build userland
applications...which one do we use?

	FreeBSD's libc would seem to be the choice in my book, but are
there not syscall issues between the NetBSD and FreeBSD kernel?
	NetBSD's libc would seem to be the choice to talk to the NetBSD
kernel, however header files and expected libc calls would be out
of sync would they not?
	GNU's libc doesn't support the architecture (per configure)

My current cross compilation setup looks something like this:
/usr/local/sparc-netbsd
	/bin
	/sparc-netbsd
		/include (copy of FreeBSD's /usr/include)
	/src
		/sys (NetBSD kernel with arch/sparc* only)
		/contrib (GNU utility src for building cross compiler)
			/binutils (build directory)
			/binutils-2.9.1 (GNU src)
			/gcc (build directory)
			/gcc-2.95.2 (GNU src)

My cross build process is the following:

cd /usr/local/sparc-netbsd/src/contrib

set path = ( $path /usr/local/sparc-netbsd/bin ) # needed for gcc build
set target = sparc-netbsd
set prefix = /usr/local/sparc-netbsd

cd binutils
../binutils-2.9.1/configure --target=$target --prefix=$prefix -v
make all install

cd gcc
../gcc-2.95.2/configure --target=$target --prefix=$prefix -v
make all install

(repeat for gdb -- I have yet to get this far)

I have a number of sparcs on order (GO EBAY!)
My current IPX is offline for now...
   [where did I put that null modem *sigh* ]


Please give me feedback and let me know your own experiences, I am
really excited to help get this off the ground!

-Kevin


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000330205209.A90031>