@all
I tried to set up the environment like it was described in post #1, but with the latest gcc 11.3.0.
Now i get an error on compiling gcc and of course don´t get the amiga versions of the compiler built.
/amiga/adtools/gcc-build/cross-11.3.0/./gcc/xgcc -B/amiga/adtools/gcc-build/cross-11.3.0/./gcc/ -B/usr/local/amiga/ppc-amigaos/bin/ -B/usr/local/amiga/ppc-amigaos/lib/ -isystem /usr/local/amiga/ppc-amigaos/include -isystem /usr/local/amiga/ppc-amigaos/sys-include -g -O2 -mcrt=clib2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wstrict-prototypes -Wmissing-prototypes -Wno-error=format-diag -Wold-style-definition -isystem ./include -Wa,-maltivec -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -Wa,-maltivec -I. -I. -I../../.././gcc -I/amiga/adtools/gcc/repo/libgcc -I/amiga/adtools/gcc/repo/libgcc/. -I/amiga/adtools/gcc/repo/libgcc/../gcc -I/amiga/adtools/gcc/repo/libgcc/../include -fvisibility=hidden -DHIDE_EXPORTS -c eh_dummy.c \
-o eh_dummy.o; \
objects=eh_dummy.o; \
fi; \
/usr/local/amiga/ppc-amigaos/bin/ar rc libgcc.a $objects
/usr/local/amiga/ppc-amigaos/bin/ranlib libgcc.a
/amiga/adtools/gcc-build/cross-11.3.0/./gcc/xgcc -B/amiga/adtools/gcc-build/cross-11.3.0/./gcc/ -B/usr/local/amiga/ppc-amigaos/bin/ -B/usr/local/amiga/ppc-amigaos/lib/ -isystem /usr/local/amiga/ppc-amigaos/include -isystem /usr/local/amiga/ppc-amigaos/sys-include -g -O2 -mcrt=clib2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wstrict-prototypes -Wmissing-prototypes -Wno-error=format-diag -Wold-style-definition -isystem ./include -Wa,-maltivec -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -Wa,-maltivec -I. -I. -I../../.././gcc -I/amiga/adtools/gcc/repo/libgcc -I/amiga/adtools/gcc/repo/libgcc/. -I/amiga/adtools/gcc/repo/libgcc/../gcc -I/amiga/adtools/gcc/repo/libgcc/../include -o _gcov_merge_add.o -MT _gcov_merge_add.o -MD -MP -MF _gcov_merge_add.dep -DL_gcov_merge_add -c /amiga/adtools/gcc/repo/libgcc/libgcov-merge.c
In file included from /amiga/adtools/gcc/repo/libgcc/libgcov-merge.c:26:
/amiga/adtools/gcc/repo/libgcc/libgcov.h:49:10: fatal error: sys/mman.h: No such file or directory
49 | #include <sys/mman.h>
| ^~~~~~~~~~~~
compilation terminated.
make[5]: *** [Makefile:921: _gcov_merge_add.o] Error 1
make[5]: Leaving directory '/amiga/adtools/gcc-build/cross-11.3.0/ppc-amigaos/clib2/libgcc'
make[4]: *** [Makefile:1211: multi-do] Error 1
make[4]: Leaving directory '/amiga/adtools/gcc-build/cross-11.3.0/ppc-amigaos/libgcc'
make[3]: *** [Makefile:127: all-multi] Error 2
make[3]: Leaving directory '/amiga/adtools/gcc-build/cross-11.3.0/ppc-amigaos/libgcc'
make[2]: *** [Makefile:13186: all-target-libgcc] Error 2
make[2]: Leaving directory '/amiga/adtools/gcc-build/cross-11.3.0'
make[1]: *** [Makefile:975: all] Error 2
make[1]: Leaving directory '/amiga/adtools/gcc-build/cross-11.3.0'
make: *** [Makefile:37: cross] Error 2
What am i missing?
Do i need to install some more dependencies?
Thank you in advance
Edited by Raziel on 2023/2/28 17:03:38