Page 1 of 1

[Solved]GCC cross compiler problem

Posted: Fri May 02, 2014 4:38 pm
by drunkenfox
Hello,

I'm trying to build gcc for the i586-pe target. Binutils compiles for the target fine. But when I try to do GCC, it's always complaining about the target not being supported. I tried looking hard in the GCC docs for version that support i586-pe, but I couldn't find any. Is there a version that supports it somewhere, and can you point it to me please? (And yes, I've been following the wiki article)

Re: GCC cross compiler problem

Posted: Fri May 02, 2014 6:01 pm
by Combuster
As far as I know, that doesn't work with unmodified sources. You probably want to have something less appropriate that is more likely to build, such as i686-pc-mingw or i686-pc-cygwin.

Re: [Solved]GCC cross compiler problem

Posted: Sun May 04, 2014 3:11 pm
by drunkenfox
Nevermind this. I ended up configuring it for an ELF target.