public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* About this cross-compiler guideline.
@ 2020-10-06 10:54 sotrdg sotrdg
  0 siblings, 0 replies; only message in thread
From: sotrdg sotrdg @ 2020-10-06 10:54 UTC (permalink / raw)
  To: sotrdg sotrdg via Libc-alpha


https://preshing.com/20141119/how-to-build-a-gcc-cross-compiler/
What’s wrong with it? Each time I build cross-toolchains I encountered this error for make -j4 csu/subdir_lib

../glibc/configure --prefix=$PREFIX --build=$TARGET --with-headers=/home/unlvs/gcc_toolchain_build/x86_64-linux/include libc_cv_forced_unwind=yes --enable-add-ons=linuxthreads
make install-bootstrap-headers=yes install-headers -j40
make -j4 csu/subdir_lib


unlvs@DESKTOP-DFHPDC1 MINGW64 ~/gcc_toolchain_build/glibc_x86_64
$ make -j4 csu/subdir_lib
make -r PARALLELMFLAGS="" -C ../glibc objdir=`pwd` csu/subdir_lib
make[1]: Entering directory '/home/unlvs/gcc_toolchain_build/glibc'
make  subdir=csu -C csu ..=../ subdir_lib
make[2]: Entering directory '/home/unlvs/gcc_toolchain_build/glibc/csu'
/bin/sh ../scripts/gen-libc-abis \
         x86_64-pc-linux-gnu \
         < ../libc-abis > /home/unlvs/gcc_toolchain_build/glibc_x86_64/libc-abis.hT
/usr/bin/install -c -m 644  /home/unlvs/gcc_toolchain_build/glibc_x86_64/cstdlibT
/usr/bin/install -c -m 644  /home/unlvs/gcc_toolchain_build/glibc_x86_64/cmathT
/usr/bin/install: LC_ALL=C gawk -f ../scripts/abi-versions.awk /home/unlvs/gcc_toolchain_build/glibc_x86_64/Versions.all > /home/unlvs/gcc_toolchain_build/glibc_x86_64/abi-versions.hT
missing destination file operand after '/home/unlvs/gcc_toolchain_build/glibc_x86_64/cstdlibT'
Try '/usr/bin/install --help' for more information.
/usr/bin/install: missing destination file operand after '/home/unlvs/gcc_toolchain_build/glibc_x86_64/cmathT'
make[2]: *** [../Makerules:132: /home/unlvs/gcc_toolchain_build/glibc_x86_64/cstdlib] Error 1
Try 'make[2]: *** Waiting for unfinished jobs....
/usr/bin/install --help' for more information.
make[2]: *** [../Makerules:135: /home/unlvs/gcc_toolchain_build/glibc_x86_64/cmath] Error 1
/bin/sh ../scripts/move-if-change /home/unlvs/gcc_toolchain_build/glibc_x86_64/libc-abis.hT /home/unlvs/gcc_toolchain_build/glibc_x86_64/libc-abis.h
mv -f /home/unlvs/gcc_toolchain_build/glibc_x86_64/abi-versions.hT /home/unlvs/gcc_toolchain_build/glibc_x86_64/abi-versions.h
touch /home/unlvs/gcc_toolchain_build/glibc_x86_64/libc-abis.stamp
make[2]: Leaving directory '/home/unlvs/gcc_toolchain_build/glibc/csu'
make[1]: *** [Makefile:479: csu/subdir_lib] Error 2
make[1]: Leaving directory '/home/unlvs/gcc_toolchain_build/glibc'
make: *** [Makefile:9: csu/subdir_lib] Error 2

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-06 10:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-06 10:54 About this cross-compiler guideline sotrdg sotrdg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).