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)
[Solved]GCC cross compiler problem
- drunkenfox
- Member
- Posts: 46
- Joined: Tue Mar 13, 2012 10:46 pm
[Solved]GCC cross compiler problem
Last edited by drunkenfox on Sun May 04, 2014 3:11 pm, edited 1 time in total.
;goodbye OS, hello BIOS
mov eax, FFFFFFF0h
jmp eax
mov eax, FFFFFFF0h
jmp eax
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: GCC cross compiler problem
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.
- drunkenfox
- Member
- Posts: 46
- Joined: Tue Mar 13, 2012 10:46 pm
Re: [Solved]GCC cross compiler problem
Nevermind this. I ended up configuring it for an ELF target.
;goodbye OS, hello BIOS
mov eax, FFFFFFF0h
jmp eax
mov eax, FFFFFFF0h
jmp eax