Skip to content
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

macOS: pic32-g++: Bad CPU type in executable #18

Open
ivankravets opened this issue Feb 14, 2020 · 6 comments
Open

macOS: pic32-g++: Bad CPU type in executable #18

ivankravets opened this issue Feb 14, 2020 · 6 comments
Labels

Comments

@ivankravets
Copy link
Member

ivankravets commented Feb 14, 2020

macOS 10.15 does not have support for 32bit aaplications. We will need a new toolchain.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@ivankravets
Copy link
Member Author

@ricklon do you have any updates?

@CyberCastle
Copy link

Hi
I have built a version of this compiler to support macos Catalina. I tested this compiler with the Pinguino OTG card, without issues. Please try compiling code for other cards, to check that this version works correctly. Click here for download.

Greetings

@ivankravets
Copy link
Member Author

@CyberCastle thanks for the toolchain! It does not work for me :(

In file included from /Users/ikravets/.platformio/packages/framework-arduinomicrochippic32/cores/pic32/HardwareSerial.cpp:71:0:
/Users/ikravets/.platformio/packages/toolchain-microchippic32/pic32mx/include/string.h:39:1: error: expected declaration before '}' token
 }
 ^
*** [/private/tmp/pio-workspaces/arduino-blink-ece6c57c56/build/cerebot32mx4/FrameworkArduino/HardwareSerial.cpp.o] Error 255
In file included from /Users/ikravets/.platformio/packages/framework-arduinomicrochippic32/cores/pic32/Print.cpp:24:0:
/Users/ikravets/.platformio/packages/toolchain-microchippic32/pic32mx/include/string.h:39:1: error: expected declaration before '}' token
 }
 ^
*** [/private/tmp/pio-workspaces/arduino-blink-ece6c57c56/build/cerebot32mx4/FrameworkArduino/Print.cpp.o] Error 255

Also, how did you pack it? Please keep symbolic links. The unpacked size is 2.5Gb.

@CyberCastle
Copy link

Hi,

I found the problem, but I will need some time to solve it.
The package size, it is correct, since it is based on the mplab xc32 source code (size is 3.8GB).

Greetings

@CyberCastle
Copy link

@ivankravets , I have released a new version of the compiler, with the issue fixed. For download, click here.

NOTE: ChipKit Framework may need to be modified.

@ricklon
Copy link

ricklon commented May 11, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants