From owner-freebsd-sparc Sun Dec 13 12:04:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA04451 for freebsd-sparc-outgoing; Sun, 13 Dec 1998 12:04:35 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from icicle.winternet.com (icicle.winternet.com [198.174.169.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA04446 for ; Sun, 13 Dec 1998 12:04:33 -0800 (PST) (envelope-from mestery@mail.winternet.com) Received: (from adm@localhost) by icicle.winternet.com (8.8.8/8.8.8) id OAA28213 for ; Sun, 13 Dec 1998 14:04:30 -0600 (CST) Received: from tundra.winternet.com(198.174.169.11) by icicle.winternet.com via smap (V2.0) id xma028200; Sun, 13 Dec 98 14:04:20 -0600 Received: from localhost (mestery@localhost) by tundra.winternet.com (8.8.7/8.8.4) with ESMTP id OAA15532 for ; Sun, 13 Dec 1998 14:04:19 -0600 (CST) X-Authentication-Warning: tundra.winternet.com: mestery owned process doing -bs Date: Sun, 13 Dec 1998 14:04:19 -0600 (CST) From: Kyle Mestery To: freebsd-sparc@FreeBSD.ORG Subject: /usr/src/sys/sparc/include/bsd_openprom.h (fwd) 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 I found this in an old mailbox and thought it might be of some use to some people porting to the sparc. I'm pretty sure it wasn't committed. -- Kyle Mestery StorageTek's Storage Networking Group ---------- Forwarded message ---------- Date: Sun, 19 Jul 1998 16:30:40 -0400 (EDT) From: Charles Youse To: freebsd-hackers@freebsd.org Subject: /usr/src/sys/sparc/include/bsd_openprom.h The official kick-off of FreeBSD's sparc support. This one is simply an import from NetBSD, with a few modifications. As I don't have commit rights to -current, someone's gotta grab the ball for me. More to come... Chuck Youse cyouse@syncom.net begin 644 bsd_openprom.h M+RH*("H@0V]P>7)I9VAT("AC*2`Q.3DR+"`Q.3DS"B`J"51H92!296=E;G1S M(&]F('1H92!5;FEV97)S:71Y(&]F($-A;&EF;W)N:6$N("!!;&P@2!B92!U2D@-B\Q,2\Y,PH@*B\*"B\J"B`J(%-U;C1M M('-U<'!O2X* M("H@0VAA;F=E&9F9C`P,#`P"@HC9&5F M:6YE"4]014Y04D]-7TU!1TE#(#!X,3`P,3`T,#<*"B\J"B`J(%9E2!A&%C=&QY('1W;R!C:&%R86-T97)S("@B M71H:6YG(&%N>7=H97)E+"!W:71H;W5T(&%N>2!M86=I8R!T2!A;&QO8V%T;W(@86YD(&UA<"!F M=6YC=&EO;G,@87)E(&EN8VQU9&5D(&AE2!R96QA=&4@;VYL>2!I;F1I2!A;&QO8V%T:6]N(&%N M9"!R96QE87-E+B`J+PH)=F]I9`DJ*"IV,E]M86QL;V,I(%]?4"@H8V%D9')? M="!V82P@=5]I;G0@2!M87!P97(N M("HO"@EC861D2!R96=I;VYS('=I=&@@=&AE'1R86-T('1H M96T@:6YT;R!L;V-A;"!T96UP;W)A2!S8V%N;FEN9R!T:&4@=&%K96X@5DTN("!5 M;F9OPH)8VAA<@DJ8F%? M87)G=ELX73L)"2\J(&%R9W8@9F]R;6%T(&9O2!04D]- M('9E8W1OPH)+RH@5F5R2!D97-C"`J+PH* M"7-T2P@:71S(&EN=&5R9F%C90H)("H@8VAA;F=E9"!B971W M965N(%8P(&%N9"!6,BP@=VAI8V@@9V%V92!U2!T;R!S970@=&AE(&-O M;G1E>'0@'1S(#$@=&AR;W5G M:"!.(&UA>2!H879E(&EN=F%L:60@=')A;G-L871I;VYS(&9O'1B;"P*"0D)"2`@ M("`@(&EN="!C;VYT97AT+"!C861D2TM+6%N9"!T:&4*("H@;F]D97,@87)E(&%R2!V M86QU97,@87)E(')E86QL>2!J=7-T($,@6]U(&IU'0G(&9U;F-T:6]N2!I;F1I2!B92!R96QA=&EV92D@*B\*"75?:6YT"6]A7V)A MPH)+RH*"2`J(%1R964@=')A=F5R2!F=6YC=&EO;G,N("!0'1E < Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA12297 for freebsd-sparc-outgoing; Sun, 13 Dec 1998 22:54:20 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from obie.softweyr.com ([204.68.178.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA12262 for ; Sun, 13 Dec 1998 22:54:16 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.com (zaphod.softweyr.com [204.68.178.35]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id XAA14861; Sun, 13 Dec 1998 23:52:42 -0700 (MST) (envelope-from wes@softweyr.com) Message-ID: <3674B5B9.A2C53340@softweyr.com> Date: Sun, 13 Dec 1998 23:52:41 -0700 From: Wes Peters Organization: Softweyr llc X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Christopher Nielsen CC: Greg Lehey , John Birrell , Alfred Perlstein , freebsd-sparc@FreeBSD.ORG Subject: Re: Read this... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Christopher Nielsen wrote: > > Sun recently had a reorg. There are no longer individual operating > companies with a parent holding company. Sun is one big company again. I > believe this may have been a contributing factor to the death of the > initial UltraSPARC porting effort. Perhaps, but they still have a division or group or whatever that sells embedded SPARC hardware, which still needs embeddable operating systems. Linux generally does not qualify, due to the GPL virus. This may have had more to do with Sun buying Chorus than any doings with Linux, but the timing looked awfully suspicious. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 14 06:10:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA25179 for freebsd-sparc-outgoing; Mon, 14 Dec 1998 06:10:38 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from fep02-svc.tin.it (mta02-acc.tin.it [212.216.176.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA25170 for ; Mon, 14 Dec 1998 06:10:30 -0800 (PST) (envelope-from paipai@box4.tin.it) Received: from winworkstation ([212.216.236.116]) by fep02-svc.tin.it (InterMail v4.0 201-221-105) with SMTP id <19981214141006.BSMR18170.fep02-svc@winworkstation> for ; Mon, 14 Dec 1998 15:10:06 +0100 Comments: Authenticated sender is From: "Paolo Di Francesco" To: freebsd-sparc@FreeBSD.ORG Date: Mon, 14 Dec 1998 02:23:53 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Read this... References: <366F5E30.2ED4962C@softweyr.com> In-reply-to: X-mailer: Pegasus Mail for Win32 (v2.53/R1) Message-Id: <19981214141006.BSMR18170.fep02-svc@winworkstation> Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [That depends on which Sun you're talking about] > > Sun recently had a reorg. There are no longer individual operating > companies with a parent holding company. Sun is one big company again. I > believe this may have been a contributing factor to the death of the > initial UltraSPARC porting effort. > Ok, maybe in the past, but now they support Linux, so why have they not to support FreeBSD? 8) P.S. Now, we have talked enough about Sun/Sparc/Sparc64, etc.... IT'S CODING TIME!!!!!! So now everyone, please think how to contribute to kernel. ;) [Post follows about tecnical probs.] Ciao Ciao Paolo Di Francesco _ ->B<- All Recycled Bytes Message ... ~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 14 06:10:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA25202 for freebsd-sparc-outgoing; Mon, 14 Dec 1998 06:10:42 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from fep02-svc.tin.it (mta02-acc.tin.it [212.216.176.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA25190 for ; Mon, 14 Dec 1998 06:10:39 -0800 (PST) (envelope-from paipai@box4.tin.it) Received: from winworkstation ([212.216.236.116]) by fep02-svc.tin.it (InterMail v4.0 201-221-105) with SMTP id <19981214141012.BSNL18170.fep02-svc@winworkstation> for ; Mon, 14 Dec 1998 15:10:12 +0100 Comments: Authenticated sender is From: "Paolo Di Francesco" To: freebsd-sparc@FreeBSD.ORG Date: Mon, 14 Dec 1998 02:24:49 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Experiments... X-mailer: Pegasus Mail for Win32 (v2.53/R1) Message-Id: <19981214141012.BSNL18170.fep02-svc@winworkstation> Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have done my exam at University, and now I'm again here "active" and kicking.. ;) Now, the problem is: what to do? I'm trying to build my personal toolchain. So I have compiled binutils (latest version) and I'll try to compile egcs tomorrow. Maybe it's a better compiler, but it's more an experiment to see what it says when I try to compile it. The problem is: I haven't an Ultra. So someone must test bins for me (we can compare what my toolchain gives and what _you_ obtain from your toolchain). Ok, this is not a tecnical prob, the tecnical ones are: 1) I have compiled binutils with sparc64-elf, is this right? Have I to use sparc-aout? 2) I'll try to compile egcs with same flags in 1) My idea is to have 2 toolchains. The first one to test "compiler" and the second one to use it on code. We don't know much about egcs/gcc/etc. so I thought to test compiler/toolchain on a usable platform (Solaris). This mean the first toolchain (I called it SolarSystem) must be used _only_ to test the compiler, and the second one (EatIt) must be used to do our test when SolarSystem works. Now, I don't know if we can build Sparc64 bins under solaris, and what to do to build the right toolchain. About test programs. I'm preparing some test programs. The first is something like "do-nothing". No output, no input. After that I'll do more complicated programs (math progs, and input/output, etc...). Suggestions? Ciao Ciao Paolo Di Francesco _ ->B<- All Recycled Bytes Message ... ~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 14 07:24:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA02568 for freebsd-sparc-outgoing; Mon, 14 Dec 1998 07:24:49 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from mail-out.visi.com (tele.visi.com [209.98.98.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA02563 for ; Mon, 14 Dec 1998 07:24:47 -0800 (PST) (envelope-from mestery@visi.com) From: mestery@visi.com Received: from isis.visi.com (isis.visi.com [209.98.98.8]) by mail-out.visi.com (VMailer) with ESMTP id 0BA6E1F809; Mon, 14 Dec 1998 09:24:42 -0600 (CST) Received: from localhost (mestery@localhost) by isis.visi.com (8.8.8/8.8.8) with SMTP id JAA26020; Mon, 14 Dec 1998 09:24:42 -0600 (CST) X-Authentication-Warning: isis.visi.com: mestery owned process doing -bs Date: Mon, 14 Dec 1998 09:24:42 -0600 (CST) To: freebsd-sparc@FreeBSD.ORG, Alfred Perlstein Subject: Question about compiler 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 Hi all. I have a question about building the compiler, and how some of you have gotten it to work for freebsd-sparc. I am attempting a port of freebsd to the ARM right now, and am in the process of building the toolchain. I have taken some patches from the linux-arm people and have built binutils-2.9.0.15, and am now trying to build egcs-1.1.1. to produce freebsd-arm elf binaries. The problem I have is with libgcc.a. I don't have one to use in the build process, and so the build dies there. How did those of you running freebsd-sparc compilers get around this problem? Did you get a libgcc.a from someplace? Any help would be appreciated! Thanks! -- Kyle Mestery StorageTek's Storage Networking Group To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 14 08:42:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA09943 for freebsd-sparc-outgoing; Mon, 14 Dec 1998 08:42:40 -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 IAA09938 for ; Mon, 14 Dec 1998 08:42:38 -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 LAA97230; Mon, 14 Dec 1998 11:46:47 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Mon, 14 Dec 1998 11:46:47 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Paolo Di Francesco cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Experiments... In-Reply-To: <19981214141012.BSNL18170.fep02-svc@winworkstation> 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 Mon, 14 Dec 1998, Paolo Di Francesco wrote: > I have done my exam at University, and now I'm again here "active" and > kicking.. ;) > > Now, the problem is: what to do? I'm trying to build my personal toolchain. So > I have compiled binutils (latest version) and I'll try to compile egcs > tomorrow. Maybe it's a better compiler, but it's more an experiment to see what > it says when I try to compile it. > The problem is: I haven't an Ultra. So someone must test bins for me (we can > compare what my toolchain gives and what _you_ obtain from your toolchain). > > Ok, this is not a tecnical prob, the tecnical ones are: > > 1) I have compiled binutils with sparc64-elf, is this right? Have I to use > sparc-aout? > no, you are correct, our target is sparc64-elf, not aout. aout is dead, long live elf. > 2) I'll try to compile egcs with same flags in 1) this is a pain, you'll need to set your path to the bin-util's bin directory, you'll also have to compile like so: (this assumes you configured with --prefix=/usr/local/sparc64) export C_INCLUDE_DIR=/usr/include export LD_LIBRARY_PATH=/usr/local/sparc64/sparc64-elf/bin export PATH=/usr/local/sparc64/sparc64-elf/bin:/usr/local/sparc64/bin gmake LANGUAGES="c c++" hopefully that'll work, however you'll be generating invalid elf binaries without Kapil Chowksey's and my patches. i still haven't exactly decided on what to use for our compiler, i'm temped to use egcs-current as supposedly the sparc back end is way better, however egcs1.1.1 is now supposedly branded "stable" moving between revisions shouldn't be too bad. > My idea is to have 2 toolchains. The first one to test "compiler" and > the second one to use it on code. We don't know much about > egcs/gcc/etc. so I thought to test compiler/toolchain on a usable > platform (Solaris). This mean the first toolchain (I called it > SolarSystem) must be used _only_ to test the compiler, and the second > one (EatIt) must be used to do our test when SolarSystem works. this is less of an issue than just getting code done. :) there are workarounds for invalid asm code. moving between revisions of egcs to get correct code will stink but they already test their own work, we shouldn't need/try to duplicate their efforts. > > Now, I don't know if we can build Sparc64 bins under solaris, and what > to do to build the right toolchain. > > About test programs. I'm preparing some test programs. The first is something > like "do-nothing". No output, no input. After that I'll do more complicated > programs (math progs, and input/output, etc...). i have generated .o files (gcc -c) and .S files (gcc -S) with egcs, they look "ok" the only problem is that they aren't branded correctly to be linked into solaris binaries. Basically i haven't been able to use solaris 'ld' to link my generated binaries with native compiled binaries. This doesn't mean that the code is bad, just that i have to play with the objformat stuff more. Also, i'm unsure of what ABI we will follow. I have a sol-7 box and strangly enough all the shared objects test out to be 32bit, this isn't our goal, 64 bit is. > > Suggestions? > *head scratch* i'm trying to merge in Kapil's kernel work into the tree i have at home... have you downloaded it? > > > Ciao Ciao > Paolo Di Francesco > _ > ->B<- All Recycled Bytes Message ... > ~ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 14 08:45:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA10475 for freebsd-sparc-outgoing; Mon, 14 Dec 1998 08:45:18 -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 IAA10463 for ; Mon, 14 Dec 1998 08:45:07 -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 LAA98200; Mon, 14 Dec 1998 11:49:34 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Mon, 14 Dec 1998 11:49:34 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: mestery@visi.com cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Question about compiler In-Reply-To: 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 hmmm, are you specifing only to build C and C++? egcs_dir> gmake LANGUAGES="c c++" try that and see if it completes ok hopefully you are subscribed to this list and will get the message i just posted to Paolo with tips, if not ask and i'll forward it to you. Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com -- There are operating systems, and then there's FreeBSD. -- http://www.freebsd.org/ 3.0-current On Mon, 14 Dec 1998 mestery@visi.com wrote: > > Hi all. I have a question about building the compiler, and how some of > you have gotten it to work for freebsd-sparc. I am attempting a port of > freebsd to the ARM right now, and am in the process of building the > toolchain. I have taken some patches from the linux-arm people and have > built binutils-2.9.0.15, and am now trying to build egcs-1.1.1. to > produce freebsd-arm elf binaries. The problem I have is with libgcc.a. > I don't have one to use in the build process, and so the build dies > there. How did those of you running freebsd-sparc compilers get around > this problem? Did you get a libgcc.a from someplace? Any help would be > appreciated! Thanks! > > -- > Kyle Mestery > StorageTek's Storage Networking Group > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 14 08:48:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA10794 for freebsd-sparc-outgoing; Mon, 14 Dec 1998 08:48:10 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from mail-out.visi.com (tele.visi.com [209.98.98.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA10789 for ; Mon, 14 Dec 1998 08:48:08 -0800 (PST) (envelope-from mestery@visi.com) From: mestery@visi.com Received: from isis.visi.com (isis.visi.com [209.98.98.8]) by mail-out.visi.com (VMailer) with ESMTP id CA00E1F81E; Mon, 14 Dec 1998 10:47:58 -0600 (CST) Received: from localhost (mestery@localhost) by isis.visi.com (8.8.8/8.8.8) with SMTP id KAA29521; Mon, 14 Dec 1998 10:47:58 -0600 (CST) X-Authentication-Warning: isis.visi.com: mestery owned process doing -bs Date: Mon, 14 Dec 1998 10:47:58 -0600 (CST) To: Alfred Perlstein Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Question about compiler In-Reply-To: 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 Mon, 14 Dec 1998, Alfred Perlstein wrote: > > hmmm, are you specifing only to build C and C++? > > egcs_dir> gmake LANGUAGES="c c++" > > try that and see if it completes ok > I'll give that a try. According to the docs, I tried gmake cross. That fails trying to find libgcc.a, which is understandable. Usually gcc can build the math functions it needs in libgcc.a from the perform macros, but egcs seems unable to do this (at least the way gcc used to be able to). -- Kyle Mestery StorageTek's Storage Networking Group To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 14 12:24:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA07167 for freebsd-sparc-outgoing; Mon, 14 Dec 1998 12:24:56 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from hillbilly.hayseed.net (dnai-207-181-249-194.dsl.dnai.com [207.181.249.194]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA07156 for ; Mon, 14 Dec 1998 12:24:54 -0800 (PST) (envelope-from enkhyl@scient.com) Received: from localhost (IDENT:root@localhost [127.0.0.1]) by hillbilly.hayseed.net (8.9.1/8.8.5) with ESMTP id MAA22604; Mon, 14 Dec 1998 12:24:35 -0800 Date: Mon, 14 Dec 1998 12:24:33 -0800 (PST) From: Christopher Nielsen X-Sender: enkhyl@ender.sf.scient.com Reply-To: Christopher Nielsen To: Alfred Perlstein cc: Paolo Di Francesco , freebsd-sparc@FreeBSD.ORG Subject: Re: Experiments... In-Reply-To: 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 Mon, 14 Dec 1998, Alfred Perlstein wrote: > this is a pain, you'll need to set your path to the bin-util's bin > directory, you'll also have to compile like so: > > (this assumes you configured with --prefix=/usr/local/sparc64) > > export C_INCLUDE_DIR=/usr/include > export LD_LIBRARY_PATH=/usr/local/sparc64/sparc64-elf/bin > export PATH=/usr/local/sparc64/sparc64-elf/bin:/usr/local/sparc64/bin > > gmake LANGUAGES="c c++" > > hopefully that'll work, however you'll be generating invalid elf binaries > without Kapil Chowksey's and my patches. i still haven't exactly decided > on what to use for our compiler, i'm temped to use egcs-current as > supposedly the sparc back end is way better, however egcs1.1.1 is now > supposedly branded "stable" moving between revisions shouldn't be too bad. I succeeded in building binutils-2.9.1 and egcs-19981206 over the weekend. The snapshot of egcs compiled with no problems, but that doesn't mean it's generating correcct code. I've successfully generated both .o and .S files from a small test program, but FreeBSD file(1) thinks it's a 64-bit ELF RS6000 binary (I think this is already known). Is this because the compiler is generating incorrect code? Have you posted your patches to the list (I know Kapil Chowksey has)? > > My idea is to have 2 toolchains. The first one to test "compiler" and > > the second one to use it on code. We don't know much about > > egcs/gcc/etc. so I thought to test compiler/toolchain on a usable > > platform (Solaris). This mean the first toolchain (I called it > > SolarSystem) must be used _only_ to test the compiler, and the second > > one (EatIt) must be used to do our test when SolarSystem works. > > this is less of an issue than just getting code done. :) there are > workarounds for invalid asm code. moving between revisions of egcs to get > correct code will stink but they already test their own work, we shouldn't > need/try to duplicate their efforts. Agreed. Let the egcs team worry about quality control on their end. They seem to be doing a good job, so far. > i'm trying to merge in Kapil's kernel work into the tree i have at home... > have you downloaded it? I should grab this and we should synch trees at some point. Where is Kapil's work? -- Christopher Nielsen Scient: The eBusiness Systems Innovator cnielsen@scient.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 14 12:43:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA09407 for freebsd-sparc-outgoing; Mon, 14 Dec 1998 12:43:36 -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 MAA09396 for ; Mon, 14 Dec 1998 12:43: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 PAA98902; Mon, 14 Dec 1998 15:47:39 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Mon, 14 Dec 1998 15:47:38 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Christopher Nielsen cc: Paolo Di Francesco , freebsd-sparc@FreeBSD.ORG Subject: Re: Experiments... In-Reply-To: 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 Mon, 14 Dec 1998, Alfred Perlstein wrote: > > > this is a pain, you'll need to set your path to the bin-util's bin > > directory, you'll also have to compile like so: > > > > (this assumes you configured with --prefix=/usr/local/sparc64) > > > > export C_INCLUDE_DIR=/usr/include > > export LD_LIBRARY_PATH=/usr/local/sparc64/sparc64-elf/bin > > export PATH=/usr/local/sparc64/sparc64-elf/bin:/usr/local/sparc64/bin > > > > gmake LANGUAGES="c c++" > > > > hopefully that'll work, however you'll be generating invalid elf binaries > > without Kapil Chowksey's and my patches. i still haven't exactly decided > > on what to use for our compiler, i'm temped to use egcs-current as > > supposedly the sparc back end is way better, however egcs1.1.1 is now > > supposedly branded "stable" moving between revisions shouldn't be too bad. > > I succeeded in building binutils-2.9.1 and egcs-19981206 over the weekend. > The snapshot of egcs compiled with no problems, but that doesn't mean it's > generating correcct code. I've successfully generated both .o and .S files > from a small test program, but FreeBSD file(1) thinks it's a 64-bit ELF > RS6000 binary (I think this is already known). Is this because the > compiler is generating incorrect code? Have you posted your patches to the > list (I know Kapil Chowksey has)? Kapil's kernel beginnings are here: ftp://janus.baldcom.net/pub/FreeBSD/Sparc/kernel/src-981023.tar.gz my patches to egcs are at home, this is an authorized ftp site. I talked to the admin and he will allow us to use janus.baldcom.net. Special thanks to Ken McKittrick for the space. :) anything people want to dump here (for the port) can go into: ftp://janus.baldcom.net/pub/FreeBSD/Sparc/incoming/ a small readme file for what it is would be appreciated. top level for the ftp is: ftp://janus.baldcom.net/pub/FreeBSD/Sparc/ i will upload KC's and my work on egcs tonight. > > > My idea is to have 2 toolchains. The first one to test "compiler" and > > > the second one to use it on code. We don't know much about > > > egcs/gcc/etc. so I thought to test compiler/toolchain on a usable > > > platform (Solaris). This mean the first toolchain (I called it > > > SolarSystem) must be used _only_ to test the compiler, and the second > > > one (EatIt) must be used to do our test when SolarSystem works. > > > > this is less of an issue than just getting code done. :) there are > > workarounds for invalid asm code. moving between revisions of egcs to get > > correct code will stink but they already test their own work, we shouldn't > > need/try to duplicate their efforts. > > Agreed. Let the egcs team worry about quality control on their end. They > seem to be doing a good job, so far. > > > i'm trying to merge in Kapil's kernel work into the tree i have at home... > > have you downloaded it? > > I should grab this and we should synch trees at some point. Where is > Kapil's work? At home, i will upload our patches to the site mentioned above. I understand you are using egcs-current? it is essential that we use the same toolchain, i think i will get the latest snap tonight and hope for the best. (we really need the sparc bits that are in the -current snap) -Alfred > -- > Christopher Nielsen > Scient: The eBusiness Systems Innovator > > cnielsen@scient.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 14 12:59:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA11354 for freebsd-sparc-outgoing; Mon, 14 Dec 1998 12:59:48 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from hillbilly.hayseed.net (dnai-207-181-249-194.dsl.dnai.com [207.181.249.194]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA11349 for ; Mon, 14 Dec 1998 12:59:47 -0800 (PST) (envelope-from enkhyl@scient.com) Received: from localhost (IDENT:root@localhost [127.0.0.1]) by hillbilly.hayseed.net (8.9.1/8.8.5) with ESMTP id MAA22822; Mon, 14 Dec 1998 12:59:25 -0800 Date: Mon, 14 Dec 1998 12:59:23 -0800 (PST) From: Christopher Nielsen X-Sender: enkhyl@ender.sf.scient.com Reply-To: Christopher Nielsen To: Alfred Perlstein cc: Paolo Di Francesco , freebsd-sparc@FreeBSD.ORG Subject: Re: Experiments... In-Reply-To: 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 Mon, 14 Dec 1998, Alfred Perlstein wrote: > At home, i will upload our patches to the site mentioned above. Sounds good. I'll grab Kapil's stuff (I may already have it). > I understand you are using egcs-current? it is essential that we use the > same toolchain, i think i will get the latest snap tonight and hope for > the best. (we really need the sparc bits that are in the -current snap) Yes, I'm using egcs-current (trying to make room for their cvs tree on my current machine, so I can track it better). After Jordan's recommendation to use egcs, I started poking around through mail archives and the egcs stuff, and came to the same conclusion about needing the sparc bits in egcs-current. -- Christopher Nielsen Scient: The eBusiness Systems Innovator cnielsen@scient.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 14 15:33:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA00471 for freebsd-sparc-outgoing; Mon, 14 Dec 1998 15:33:57 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA00465 for ; Mon, 14 Dec 1998 15:33:55 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id AAA01433 for freebsd-sparc@FreeBSD.ORG; Tue, 15 Dec 1998 00:33:44 +0100 (CET) (envelope-from olli) Date: Tue, 15 Dec 1998 00:33:44 +0100 (CET) From: Oliver Fromme Message-Id: <199812142333.AAA01433@dorifer.heim3.tu-clausthal.de> To: freebsd-sparc@FreeBSD.ORG Subject: Re: Experiments... Newsgroups: list.freebsd-sparc Organization: Administration Heim 3 Reply-To: freebsd-sparc@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Alfred Perlstein wrote in list.freebsd-sparc: > ftp://janus.baldcom.net/pub/FreeBSD/Sparc/ Just for the record, I'm mirroring that at ftp://ftp7.de.freebsd.org/pub/FreeBSD/sparc/ (I hope it's OK to mirror it. If not, please let me know.) By the way, I chose a lowercase "sparc" in analogy with "alpha" and "i386". Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 14 16:04:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA05532 for freebsd-sparc-outgoing; Mon, 14 Dec 1998 16:04:00 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from fep02-svc.tin.it (mta02-acc.tin.it [212.216.176.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA05248 for ; Mon, 14 Dec 1998 16:03:47 -0800 (PST) (envelope-from paipai@box4.tin.it) Received: from winworkstation ([212.216.235.33]) by fep02-svc.tin.it (InterMail v4.0 201-221-105) with SMTP id <19981215000328.FASH18170.fep02-svc@winworkstation>; Tue, 15 Dec 1998 01:03:28 +0100 Comments: Authenticated sender is From: "Paolo Di Francesco" To: Alfred Perlstein , freebsd-sparc@FreeBSD.ORG Date: Tue, 15 Dec 1998 01:06:50 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Experiments... References: <19981214141012.BSNL18170.fep02-svc@winworkstation> In-reply-to: X-mailer: Pegasus Mail for Win32 (v2.53/R1) Message-Id: <19981215000328.FASH18170.fep02-svc@winworkstation> Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Ok, this is not a tecnical prob, the tecnical ones are: > > > > 1) I have compiled binutils with sparc64-elf, is this right? Have I to use > > sparc-aout? > > > > no, you are correct, our target is sparc64-elf, not aout. aout is dead, > long live elf. > Ok. Only elf stuff 8) > > 2) I'll try to compile egcs with same flags in 1) > > this is a pain, you'll need to set your path to the bin-util's bin > directory, you'll also have to compile like so: > > (this assumes you configured with --prefix=/usr/local/sparc64) > > export C_INCLUDE_DIR=/usr/include > export LD_LIBRARY_PATH=/usr/local/sparc64/sparc64-elf/bin > export PATH=/usr/local/sparc64/sparc64-elf/bin:/usr/local/sparc64/bin > > gmake LANGUAGES="c c++" > I'll try... > hopefully that'll work, however you'll be generating invalid elf binaries > without Kapil Chowksey's and my patches. i still haven't exactly decided > on what to use for our compiler, i'm temped to use egcs-current as > supposedly the sparc back end is way better, however egcs1.1.1 is now > supposedly branded "stable" moving between revisions shouldn't be too bad. I'll upload everything to that site (see below). Examples, and what I have from my toolchain. So everyone can compare... Please download them and let me know if you have same code (.o and .S) ;) > > My idea is to have 2 toolchains. The first one to test "compiler" and > > the second one to use it on code. We don't know much about > > egcs/gcc/etc. so I thought to test compiler/toolchain on a usable > > platform (Solaris). This mean the first toolchain (I called it > > SolarSystem) must be used _only_ to test the compiler, and the second > > one (EatIt) must be used to do our test when SolarSystem works. > > this is less of an issue than just getting code done. :) there are > workarounds for invalid asm code. moving between revisions of egcs to get > correct code will stink but they already test their own work, we shouldn't > need/try to duplicate their efforts. > I hope egcs 1.1.1 is good enough to do experiments, and to compile it. In the meantime, I hope egcs 2.0 or 1.2 will be out soon. > > > > Now, I don't know if we can build Sparc64 bins under solaris, and what > > to do to build the right toolchain. > > > > About test programs. I'm preparing some test programs. The first is something > > like "do-nothing". No output, no input. After that I'll do more complicated > > programs (math progs, and input/output, etc...). > > i have generated .o files (gcc -c) and .S files (gcc -S) with egcs, they > look "ok" the only problem is that they aren't branded correctly to be > linked into solaris binaries. Basically i haven't been able to use > solaris 'ld' to link my generated binaries with native compiled binaries. > what does it tell you? Core? Cannot link? Wrong object? What? If you have a solaris7 compiler (64bit), you can do this: 1) try to assembly the .S file (does it work? Dunno) 2) try to compare .S from toolchain and from Sun's compiler. 3) try to compile binutils under solaris and then try to assembly the .S code from the toolchain. 4) build the whole compiler/binutils under solaris. Can this be of some help? if you haven't a compiler under Solaris, you can do some crosscompiling. But I don't know how to do it... This seems to be the less stable process. (build a native solaris compiler under FreeBSD/Intel) Maybe this can help. 8) (or, maybe these are stupids suggestions) > This doesn't mean that the code is bad, just that i have to play with the > objformat stuff more. Hum....BFD? (see the old thread about BFD) > Also, i'm unsure of what ABI we will follow. I have a sol-7 box and > strangly enough all the shared objects test out to be 32bit, this isn't > our goal, 64 bit is. > > > > > Suggestions? > > > > *head scratch* > > i'm trying to merge in Kapil's kernel work into the tree i have at home... > have you downloaded it? > No. Tonight I will download it... 8) Ciao Ciao Paolo Di Francesco _ ->B<- All Recycled Bytes Message ... ~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 14 16:16:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA07549 for freebsd-sparc-outgoing; Mon, 14 Dec 1998 16:16:59 -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 QAA07540 for ; Mon, 14 Dec 1998 16:16:56 -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 TAA99467 for ; Mon, 14 Dec 1998 19:21:28 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Mon, 14 Dec 1998 19:21:28 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: freebsd-sparc@FreeBSD.ORG Subject: Re: Experiments... In-Reply-To: <199812142333.AAA01433@dorifer.heim3.tu-clausthal.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.freebsd.org id QAA07545 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hmm works for me. it's a VERY small effort at this point and time. the Sparc was a boo-boo, i'm going to ask the admin to change it to sparc64 actually. actually i'll have him symlink it. Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com -- There are operating systems, and then there's FreeBSD. -- http://www.freebsd.org/ 3.0-current On Tue, 15 Dec 1998, Oliver Fromme wrote: > Alfred Perlstein wrote in list.freebsd-sparc: > > ftp://janus.baldcom.net/pub/FreeBSD/Sparc/ > > Just for the record, I'm mirroring that at > > ftp://ftp7.de.freebsd.org/pub/FreeBSD/sparc/ > > (I hope it's OK to mirror it. If not, please let me know.) > By the way, I chose a lowercase "sparc" in analogy with > "alpha" and "i386". > > Regards > Oliver > > -- > Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany > (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) > > "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" > (Terry Pratchett) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 14 17:56:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA19408 for freebsd-sparc-outgoing; Mon, 14 Dec 1998 17:56:43 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from fep03-svc.tin.it (mta03-acc.tin.it [212.216.176.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA19403 for ; Mon, 14 Dec 1998 17:56:37 -0800 (PST) (envelope-from paipai@box4.tin.it) Received: from winworkstation ([212.216.235.33]) by fep02-svc.tin.it (InterMail v4.0 201-221-105) with SMTP id <19981215000335.FASS18170.fep02-svc@winworkstation>; Tue, 15 Dec 1998 01:03:35 +0100 Comments: Authenticated sender is From: "Paolo Di Francesco" To: Alfred Perlstein , freebsd-sparc@FreeBSD.ORG Date: Tue, 15 Dec 1998 01:06:50 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Experiments... References: In-reply-to: X-mailer: Pegasus Mail for Win32 (v2.53/R1) Message-Id: <19981215000335.FASS18170.fep02-svc@winworkstation> Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Kapil's kernel beginnings are here: > [snip] bookmarked ;) Please note many persons offered HD space on the web. We can use it... > > i will upload KC's and my work on egcs tonight. > I'll download it when avaible... Ciao Ciao Paolo Di Francesco _ ->B<- All Recycled Bytes Message ... ~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Dec 18 10:15:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA08135 for freebsd-sparc-outgoing; Fri, 18 Dec 1998 10:15:15 -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 KAA08127 for ; Fri, 18 Dec 1998 10:15:11 -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 NAA08599; Fri, 18 Dec 1998 13:18:26 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Fri, 18 Dec 1998 13:18:26 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Paolo Di Francesco cc: sparc@FreeBSD.ORG Subject: Re: Why doesn't it compile? In-Reply-To: <19981218164406.ERWC812.fep01-svc@winworkstation> 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 Fri, 18 Dec 1998, Paolo Di Francesco wrote: > > I deleted your first email sorry, can you show me the error again? > > I have solved that error with an appropriate gmake string (I have read the > makefile, very boring...). Now the problem seems more deep... 8( > > > While it's in transport, double check the steps I posted and forward it to > > me so i can double check. > > > I'm going to try _to_ be nice here. > Now what I have done is: > > 1) build the binutils. (No prob here) > > 2) unpacked the egcs1.1b > > 3) updated using patch to 1.1.1 > > 4) configured with > > --prefix=.... --target=sparc64-elf and --host=i586-unknown-freebsd2.2.7 Why the hell are you working with 2.2.7? We are working on -current (3.0) and even so, 2.2.8 has been out for quite a long time. This configure line is way broken. > 5) given > > gmake LANGUAGES="c" LIBGCC2_INCLUDES=-I/usr/include I'm unsure if you're totally ignoring my advice on how to build this properly. **PLEASE** check the archives of this list for my email. I think you need to work on this a lot more before you get involved with this effort. Get 3.0, read my message, look at the archive for Kapil's hints and my message. I'm not even close to an expert on this stuff, but following the posts Kapil and I have made isn't that difficult. -Alfred > > if I give > > gmake LANGUAGES="c c++" LIBGCC2_INCLUDES=-I/usr/include > > it stops on the new operator building process. We do not need C++ so I excluded > it. > > > > The file I have included is what (more or less) the compiling process prints > out. As you can notice there are many warnings, and the last one is the error > reported by the compiler. So, again, my dubt is not "why it does not compile" > but more "why you have compiled it"! 8) > > It seemed easier... 8( > > Well, if _I_ have troubles and I spend many hours on this stupid problem, > imagine who is not an expert and wants to start playing with the kernel... > (I have a 10 years experience with C and compilers...^__^) > So, we have to do something like a port for the toolchain. So you can download > the port and then unpack it and be ready to start. What do you think? > > > > Ciao Ciao > Paolo Di Francesco > _ > ->B<- All Recycled Bytes Message ... > ~ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message