This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

build status for cross builds?


I'd like some advice.  There have been reports this week of successful
builds of cross compilers.  There are probably some cross builds that
crept into the current list without me recognizing them as such, but in
general it's not set up for them.  Including them would be very useful,
though, particularly when the linked mail message includes information
about getting through tricky parts of the build; cross builds seem to
have more of those than native builds.

Including information about the build, host, and target systems for a
cross build would simplify the list, I think, even if two of them are
the same, since there are so many varieties of cross builds.  It's easy
to get the "target" name for the build machine by using config.guess,
but is there a standard way to get a complete name for the host and
target systems?

Here are three recent messages about cross builds; does anyone have a
suggestion for how they might be represented in the build status list,
and what information is missing from these reports that we should start
requesting for cross build reports?

From: "Bradley D. LaRonde" <brad@ltc.com>, Wed, 2 Jan 2002 12:58:11 -0500
> I have successfully built gcc-3.0.[1,2,3] cross-compilers for mipsel-linux
> (built on x86 box), and 3.0.1 for mips-linux.  I don't know of any problems
> with 3.0.[2,3] for mips-linux - I just don't recall ever trying them.

From: Sir Ace <chandleg@wizardsworks.org>, Wed, 2 Jan 2002 18:37:36 -0800
> It only took forever and a day to get to today, but thanks to you guys:
> 
> ../gcc-3.0.1/configure --target=$TARGET --prefix=$PREFIX --disable-shared
> --host=$TARGET -build=i386-slackware-linux --enable-languages=c,cpp
> --disable-shared
> 
> {edit makefile for staticness}
> 
> make
> make install
> 
> root@meteor:/usr/src/dreamcast/build-gcc# !file
> file /daydream/usr/local/bin/gcc
> /daydream/usr/local/bin/gcc: ELF 32-bit LSB executable, Hitachi SH,
> version 1, statically linked, not stripped
> root@meteor:/usr/src/dreamcast/build-gcc# 

From: John Eigelaar <jeigelaar@yahoo.co.uk>, Thu, 3 Jan 2002 20:48:56 +0000
> I built gcc for AVR on the Cygwin platform on a
> Windows 2000 machine. Here are the stuff
> 
> $ ./config.guess
> i686-pc-cygwin
> 
> $ avr-gcc -v
> Reading specs from
> /usr/local/lib/gcc-lib/avr/3.0.2/specs
> Configured with: ../gcc-3.0.2/configure --target=avr
> Thread model: single
> gcc version 3.0.2

Thanks.

Janis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]