View Single Post
  #3   Spotlight this post!  
Unread 25-03-2006, 08:16
JJG13's Avatar
JJG13 JJG13 is offline
Yoda
AKA: Joshua Graffman
None #0180 (SPAM)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Martin County, Florida
Posts: 105
JJG13 has a spectacular aura aboutJJG13 has a spectacular aura aboutJJG13 has a spectacular aura about
Re: Using MCC18 in a custom program

Quote:
Originally Posted by EHaskins
I am would like to create a hybrid between EasyC and MPLab. I would like to make it be able to import and export to MPLab. Is it possible to write a program in VB.net or C#.net that can use Microchips C18 complier? i know there are a number of .Exes in the mcc18/bin/ folder. I think i would somehow need to run the compiler, linker, and mabe other programs, but i don't know how to run or get a response from the .EXEs.

Any help would be appreciated
Its fairly easy to use the C18 compiler. First you should check out this thread that gives an example of how to construct and use a makefile. The makefile will allow you to manage the compilation of all the files in your project. You can have your program autogenerate this makefile which would save you time and effort.
When you want to compile and link you just need to run make with your desired parameters such as "clean all -f FILENAME" (where FILENAME is the filename of your makefile).

For more information on makefiles, take a look at this.
__________________
Behold the power of SPAM.

Last edited by JJG13 : 25-03-2006 at 08:20.