Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2024, 09:58:28 09:58


Login with username, password and session length


Author Sticky post (Click Here to visit source)
Top
Fix for MPLAB® XC Compilers

http://www.microchip.com/pagehandler/en_us/promo/mplabxc/

Windows, Linux & Mac OS X

13-Aug-2012; Updated for v1.10 compilers.
14-Aug-2012; MPLAB XC32 C++ license activated.
01-Jan-2013; License info update.
12-Jun-2014; Updated for v1.32 compilers.
19-Jun-2014; Fixed issue with XC32 compilers.
« Last Edit: June 20, 2014, 11:00:49 23:00 by Top »
Pages: 1 ... 5 6 7 8 9 10 11 [12]
Print
Author Topic: XC Compilers - Software ONLY  (Read 310188 times)
0 Members and 2 Guests are viewing this topic.
mitsos
Hero Member
*****
Offline Offline

Posts: 860

Thank You
-Given: 3086
-Receive: 4596


« Reply #275 on: March 11, 2023, 02:18:43 14:18 »

hi

activation method from pascal06 post (reply 271)
tested on xc8 v2.41 and it is working!

do these:
- add to system environment variable Path
the value C:\Program Files\Microchip\xc8\v2.41\bin
or do this during setup of xc8 compiler by checking
add xc8 to the PATH environment variable
- compile the xclm-hack.c on Dev-C++ 4.9.9.2
and drop the xclm-hack.exe in folder
C:\Program Files\Microchip\xc8\v2.41\bin
- run cmd as admin and write
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\xclm.exe" /t REG_SZ /v "debugger" /d "xclm-hack.exe"

regards
mitsos
Logged
patchjack
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 11
-Receive: 49


« Reply #276 on: March 11, 2023, 03:12:57 15:12 »

hi

activation method from pascal06 post (reply 271)
tested on xc8 v2.41 and it is working!

do these:
- add to system environment variable Path
the value C:\Program Files\Microchip\xc8\v2.41\bin
or do this during setup of xc8 compiler by checking
add xc8 to the PATH environment variable
- compile the xclm-hack.c on Dev-C++ 4.9.9.2
and drop the xclm-hack.exe in folder
C:\Program Files\Microchip\xc8\v2.41\bin
- run cmd as admin and write
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\xclm.exe" /t REG_SZ /v "debugger" /d "xclm-hack.exe"

regards
mitsos
please upload xclm-hack.exe for windows,I want to try, thank you!
Logged
mitsos
Hero Member
*****
Offline Offline

Posts: 860

Thank You
-Given: 3086
-Receive: 4596


« Reply #277 on: March 11, 2023, 03:29:05 15:29 »

hi

here is xclm-hack.exe

regards
mitsos
« Last Edit: March 12, 2023, 03:26:01 15:26 by mitsos » Logged
patchjack
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 11
-Receive: 49


« Reply #278 on: March 11, 2023, 04:16:54 16:16 »

hi

here is xclm.hack.exe

regards
mitsos
In China, I can't visit mega. Please upload xclm.hack.exe directly. Thank you!
Logged
mick
Active Member
***
Offline Offline

Posts: 231

Thank You
-Given: 2050
-Receive: 122


« Reply #279 on: March 12, 2023, 12:06:41 12:06 »

@patchjack

Upload by mitsos is direct upload,  not mega link
Just download..
Logged
patchjack
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 11
-Receive: 49


« Reply #280 on: March 14, 2023, 06:36:37 06:36 »

hi

here is xclm-hack.exe

regards
mitsos
It can’t work for xc8 v2.41 on win7. TOP’s patcher is generic on xc8 xc16 xc32 on win7. The
latest OS win may be OK too.
Logged
patchjack
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 11
-Receive: 49


« Reply #281 on: April 19, 2023, 05:07:13 05:07 »

XC16 V2.10 is coming! Top’s patch is working, too.
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 432

Thank You
-Given: 284
-Receive: 1644



WWW
« Reply #282 on: April 19, 2023, 03:56:47 15:56 »

 Shocked
 
 Shocked Grin

Logged
patchjack
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 11
-Receive: 49


« Reply #283 on: June 21, 2023, 02:45:10 14:45 »

XC32 V4.30 is coming! Top’s patch is working, too.
Logged
patchjack
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 11
-Receive: 49


« Reply #284 on: June 23, 2023, 03:48:58 03:48 »

XC32 bug
https://forum.microchip.com/s/topic/a5C3l000000BpDCEA0/t390976
Logged
patchjack
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 11
-Receive: 49


« Reply #285 on: July 13, 2023, 12:10:22 12:10 »

XC8 generate hex note:
https://forum.microchip.com/s/topic/a5C3l000000Bpr8EAC/t391265
Logged
jbcoder
Inactive

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 0


« Reply #286 on: December 31, 2023, 11:23:18 23:23 »

I am getting this same problem, how is it resolved?

"C:\Program Files\Microchip\xc8\v2.45\avr\bin>xclm
xclm.old not found, rename the original xclm.exe file to xclm.old"

Thanks

Thanks , you are right.

It is solved, xc8 1.32 run in pro mode now.  Cheesy
The problem was it not found the xclm.old.
The environment variable path was false.

Microchip MPLAB XC8 C Compiler (PRO Mode) V1.32
Memory Summary:
    Program space        used    55h (    85) of  2000h words   (  1.0%)
    Data space           used    12h (    18) of   400h bytes   (  1.8%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    Data stack space     used     0h (     0) of   31Eh bytes   (  0.0%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)


Posted on: December 31, 2023, 11:08:50 23:08 - Automerged

Solved, the file was actually named xclm.old.exe

" Directory of C:\Program Files\Microchip\xc8\v2.45\avr\bin

31/12/2023  22:23    <DIR>          .
31/12/2023  22:23    <DIR>          ..
18/08/2023  10:16           575,696 avr-addr2line.exe
18/08/2023  10:18           596,688 avr-ar.exe
18/08/2023  10:18           779,984 avr-as.exe
18/08/2023  10:17         1,620,176 avr-c++.exe
18/08/2023  10:19           574,160 avr-c++filt.exe
18/08/2023  10:18         1,617,616 avr-cpp.exe
18/08/2023  10:16            44,752 avr-elfedit.exe
18/08/2023  10:17         1,620,176 avr-g++.exe
18/08/2023  10:17         1,616,080 avr-gcc-5.4.0.exe
18/08/2023  10:16            64,208 avr-gcc-ar.exe
18/08/2023  10:16            64,208 avr-gcc-nm.exe
18/08/2023  10:17            64,208 avr-gcc-ranlib.exe
18/08/2023  10:19         1,616,080 avr-gcc.exe
18/08/2023  10:17           496,848 avr-gcov-tool.exe
18/08/2023  10:16           502,992 avr-gcov.exe
18/08/2023  10:17         4,895,952 avr-gdb.exe
18/08/2023  10:19           628,944 avr-gprof.exe
18/08/2023  10:18         2,007,248 avr-ld.bfd.exe
18/08/2023  10:19         2,007,248 avr-ld.exe
18/08/2023  10:19           583,888 avr-nm.exe
18/08/2023  10:17           724,176 avr-objcopy.exe
18/08/2023  10:18           830,160 avr-objdump.exe
18/08/2023  10:16           596,688 avr-ranlib.exe
18/08/2023  10:20           427,216 avr-readelf.exe
18/08/2023  10:18           586,448 avr-size.exe
18/08/2023  10:18           576,208 avr-strings.exe
18/08/2023  10:19           724,176 avr-strip.exe
20/06/2014  03:58            26,624 xclm.exe
18/08/2023  10:08         5,324,496 xclm.old.exe   <---------------- THIS ONE
              29 File(s)     31,793,344 bytes
               2 Dir(s)  727,828,021,248 bytes free"


Had to change folder view options to not hide file extensions of known file types, to then delete the .exe off the end!
Logged
engiadina
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 1
-Receive: 4


« Reply #287 on: February 05, 2024, 04:52:58 16:52 »

Hi unfortunately, OSX users cannot use the patch any more.

On apple silicon running XCLM returns a wrong processor type message.

>> unable to execute /Applications/microchip/xc8/v2.46/bin/xclm: Bad CPU type in executable <<

How to proceed here?

Thanks for help
« Last Edit: February 05, 2024, 04:59:46 16:59 by engiadina » Logged
HackAndCrack
Senior Member
****
Offline Offline

Posts: 294

Thank You
-Given: 175
-Receive: 802


« Reply #288 on: March 22, 2024, 05:24:37 05:24 »

Please re-upload Top's xclm patch to mega.nz and provide links to download.
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4666

Thank You
-Given: 833
-Receive: 4320


There is no evidence that I muted SoNsIvRi


« Reply #289 on: March 22, 2024, 12:13:53 12:13 »

Please re-upload Top's xclm patch to mega.nz and provide links to download.
from my backup for windows
Logged

Note: I stoped Muteing bad members OK I now put thier account in sleep mode
digi_micro
Newbie
*
 Muted
Offline Offline

Posts: 11

Thank You
-Given: 0
-Receive: 2


« Reply #290 on: September 20, 2024, 09:43:26 09:43 »

Hi unfortunately, OSX users cannot use the patch any more.

On apple silicon running XCLM returns a wrong processor type message.

>> unable to execute /Applications/microchip/xc8/v2.46/bin/xclm: Bad CPU type in executable <<

How to proceed here?

Thanks for help
copy xclm.old and xclm.exe in to   C:\Program Files\Microchip\xc8\v.2.46\  directory  (keep 2 file in bin directory too)
v2.46 and v2.50 worked in my pc like this method.

then  open the command window with administrator rights
set directory  to C:\Program Files\Microchip\xc8\v.2.46\
run xclm.exe it will be ok....
Logged
odessa
Newbie
*
Offline Offline

Posts: 22

Thank You
-Given: 101
-Receive: 16


« Reply #291 on: September 27, 2024, 09:55:08 09:55 »

Hi unfortunately, OSX users cannot use the patch any more.

On apple silicon running XCLM returns a wrong processor type message.

>> unable to execute /Applications/microchip/xc8/v2.46/bin/xclm: Bad CPU type in executable <<

How to proceed here?

Thanks for help

Did you ever fix this ?

I had the same message when trying to run arduino on my M3 macbook, installing rosetta fixed it.
What are you using to run the xlcm.exe on the mac ?
Logged
Zaphod Beeblebrox
Active Member
***
Offline Offline

Posts: 142

Thank You
-Given: 26
-Receive: 100



« Reply #292 on: November 18, 2024, 09:40:44 09:40 »

Hi everybody, I have a dumb question:
Does TOP's medicine work for Linux version of XC8 ?

I have found a couple of positive answers earlier in this thread but was unable to get there.
I ran "xclm.exe" under "wine" several times always getting message:
Quote
0078:err:ole:start_rpcss Failed to start RpcSs service
Nothing to do
It seems to be trying to start some kind of Windows Service (not possible in Linux)...

Any advice, please?
Logged

Black holes are where the God divided by zero...
Don't panic!
burgerarse
Inactive

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 0


« Reply #293 on: Yesterday at 12:30:48 PM »

*EDIT* The TOP fix is the one pinned at the top of the forum - it includes binaries for OSX, Linux and Windows

Not working for me on one linux machine for one reason, so was interested in the other compilable solution referenced in post 271, however that download link has expired.
Think the hack.exe you're referring to is a windows build of that...

My understanding is that the original (expired) download link was for a cross-platform compilable source distribution, and that the subsequent reposts were for a compiled windows binary, sadly.

If anyone has the original contents of the expired link from post 271, perhaps they could repost?
« Last Edit: Yesterday at 12:57:55 PM by burgerarse » Logged
Pages: 1 ... 5 6 7 8 9 10 11 [12]
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