|
|
|
| Together we can score larger rows than we can apart. |
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
I'm working on a sort of cross-platform development server, like a software repository and compiler service bundled together to work with a thin client.
Anyway, I just got MCC18 working on my Ubuntu installation, and it was too painful to be worth it. So I'm wondering if it's possible to make some scripts/installers for Linux that can automagically install MCC18. Meaning, the user pops in the MPLAB CD, the script finds the MCC18 folder, copies the files over to /opt/mcc18, fixes p18cxxx.h (per this post) and maybe offers an option to install WINE. Is this feasible? I am by no means an experienced Linux user, so I wouldn't know where to start. |
|
#2
|
|||
|
|||
|
Re: MCC18 Installer Script
You could write a bash script.
http://www.panix.com/~elflord/unix/bash-tute.html http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html www.google.com |
|
#3
|
||||
|
||||
|
Re: MCC18 Installer Script
How would I get it to install WINE or XAMPP? Also, how would I make it read from the CD drive?
|
|
#4
|
|||
|
|||
|
Re: MCC18 Installer Script
Quote:
Code:
sudo cp -r /cdrom/(mcc18 folder) /opt/mcc18 You can use apt to download and install wine and apache. Google apt commands. |
|
#5
|
||||
|
||||
|
Re: MCC18 Installer Script
Right, I've used apt plenty of times. So I can just put a "sudo apt-get" call in the script and it will install? Sweet.
Sorry, I've never written a linux script, obviously. |
|
#6
|
|||
|
|||
|
Re: MCC18 Installer Script
I've never actually tried it before, but when the shell runs a script it will run all of the commands as if you had typed them in, so it should work fine. Let us know when you finish this.. it will be a great tool for those of us who develop on Linux.
|
|
#7
|
|||
|
|||
|
Re: MCC18 Installer Script
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MCC18 C compiler 60 day grace window | Japper | Programming | 4 | 21-02-2007 07:24 |
| Variadic functions with mcc18 | schroedinbug | Programming | 4 | 19-02-2007 00:51 |
| Known Bug With mcc18 and Wine 0.9.22 | ScottWalls | Programming | 1 | 05-11-2006 15:03 |
| Using MCC18 in a custom program | EHaskins | Programming | 15 | 25-04-2006 23:35 |
| Napster Installer Wanted | MattK | Chit-Chat | 2 | 12-11-2002 20:43 |