OS custom toolchain: gcc libraries
Posted: Tue Jan 11, 2022 1:04 pm
Hello
I'm currently trying to create an OS specific toolchain according to https://wiki.osdev.org/OS_Specific_Toolchain. However I ran into troubles:
When I try to compile gcc, I have this message while running ./configure:
After searching for a while, I figured out it came (probably) from the configure.tgt files:
As I understand it, those files are used to check if a target is supported by the library. So I believe I have to patch them to add my target (i386-unknown-maestro).
However I haven't seen anything in the wiki mentioning this. Am I wrong to assume this is the correct way to make it work or is there a better way?
Thanks in advance
I'm currently trying to create an OS specific toolchain according to https://wiki.osdev.org/OS_Specific_Toolchain. However I ran into troubles:
When I try to compile gcc, I have this message while running ./configure:
Code: Select all
*** This configuration is not supported in the following subdirectories:
target-libgomp target-libatomic target-libitm target-libsanitizer target-libvtv target-libphobos gnattools gotools target-libada target-libhsail-rt target-zlib target-libbacktrace target-libgfortran target-libgo target-libffi target-libobjc target-liboffloadmic
(Any other directories should still work fine.)
Code: Select all
gcc/libgomp/configure.tgt
gcc/libitm/configure.tgt
gcc/libsanitizer/configure.tgt
gcc/libhsail-rt/configure.tgt
gcc/libphobos/configure.tgt
gcc/libvtv/configure.tgt
gcc/libatomic/configure.tgt
gcc/liboffloadmic/configure.tgt
However I haven't seen anything in the wiki mentioning this. Am I wrong to assume this is the correct way to make it work or is there a better way?
Thanks in advance