Author Topic: Microchip Hi-tech vs XC8 Compiler  (Read 623 times)

0 Members and 1 Guest are viewing this topic.

Offline tarun172Topic starter

  • Regular Contributor
  • *
  • Posts: 63
  • Country: us
Microchip Hi-tech vs XC8 Compiler
« on: April 19, 2023, 09:37:37 pm »
Hi everyone,

I'm attempting to port an existing Hi-tech compiler code base to XC8 compiler I have two questions,

1. Can you still install and run the Hi-Tech compiler with the latest MPLAB X IDE? The Hi-Tech compiler does not install on my PC. I'm wondering if anyone has a workaround?

2. Is there a migration document and information that exists that can help me migrate from Hi-Tech compiler to XC8?

3. Reading through the manual, I can see that XC8 has a few limitations.

Can anyone please comment on the questions above?


Thanks,

tarun172
Thanks & Regards,
Tarun S
 

Offline woofy

  • Frequent Contributor
  • **
  • Posts: 334
  • Country: gb
    • Woofys Place
Re: Microchip Hi-tech vs XC8 Compiler
« Reply #1 on: April 19, 2023, 10:12:24 pm »
XC8 is the Hi-tech compiler, at least its what the hi-tech compiler evolved into after Microchip purchased Hi-tech. That said I very much doubt that it could be integrated into mplabx in any useful way. There may well be individual release documents as new features are added or changes made, but why would Microchip bother writing a migration document from that old compiler to the current release of XC8.

You may have to just bite the bullet and update the code-base yourself.




Online JPortici

  • Super Contributor
  • ***
  • Posts: 3461
  • Country: it
Re: Microchip Hi-tech vs XC8 Compiler
« Reply #2 on: April 20, 2023, 05:43:25 am »
It can probably be added manually (menu tools -> embedded), but you need to use MPLABX <= v5.35, after that they moved to 64bit compilers only.
If you use the current XC8 and put the compiler and linker in C90 mode you can probably live with little modifications, but the compiler has evolved as well, you will have to retest every part of the project.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf