[Bug target/82408] cross-compiling for arm64 problems

2017-10-05 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #

[Bug target/82408] cross-compiling for arm64 problems

2017-10-04 Thread peter.bohning at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408 --- Comment #13 from Peter Bohning --- Okay, amazingly I have a computer again. I tried what you suggested and it didn't work. I need a libstdc++ library for aarch. Like I said several times, I already have the linaro toolchain, what I want is

[Bug target/82408] cross-compiling for arm64 problems

2017-10-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408 --- Comment #12 from Andrew Pinski --- (In reply to Peter Bohning from comment #11) > >> And as I recall, "target" defaults to "host". > > >It does not. Read > >https://gcc.gnu.org/install/configure.html > > As I recall "--target" defaults to

[Bug target/82408] cross-compiling for arm64 problems

2017-10-03 Thread peter.bohning at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408 --- Comment #11 from Peter Bohning --- >> And as I recall, "target" defaults to "host". >It does not. Read >https://gcc.gnu.org/install/configure.html As I recall "--target" defaults to [HOST] if you do "./configure --help". I can't double ch

[Bug target/82408] cross-compiling for arm64 problems

2017-10-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408 --- Comment #10 from Andrew Pinski --- (In reply to Peter Bohning from comment #9) > No. I think you've misunderstood the problem and I mean I can't test it > because I don't have a computer now but.. No I am not misunderstanding the problem.

[Bug target/82408] cross-compiling for arm64 problems

2017-10-02 Thread peter.bohning at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408 --- Comment #9 from Peter Bohning --- No. I think you've misunderstood the problem and I mean I can't test it because I don't have a computer now but.. Like I said I'm doing this to get the libstdc++ library for aarch64, I already am using the

[Bug target/82408] cross-compiling for arm64 problems

2017-10-02 Thread peter.bohning at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408 --- Comment #8 from Peter Bohning --- Well I guess, that seems strange that one would ever actually want to do that. But it sounds great that it supports such things. Anyway, I will try --target but my laptop just completely died. Says there's

[Bug target/82408] cross-compiling for arm64 problems

2017-10-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/82408] cross-compiling for arm64 problems

2017-10-02 Thread peter.bohning at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408 --- Comment #6 from Peter Bohning --- Well I can't say I understand why the host and the target would ever be different, but are you saying that I need to add another flag for something? I mean I never set the target, so it can't determine the t

[Bug target/82408] cross-compiling for arm64 problems

2017-10-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408 --- Comment #5 from Andrew Pinski --- Gcc has three different triplets. Host Build Target Host is where the newly compiled compiler will run on. Build is where you are building Target is what processor the compiler is targeting.

[Bug target/82408] cross-compiling for arm64 problems

2017-10-02 Thread peter.bohning at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408 --- Comment #4 from Peter Bohning --- Is that really it? I saw a warning about that but... I assumed BUILD was the build machine and HOST was the target?

[Bug target/82408] cross-compiling for arm64 problems

2017-10-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408 --- Comment #3 from Andrew Pinski --- So you are trying to compile a compiler that is hosted on aarch64-linux-gnu but targeting the target on what you are building on?

[Bug target/82408] cross-compiling for arm64 problems

2017-10-02 Thread peter.bohning at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408 --- Comment #2 from Peter Bohning --- export CFLAGS="-Wl,--sysroot=$SYSROOT -I$SYSROOT/../gcc-7.2.0/include -I$SYSROOT/include -I$SYSROOT/usr/include" export CC_FOR_TARGET="$CROSS_COMPILE"gcc export GCC_FOR_TARGET="$CROSS_COMPILE"gcc export CXX_F

[Bug target/82408] cross-compiling for arm64 problems

2017-10-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|