Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 1998 12:00:08 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Paolo Di Francesco <paipai@tin.it>, freebsd-sparc@FreeBSD.ORG
Subject:   Re: [Ultra] Compiler, again
Message-ID:  <19981128120008.W468@freebie.lemis.com>
In-Reply-To: <19981128011428.BZH5035.fep03-svc@winworkstation>; from Paolo Di Francesco on Sat, Nov 28, 1998 at 02:16:46AM %2B0000
References:  <19981126012503.TTRF23855.fep04-svc@winworkstation>; <19981128110256.N468@freebie.lemis.com> <19981128011428.BZH5035.fep03-svc@winworkstation>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 28 November 1998 at  2:16:46 +0000, Paolo Di Francesco wrote:
> Greg Lehey wrote

I inserted the line above myself.  It would be helpful if you got your
mailer to do it for you.

>> Don't forget that the other flavours of *BSD also use gcc.  The
>> difference is that they use different Makefiles (which, BTW, are at
>> least one order of magnitude less complex).  Your challenge would be
>> to modify them, preferably in a manner which wouldn't preclude their
>> use on other platforms, so that they would also build a Sparc
>> compiler.  So far, the only platform dependency in
>> /usr/src/gnu/usr.bin/cc/Makefile.inc is:
>>
>> if ${MACHINE_ARCH} != "i386"
>> BINFORMAT=	elf
>> .else
>> # Pick aout for now. the elf config is not binary compatable.
>> BINFORMAT?=	aout
>> #BINFORMAT?=	elf
>> .endif
>>
>> It seems to me that this wouldn't need changing for Sparc.
>
> I don't know which are the tecnical problems when you compile a
> cross-compiler.  For the compiler part (use Solaris+gccX.Y) I don't
> think we have many prob.

I don't think we would use the standard compiler as a cross-compiler.
That should probably stay in the ports collection.

>> There are other messages which suggest that the future is now.  I
>> can't see any reason not to move to 2.8.x if that's what it takes.  By
>> the time the Sparc port gets merged into the main source tree, the
>> other platforms will probably support it too.  In the meantime you
>> could use the version in ports.
>
> Yes, if there are no tecnical or political problems we can use it. I don't know
> if we can use it as crosscompiler, but we can try.

Yes, gcc can be compiled as a cross-compiler.

> P.P.S. Rember: I haven't an Ultra. This means "crosscompiling" and I don't know
> if we can use gcc for crosscompiling 8(

Yes, gcc can be compiled as a cross-compiler.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

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?19981128120008.W468>