This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH, Ada] Makefile patches from initial RISC-V cross/native build.
On Sat, Jul 7, 2018 at 2:43 PM, Andreas Schwab <email@example.com> wrote:
> On Jul 07 2018, Jim Wilson <firstname.lastname@example.org> wrote:
>> This is also presumably what the debian, fedora, and gentoo folks did
>> to get their first native compiler. They didn't report any problems.
> Of course, they didn't build an ada compiler.
But building an Ada compiler works exactly the same as building C and
C++ compilers. There should really be no difference.
>> Is this the first time you are trying to build a native RISC-V
>> compiler for OpenSuse?
> I have bootstrapped several architectures for SUSE and openSUSE, thank
I am aware that you have much experience building stuff. But building
RISC-V is a little different than the others, because of link-time
relaxations deleting code, which means some things that work for other
targets don't work for RISC-V. It is possible that the scheme you are
using to build canadian cross compilers will work for other targets
but not RISC-V because of this problem. That is why I asked if this
is your first attempt to canadian cross build a RISC-V native
compiler. And because of the above, that building Ada should be no
different from building C and C++.
Anyways, all I can repeat is what I've said before. It works for me.
I can give you my trivial build scripts if you want. Otherwise, you
have to give me enough info that I can reproduce the problem that you