Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 1998 02:45:21 -0500 (EST)
From:      Alfred Perlstein <bright@hotjobs.com>
To:        Kapil Chowksey <kchowksey@hss.hns.com>
Cc:        freebsd-sparc@FreeBSD.ORG
Subject:   Re: [Ultra] Compiler, again 
Message-ID:  <Pine.BSF.4.05.9812010233100.3925-100000@bright.fx.genx.net>
In-Reply-To: <199812010450.KAA14386@tarang.hss.hns.com>

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

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



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