Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Aug 1998 13:10:07 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Gary Palmer <gpalmer@FreeBSD.ORG>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: alpha userland work
Message-ID:  <Pine.BSF.4.01.9808021305560.14391-100000@herring.nlsystems.com>
In-Reply-To: <2215.902058361@gjp.erols.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2 Aug 1998, Gary Palmer wrote:

> 
> Has anyone tried to compile the alpha `userland' bits lately? I tried this 
> morning on an Alphastation 600 at work (running NetBSD-current) and failed 
> miserably. I eventually got it through to compiling the libraries, but ran 
> into a problem in lib/libc/gen/nlist.c, which assumes Elf32, which doesn't 
> quite work on the Alpha. I'm assuming that all that needs to be done is 
> replace Elf32 with Elf64, but are there any other gotchas out there? Has 
> anyone tried this of late? Judging by the problems I ran into, I don't think 
> so :)

I have a load of uncommitted userland changes, including one to nlist.c,
which I need to re-read here and possibly get external reviews as
appropriate.  A hack to get nlist.c to compile is to s/32/64/ but the
right thing is to check ELF_TARG_CLASS to see what width is being compiled
(this is what I do).

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 951 1891
					Fax:   +44 181 381 1039


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9808021305560.14391-100000>