Commit Graph

18 Commits

Author SHA1 Message Date
Alexey Sheplyakov
096e3c14d6 Splitted cross-toolchain into subpackages 2021-06-15 14:55:40 +00:00
Alexey Sheplyakov
9c00a756fe 8.4.1-alt1
aarch64 targeted GCC 8.4 cross-toolchain with cross-glibc
2021-06-11 23:06:27 +00:00
Alexey Sheplyakov
3e238594dd Added as, ar, ld, etc symlinks into /usr/libexec/gcc/aarch64-linux-gnu/8
Apparently `invoke_as:` directive in GCC spec file applies to running
assembler on C/C++ compiler output. However compiling `assemble` (.s) and
`assembler-with-cpp` pseudo-languages use `as`  instead of ${target}-as)
anyway. Fortunately GCC searches for `as` in libexec/gcc/$target/$version
directory. Therefore add symlink to ${target}-as into that directory.
Do the same thing for ar, ld, nm, objcopy, etc just in a case.
2021-06-11 23:06:26 +00:00
Alexey Sheplyakov
e3b5169d89 Attempt to cope with ALT Linux' FHS idiocy
Apparently obeing FHS is more important than having a working
(cross-) compiler.
2021-06-11 23:06:26 +00:00
Alexey Sheplyakov
8a45f1836f BuildRequire rsync for Linux install_headers 2021-06-10 13:36:11 +00:00
Alexey Sheplyakov
4085c0751d Skip libtool .la files and gdb pretty-printers
gdb pretty-printers are useful at runtime only
libtool .la files are not packaged in ALT (for good)
2021-06-10 11:16:38 +00:00
Alexey Sheplyakov
bd427575f9 Build on x86_64 only
aarch64-targeted cross-compiler definitely does not make any sense on
aarch64 and armh (native or multilib compilers are available).
Using 32-bit x86 as a development platform does not make any sense either.
Same applies to mipsel. ppc64el and e2k might be powerful enough but
these machines are way too rare/expensive.
2021-06-10 10:04:47 +00:00
Alexey Sheplyakov
44022160d2 Added manpages to the package 2021-06-10 09:42:44 +00:00
Alexey Sheplyakov
519dd0f982 Extended %check so it actually runs 'hello world' binaries 2021-06-09 17:09:54 +00:00
Alexey Sheplyakov
77ba6bf982 made cross-compiler set the same ELF interpreter as the native one
That is, /lib64/ld-linux-aarch64.so.1
2021-06-09 17:08:54 +00:00
Alexey Sheplyakov
c11d91e753 Check if compilers are able to compile 'hello, world' 2021-06-09 14:01:48 +00:00
Alexey Sheplyakov
3f37adc7f3 The compiler is able to locate libgcc_s and crt1.o now 2021-06-09 13:34:52 +00:00
Alexey Sheplyakov
2a6cd19943 prevent findreq from fiddling with target libraries 2021-06-09 10:53:56 +00:00
Alexey Sheplyakov
074add65d4 shut up verify-elf 2021-06-09 10:06:18 +00:00
Alexey Sheplyakov
904a8ef727 sys-root 2021-06-09 07:59:25 +00:00
Alexey Sheplyakov
e76dab8455 Moved libraries and C++ headers into version-specific directory
I.e. to /usr/lib/gcc/aarch64-linux-gnu/8
2021-06-09 07:01:27 +00:00
Alexey Sheplyakov
cb8d13f7e7 cross-toolchain: use separate stagedir 2021-06-09 05:57:48 +00:00
Alexey Sheplyakov
9cdf784823 (WIP) cross-toolchain spec based on altcross.sh 2021-06-09 04:55:17 +00:00