Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Hello. I am trying to build my GCC Cross-Compiler on windows 10 with Cygwin following the GCC Cross-Compiler tutorial, but I am getting a error when I try to run the command
checking for suffix of object files... configure: error: in `/home/dave/gcc-5.4.0/i686-elf/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make: *** [Makefile:11616: configure-target-libgcc] Error 1"
The version of GCC I am building is 5.4.0, I also made sure that I've installed all the required build packages.
Do you have all the files downloaded? Check: http://wiki.osdev.org/GCC_Cross-Compiler for more info.
I am using Cygwin on Windows 10 and I haven't had any problem at all.
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
I tried this build on my other pc and it worked fine, I didn't download any other files other than the gcc and binutils sources. I will download the other files and see if it fixes it.
-Edit- If I build this cross compiler on linux and then move it to windows, will it still work?