[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problems installing Woody on Ultra1



On Fri, Feb 08, 2002 at 08:03:25PM +0100, Thomas J. Zeeman wrote:
> On Fri, 8 Feb 2002, Armijn Hemel wrote:
> 
> > On Fri, Feb 08, 2002 at 03:07:06PM +0100, Thomas J. Zeeman wrote:
> >
> > > Don't think the >512MB is a problem on Ultra
> > > Got one root partition of ~1.5G and it boots normally.
> >
> > Well, maybe on the older Ultras it is (I've an Ultra 1). At least it works
> > now and I'm happy. I'm very eager to get my hands on the experimental 64
> > bit userland...
> 
> Ultra 1 here too. Running sid since it came in a week or 2 ago. :)
> Would be nice to have a 64-bit userland on a 64-bitter though.
> Any chance of that happening soon?

For sid/unstable:

# apt-get install gcc-3.0 libc6-dev-sparc64
...
# echo 'int main() { printf("Hello World!\n"); }' > hello.c
# gcc-3.0 -m64 hello.c -o hello
# ./hello
Hello World!
# file hello
hello: ELF 64-bit MSB executable, SPARC V9, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
# 

So basically, using this should work when compiling:


CC=gcc-3.0 -m64

Just remember that any shared libs you build should be installed into
/lib/64/, /usr/lib/64/ or /usr/local/lib/64/ (the last one requires
entry into /etc/ld.so.conf, the others are implied when ldconfig runs).



Ben

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/       Ben Collins    --    Debian GNU/Linux    --    WatchGuard.com      \
`          bcollins@debian.org   --   Ben.Collins@watchguard.com           '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: