Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
34 user(s) are online (14 user(s) are browsing Forums)

Members: 0
Guests: 34

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows

Subject: Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
by MickJT on 2017/11/8 17:14:23

@Hans

--target is used to tell the compiler what architecture to compile for, not to choose the compiler itself. So in that case, you're asking an x86 compiler to make a ppc-amigaos architecture binary. It's not able to do that.

--host is used to specify which hosted environment/toolchain to use, like a prefix. It's confusing.

--build is used to specify the architecture of the actual system you're doing this all on (I've not had to use this).

https://gcc.gnu.org/onlinedocs/gccint/Configure-Terms.html

So, the correct flag is --host=ppc-amigaos
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project