[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 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 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 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 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 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] New: cross-compiling for arm64 problems

2017-10-02 Thread peter.bohning at gmx dot com
Assignee: unassigned at gcc dot gnu.org Reporter: peter.bohning at gmx dot com Target Milestone: --- Hi, I'm trying to compile gcc-7.2.0 for arm64, mostly for libstdc++ being required by libcrypt being required by glib. Probably I'm just doing something wrong, but ne