Stupid question (read at your own risk)
Moderators: Cat_7, Ronald P. Regensburg
Stupid question (read at your own risk)
What would it take to compile Win32 binary of PearPC under Linux?
-
- Expert User
- Posts: 868
- Joined: Sat Aug 30, 2003 4:15 pm
- Location: UK
- Contact:
If you want to compile perapc under linux you shold use gcc cross compiler and build enviroment. In debain you could get by installing following packages:
It is only theory. There are no assemble cross compiler for win32 AFAIK - maybe nasm should work, maybe not.
Code: Select all
mingw32 - Minimalist GNU win32 (cross) compiler
mingw32-binutils - Minimalist GNU win32 (cross) binutils
mingw32-runtime - Minimalist GNU win32 (cross) runtime
I've compiled plenty of stuff in MinGW and Cygwin before (including PearPC). I was asking about compiling Win32 binaries inside of Linux. I've heard of people doing that.Llama wrote:If you want to compile perapc under linux you shold use gcc cross compiler and build enviroment. In debain you could get by installing following packages:It is only theory. There are no assemble cross compiler for win32 AFAIK - maybe nasm should work, maybe not.Code: Select all
mingw32 - Minimalist GNU win32 (cross) compiler mingw32-binutils - Minimalist GNU win32 (cross) binutils mingw32-runtime - Minimalist GNU win32 (cross) runtime
You have to install mingw on linux. Or compile gcc as crosscompiler yourself. Bu
Code: Select all
bogdan:/home/bogdan/ppc/pearpc# apt-cache search mingw
mingw32 - Minimalist GNU win32 (cross) compiler
mingw32-binutils - Minimalist GNU win32 (cross) binutils
mingw32-runtime - Minimalist GNU win32 (cross) runtime
Thanks!Llama wrote:You have to install mingw on linux. Or compile gcc as crosscompiler yourself. BuCode: Select all
bogdan:/home/bogdan/ppc/pearpc# apt-cache search mingw mingw32 - Minimalist GNU win32 (cross) compiler mingw32-binutils - Minimalist GNU win32 (cross) binutils mingw32-runtime - Minimalist GNU win32 (cross) runtime
-
- Forum All-Star
- Posts: 541
- Joined: Mon May 24, 2004 5:37 am
- Location: Arizona
-
- Expert User
- Posts: 868
- Joined: Sat Aug 30, 2003 4:15 pm
- Location: UK
- Contact:
-
- Expert User
- Posts: 868
- Joined: Sat Aug 30, 2003 4:15 pm
- Location: UK
- Contact: