From owner-freebsd-sparc Mon Nov 30 23:42:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA26849 for freebsd-sparc-outgoing; Mon, 30 Nov 1998 23:42:30 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA26840 for ; Mon, 30 Nov 1998 23:42:28 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id CAA04451; Tue, 1 Dec 1998 02:45:21 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Tue, 1 Dec 1998 02:45:21 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Kapil Chowksey cc: freebsd-sparc@FreeBSD.ORG Subject: Re: [Ultra] Compiler, again In-Reply-To: <199812010450.KAA14386@tarang.hss.hns.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 1 Dec 1998, Kapil Chowksey wrote: > > I have 2.7.2.2 cross compiling from i386->sparc64elf along with the > > binutils. > > Did you apply this patch ? > > --- config/sparc/sp64-elf.h~ Thu Apr 2 15:22:46 1998 > +++ config/sparc/sp64-elf.h Sat Aug 22 13:37:01 1998 > @@ -35,19 +35,19 @@ > #undef TARGET_VERSION > #define TARGET_VERSION fprintf (stderr, " (sparc64-elf)") > Somehow the second part of it flew by me, but i got it in now. > > I'm going to figure out how to do a 'hello world' type thing to make > > sure it works then put the toolchain up on cvs later this week. > > > > The problem i sorta have is that i have to figure out a way to trick > > solaris into running these 'unbranded' binaries, perhaps i'll build the > > toolchain on both boxes then try to link in a .o compiled on my i386 box > > with one compiled on my ultra. Any better ideas? > > If you are testing your toolchain with solaris, you had better have > solaris 7. If you don't, then I can send you an OpenBoot client > program for hello world which you can test with by booting it via > tftpboot. ummmm, say what? Anything you can show me will be of great help. I am running solaris 7 on my ultra right now though. Do you know of any pointers that explain inline asms? ie: _asm { weird stuff : : : } I grew up in a TASM world :) I'm going to search the GNU pages for hints about this. I know some of it is asm, some tells the compiler which registers are clobbered and which registers it expects to contain variables but i'm unsure of the syntax. If you have a url handy i'd really appreciate it though. Thank you, -Alfred > > -- > Kapil Chowksey Viva GNU ! > kchowksey@hss.hns.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message