[Solved] "Cannot compute suffix of object files"

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.
Post Reply
vekenti
Posts: 3
Joined: Fri Jul 01, 2016 6:30 pm
Libera.chat IRC: Vekenti

[Solved] "Cannot compute suffix of object files"

Post 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
Attachments
config.txt
(27.9 KiB) Downloaded 96 times
Last edited by vekenti on Sun Jul 03, 2016 5:33 am, edited 1 time in total.
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

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

Post 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.
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
moondeck
Member
Member
Posts: 56
Joined: Sat Dec 19, 2015 12:18 pm
Libera.chat IRC: moondeck
Location: The Zone, Chernobyl

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

Post by moondeck »

3 days after upgrading to windows 10 i moved all my computers to Debian. Windows just makes strange stuff happen
vekenti
Posts: 3
Joined: Fri Jul 01, 2016 6:30 pm
Libera.chat IRC: Vekenti

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

Post 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?
User avatar
Roman
Member
Member
Posts: 568
Joined: Thu Mar 27, 2014 3:57 am
Location: Moscow, Russia
Contact:

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

Post by Roman »

If I build this cross compiler on linux and then move it to windows, will it still work?
Of course, no.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay
vekenti
Posts: 3
Joined: Fri Jul 01, 2016 6:30 pm
Libera.chat IRC: Vekenti

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

Post by vekenti »

Fixed, I reinstalled cygwin completely and it worked.
Post Reply