This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Regarding GCC mips64 cross compiler for x86
- From: Kai Ruottu <kai dot ruottu at wippies dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 3 Nov 2015 09:30:10 +0200
- Subject: Re: Regarding GCC mips64 cross compiler for x86
- Authentication-results: sourceware.org; auth=none
- References: <BCCF0E08-D798-4C4A-8649-6105E7212744 at gmail dot com> <1445966609 dot 2982 dot 74 dot camel at ubuntu-sellcey> <CABbvK+FLNqYmUkQv6jwNFu+E49aw9HTQXnq1kupxw8vw_E+jZw at mail dot gmail dot com> <1446055811 dot 2982 dot 109 dot camel at ubuntu-sellcey> <CABbvK+HjiUPO3Ty8kUDX3bqPzYKZn+rWutsD2OEp5LKVW3AzSg at mail dot gmail dot com> <1446237377 dot 2982 dot 168 dot camel at ubuntu-sellcey> <CAJ+oik0-GNuXWU--KcUXgon=h9MTE8sBuhSY9e=6PtBiyTmzPg at mail dot gmail dot com> <1446240748 dot 2982 dot 188 dot camel at ubuntu-sellcey> <CAJ+oik0dSra+S6Oe-m_N4jCD9so9_DnLhAtqj81-CtuBA0KMrQ at mail dot gmail dot com> <1446501778 dot 3321 dot 9 dot camel at ubuntu-sellcey> <CAJ+oik3sxJeLjEhGGNvUMo8jPgZ2j8CyFMW5JiCHtNMODyLqkA at mail dot gmail dot com> <CAJ+oik2WPotVDcX7CyaTHuP1gNz9MH_KM5BmpHKLh1PLA4WAbA at mail dot gmail dot com> <CAJ+oik1BmgAtxOzaLvgG7Pik5Usz8fbwj3LynZ5TF63WRvDa9w at mail dot gmail dot com> <1446508379 dot 3321 dot 19 dot camel at ubuntu-sellcey>
3.11.2015, 1:52, Steve Ellcey kirjoitti:
FYI: I downloaded the latest crosstool-ng sources and was able to
successfully build a mips64 toolchain (n64 ABI) that included Fortran.
Steve Ellcey sellcey@imgtec.com
Similarly for the pre-made Debian/MIPS distros I succeeded to make also
a GCC with C, C++ and Fortran
for the mips64-linux-gnu too, from the gcc-4.9.3 sources. Just trying
the gcc-5.1.0 sources for the two
mips64*-linux-gnu targets. The glibcs for mips64-linux-gnu I have are a
little older :
GNU C Library stable release version 2.7, by Roland McGrath et al.
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.3.2.
Compiled on a Linux >>2.6.32.2-dsa-mips-swarm<< system on 2011-01-08.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
Support for some architectures added on, not maintained in
glibc core.
BIND-8.2.3-T5B
Probably this was from some older Debian/mips distro, the older
glibc-2.7 for mips64el I had was made
natively on some Broadcom based board system...
Of course after having working GCCs for the mips64*-linux-gnu, making
the three different glibcs for
them from the glibc sources shouldn't be hard at all (for instance with
the gcc-4.9.3 based compilers).
In these "just for a fun" projects it wasn't motivated. Only wanted to
see whether Fortran compilers
could be produced for them.