Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 08, 2019, 07:15:43 07:15


Login with username, password and session length


Author Sticky post (Click Here to visit source)
metal
Global Moderator
XC32 Compilers Discussion Topic
Pages: 1 [2]  All
Print
Author Topic: XC32 Compilers Discussion  (Read 36694 times)
0 Members and 2 Guests are viewing this topic.
pic64
Inactive

 Muted
Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 1


« Reply #25 on: June 18, 2015, 02:51:43 14:51 »

New XC32 1.40

http://www.microchip.com/mplabxc32windows
Logged
Manuel
Active Member
***
Offline Offline

Posts: 153

Thank You
-Given: 234
-Receive: 87


« Reply #26 on: June 19, 2015, 02:19:40 02:19 »

Even updated 1.40 XC32 part support

https://www.microchip.com/mplabxc32-ps-windows

Manuel
Logged

-> An Apple a Day does not Let U become a Macintosh!
Armageddon
Junior Member
**
Offline Offline

Posts: 64

Thank You
-Given: 58
-Receive: 56



« Reply #27 on: December 04, 2015, 02:37:39 14:37 »

Fix for XC32 v1.40.

Steps:
 1. Open "C:\Program Files\Microchip\xc32\v1.40\bin\bin\gcc\pic32mx\4.8.3\cc1.exe" file with your favorite hex editor.
 2. Find and replace these bytes "0F 85 CC 00 00 00 8D 44" with "90 E9 00 00 00 00 8D 44".
 3. Do same with "C:\Program Files\Microchip\xc32\v1.40\bin\bin\gcc\pic32mx\4.8.3\cc1plus.exe" and "C:\Program Files\Microchip\xc32\v1.40\bin\bin\gcc\pic32mx\4.8.3\lto1.exe" files.
 4. Use latest "xclm" file from here, i.e:

xclm
Code:
int main(){
    return 2;
}

Tested under Windows 10 and MPLAB X IDE v3.15.

More info: http://www.jubatian.com/articles/turning-on-optimizations-in-microchips-xc32/

Note: I used the same technique that petarp, but now:

90 = nop
E9 = jmp
00 00 00 00 = $ + 5

Cheers.
Logged

Problems that appear small are large problems that are not fully understood.
Catcatcat
Active Member
***
Offline Offline

Posts: 198

Thank You
-Given: 124
-Receive: 506



WWW
« Reply #28 on: July 14, 2017, 04:51:16 04:51 »

Update MPLAB® XC32 v1.44

Fixed in v1.44
Quote
XC32-720
In the MPLAB XC32 v1.43 release, the linker incorrectly treated all symbols in the input object files as weak. This meant that non-weak symbols could not override weak symbols. The correct behavior of weak and non-weak symbols has been restored.
XC32-709
When compiling and linking with Smart IO and the Legacy Libc, printf() and related functions may print incorrect output. Under some conditions, the format specifier could get printed. This issue has been fixed.
XC32-708
In XC32 v1.43 and earlier, When compiling and linking with the Non-Legacy Libc, printf() and related functions did not handle the %ll conversion specifier correctly when the value has non-zero bits in the upper 32-bit positions.
XC32-707
XC32 v1.43 emitted a linker error when applying the coherent attribute to a zero-sized section. (Ex: uint8_t __attribute__((coherent)) ary[0]; ) The linker now emits an error when it can't allocate only non-zero sized sections.

The medicine works !!
Logged
Git
V.I.P
Junior Member
*****
Offline Offline

Posts: 51

Thank You
-Given: 73
-Receive: 17



« Reply #29 on: February 08, 2018, 04:24:09 16:24 »

Any medicine for XC32 2.05 please?
Logged
Catcatcat
Active Member
***
Offline Offline

Posts: 198

Thank You
-Given: 124
-Receive: 506



WWW
« Reply #30 on: February 09, 2018, 02:07:33 02:07 »

Compared the work of version 1.44 and 2.05
- 3 - Optimize yet more favoring speed
medicine "standard"  Cheesy

as for my project, it makes no difference, everything works!
Logged
Git
V.I.P
Junior Member
*****
Offline Offline

Posts: 51

Thank You
-Given: 73
-Receive: 17



« Reply #31 on: February 09, 2018, 07:10:43 07:10 »

I looked with a magnifier, but still no difference to see Smiley

Plenty of    0F 85 CC 00 00 00 xx xx
but no       0F 85 CC 00 00 00 8D 44

« Last Edit: February 09, 2018, 08:16:53 08:16 by Git » Logged
tumbleweed
Newbie
*
Offline Offline

Posts: 17

Thank You
-Given: 28
-Receive: 8


« Reply #32 on: February 10, 2018, 05:57:41 05:57 »

I don't know about the patch shown here, but the medicine in the 'XC - software only' thread appears to work for XC32 2.05

http://www.sonsivri.to/forum/index.php?topic=44014.0
Logged
adamantium
Newbie
*
Offline Offline

Posts: 11

Thank You
-Given: 16
-Receive: 4


« Reply #33 on: February 18, 2018, 09:25:28 21:25 »

Any medicine for XC32 2.05 please?


I can also confirm the old xclm.exe works, just rename the one in the /bin directory to xclm.old, copy in the xclm.exe patcher and run as administrator.
Logged
MetaMetal
Junior Member
**
Offline Offline

Posts: 39

Thank You
-Given: 42
-Receive: 183


« Reply #34 on: December 15, 2018, 08:50:29 08:50 »

xc32 v2.15 is out.
medicine works fine.
Logged
Catcatcat
Active Member
***
Offline Offline

Posts: 198

Thank You
-Given: 124
-Receive: 506



WWW
« Reply #35 on: June 08, 2019, 12:24:33 12:24 »

MPLAB® XC32/32++ Compiler v2.20 (link to the latest compiler version)

everything is working!

Logged
Catcatcat
Active Member
***
Offline Offline

Posts: 198

Thank You
-Given: 124
-Receive: 506



WWW
« Reply #36 on: August 30, 2019, 12:56:57 00:56 »

MPLAB® XC32/32++ Compiler v2.30 (link to the latest compiler version)

everything is working!
Logged
Pages: 1 [2]  All
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC