Page 1 of 1

[Solved] "Cannot compute suffix of object files"

Posted: Fri Jul 01, 2016 7:26 pm
by vekenti
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

Code: Select all

make all-target-libgcc
Here is the error I am getting

Code: Select all

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.

I have posted my config.log

Re: [Help] "Cannot compute suffix of object files" Win 10 Cy

Posted: Sat Jul 02, 2016 4:47 am
by Octacone
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.

Re: [Help] "Cannot compute suffix of object files" Win 10 Cy

Posted: Sat Jul 02, 2016 4:55 am
by moondeck
3 days after upgrading to windows 10 i moved all my computers to Debian. Windows just makes strange stuff happen

Re: [Help] "Cannot compute suffix of object files" Win 10 Cy

Posted: Sat Jul 02, 2016 5:28 am
by vekenti
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?

Re: [Help] "Cannot compute suffix of object files" Win 10 Cy

Posted: Sat Jul 02, 2016 1:19 pm
by Roman
If I build this cross compiler on linux and then move it to windows, will it still work?
Of course, no.

Re: [Help] "Cannot compute suffix of object files" Win 10 Cy

Posted: Sun Jul 03, 2016 5:32 am
by vekenti
Fixed, I reinstalled cygwin completely and it worked.