![]() |
|
Tämä viesti kuuluu seuraavaan säikeeseen: | |
---|---|
![]() ![]() ![]() ![]() | Näytä säikeen viestit aikajärjestyksessä |
![]() ![]() ![]() ![]() | James Powell ![]() |
![]() ![]() ![]() | Didier Kryn ![]() |
Toolchain generally means the stuff necessary to build new programs from source. It includes gcc, binutils, the system libraries, the system headers and the kernel headers. 'system', here, means the headers of the standard C library and the library itself, things that your default gcc searches automatically in /usr/include, /lib and /usr/lib unless you specify --nostdinc and --nostdlib.
I compile for x86_64 on x86_64. I tried to build a cross-compiler for powerpc, without success up to now and I also failed to build a native powerpc one.
My gcc-musl is "sysrooted", which means it searches the standard files in its own file tree and hence can live in the same host as Debian Wheezy's stock compiler. But I have noticed that many packages systematically add -I/usr/include in their CFLAGS, which is useless if you compile with the stock gcc and which fucks up the sysrooted one by including the headers of the glibc instead of the ones of musl. Therefore this is the first thing to check.
I have built Perl, Miniperl and Python, statically linked against Musl. I don't understand a single word of these languages, but they are prerequisite to build other packages.
I think that's what I've done, on x86_64; it is all statically linked and, therefore, can be used right away on any Linux x86_64. And it can compile more than C and C++ :-)
I can produce a gcc-4.8 with it, but this one doesn't work.
Didier
Viesti on lähetetty seuraaville postituslistoille: | ||||
---|---|---|---|---|
dng Tietoa listasta | Läheiset viestit | ![]() | Re: [Dng] [dng] vdev status update (2015-05-03) | Re: [Dng] [dng] vdev status update (2015-05-03) | ![]() |
![]() | Donate to Dyne.org | dyne.org open discussions ylläpitäjä dyne.org hackers | Lurker (versio 2.3) |