-
-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross compiler for desktop platforms #263
Comments
This was referenced Jul 31, 2015
I've been thinking about it myself, seems like a great idea. +1! |
ivankravets
added a commit
that referenced
this issue
Aug 9, 2015
@WillemMali which is your host OS? |
I'm on Windows (8.1 x64, for entertainment) and Linux (Debian stable x64, for work). I also regularly work with Raspberry Pi's. |
@WillemMali you can try the latest build. It has support for cross-compiling to windows x86 from Mac OS X, Linux 32/64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This isn't a secret that PlatformIO initially was intended to be cross compiling tool for multiple development platforms, not just embedded.
According to the latest issues #258 and #262 I understand that this feature for desktop platforms could be interested for the developers.
native
development platformCreate new
native
development platform which will use host OS'sgcc
compiler. If it doesn't exist (like on Windows), PlatformIO will install own pre-built package withgcc
for Windows. For Mac OS X, Linux - need to show "HELP NOTICE" howgcc
can be installed using OS's packages manager (brew
,apt
,yum
, etc.)Desktop cross-compiling
Create new desktop based platforms:
windows_x86
windows_amd64
linux_i686
linux_x86_64
darwin_i386
darwin_x86_64
linux_arm
These platforms could be used for cross compiling between desktop platforms. For example, host is Mac OS, then this
platformio.ini
should prepare binaries (executable files) for targets:What do you think about it?
The text was updated successfully, but these errors were encountered: