The Link you provided doesn't works for me.
And still i had not heared about MPLAB C18 for linux, i checked there download page
https://www.microchip.com/Developmenttools/ProductDetails.aspx?PartNO=SW006011#dtDocumentation and found the they are still offering the windows version only.
This is main reason due to which Microchip has moved to new X Series, whether it is MPLAB X, MPLAB XC8, XC16 and XC32, they all are cross platform and works in Windows, Linux and MAC OS.
and as i can see the terminal which you have shown in snapshot, is a windows DOS terminal. and i am talking about linux terminal. is this xc compiler also work on linux terminal?? bcoz now i am able to generate hex file using linux terminal using MPLAB C18 compiler.
I had mentioned that thing in my last post as i dont have XC8 installed on my Linux Machine, so i an not able to produce the required snaps for linux OS, but i am 100% sure, that the build process will be similar.
Apart from that can you share the working link of MPLAB C18 for Linux, i just wanted to check that, and also how you managed to build the code in Linux using MPLABC18.
- - - Updated - - -
I just installed XC8 v1.33 on my Linux Machine, and the whole process which i mentioned in my first post is correct.
Here are the snaps showing the results, generated hex file is tested on Labcenter Electronics Proteus Also.
Proteus Simulation Result