This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unable to build libgcc for target x86_64-w64-mingw32, C preprocessor /lib/cpp fails sanity check


On 9/22/2018 10:23 PM, Juan Pablo Garibotti Arias wrote:
Hello,

I'm trying to build a cross compiler for UEFI, and having difficulties
building libgcc after having built the compilers themselves. I've already
built a cross compiler and libgcc (with and without red-zone) for
freestanding x86_64-elf in the same machine, so not sure what the issue is.

The machine is an Arch vm, with the following packages installed through
pacman:
gcc-8.2.1+20180831-1
bison-3.0.5-1
flex-2.6.4-1
gmp-6.1.2-1
libmpc-1.1.0-1
mpfr-4.0.1-1
texinfo-6.5-1
 From the AUR, I got:
osl-0.9.2-2
isl-0.20-4
cloog-0.20.0-1



The build order I use is something like this:
binutils
gcc (all-gcc && install-gcc)
mingw-headers
mingw-crt
full gcc





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]