Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 1998 18:21:43 -0500 (EST)
From:      Alfred Perlstein <bright@hotjobs.com>
To:        sparc@FreeBSD.ORG
Subject:   Huzzah!
Message-ID:  <Pine.BSF.4.05.9811281801340.1605-100000@bright.fx.genx.net>
In-Reply-To: <19981128204917.CUXT5035.fep03-svc@winworkstation>

next in thread | previous in thread | raw e-mail | index | archive | help

Welp, i think i got it right finally.  I'm going to be doing some more
testing for a day, then i'll tar up my /usr/local/spar64 directory and put
it up on ftp for anyone interested along with a readme on how i'm getting
it to work.

They are binaries for i386->sparc64 development.

Now to start working on libc/lib* so i can populate my
/usr/local/sparc64/lib directory and start linking.

I do have a concern, it seems that linking requires a crt0.o, why is this?
I know crt0.o is the "startup code" for the programs, but for some reason
i thought elf makes it unnessesary?  Or do our ELF utils automagically
attach the file?

~ % gcc t.c -O3
/usr/local/sparc64/sparc64-elf/bin/ld: cannot open crt0.o: No such file or
directory   

---

but anyway:

~ % gcc t.c -c -O3

~ % file t.o
t.o: ELF 64-bit MSB relocatable, RS6000, version 1   

(hmmmmm?)

~ % uname -a
FreeBSD bright.reserved 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Fri Nov 27
11:57:00 EST 1998     perlsta@bright.reserved:/usr/src/sys/compile/bright
i386

:)

The RS6000 thing bugs me but it just seems to be bad magic in the file(1)
datafiles.

It really stinks that the V9 manual is so far on backorder.. (4-6 weeks)
at Amazon.

I'll be looking elsewhere for copies but even some of the huge bookstores
in NYC don't seem to cary it... :(

Anyhow i'm in a great mood considering...

1) ctr0.o problem, is this a real problem?  are my binutils broken?
2) lack of documentation at this point
3) i was only able to get c and c++ to compile out of the gcc
distribution, but i don't think this is a problem as objective C and
others aren't needed till much later in the project.
4) the dist of gcc i'm using, they all seem kinda broken but from the
simple things i've compiled the asm looks correct.

Comments? Questions? Corrections?

Big thanks to those who stepped up to give pointers and help so
far.

thanks,
Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com
-- There are operating systems, and then there's FreeBSD.
-- http://www.freebsd.org/                        3.0-current



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?Pine.BSF.4.05.9811281801340.1605-100000>