Searching \ for '[PIC]: MPLAB make builds everything' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/languages.htm?key=mplab
Search entire site for: 'MPLAB make builds everything'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: MPLAB make builds everything'
2002\08\04@143719 by sbryden

flavicon
face
Does anyone, like me, have the problem in MPLAB where a make (Project->Make
Project, or F10) always builds everything? I have seen this now in two
versions installed on two PCs and found no bug reports on the Microchip
website.

Am I missing something obvious? In a project with lots of source files, this
gets really annoying, especially as I delegate MPLAB to an old P75 (don't want
to waste a decent PC on W9x)

Simon.
---

--
http://www.piclist.com hint: To leave the PICList
spam_OUTpiclist-unsubscribe-requestTakeThisOuTspammitvma.mit.edu


2002\08\04@153209 by Peter L. Peres

picon face
On Sun, 4 Aug 2002, Simon Bryden wrote:

>Does anyone, like me, have the problem in MPLAB where a make (Project->Make
>Project, or F10) always builds everything? I have seen this now in two
>versions installed on two PCs and found no bug reports on the Microchip
>website.
>
>Am I missing something obvious? In a project with lots of source files, this
>gets really annoying, especially as I delegate MPLAB to an old P75 (don't want
>to waste a decent PC on W9x)

This was deiscussed before on the piclist. Try to use google to find the
thread. The fix was to set the include directory correctly in the project
properties I think.

Peter

--
http://www.piclist.com hint: To leave the PICList
.....piclist-unsubscribe-requestKILLspamspam@spam@mitvma.mit.edu


2002\08\04@160233 by Jeremy Walworth

flavicon
face
In MPLAB 6 there's a file window that lists all the files included in the
project, in that window you can right click the file you need built and
click compile.  That will compile just that single file, without building
the whole bloomin' project again.

I learned that trick at the Microchip Master's conference last week ;-)

-J

At 10:53 PM 8/4/02 +0200, you wrote:
{Quote hidden}

Jeremy S. Walworth
"I fly, I sail, I throw caution to the wind"  -Jimmy Buffett
http://www.jeremyanddarcy.com

--
http://www.piclist.com hint: To leave the PICList
.....piclist-unsubscribe-requestKILLspamspam.....mitvma.mit.edu


2002\08\04@175308 by sbryden

flavicon
face
Bingo. Setting the include directory to be the directory containing the
Microchip include files did the trick.

Thanks to everyone who responded.

Simon.
---

On Sun, Aug 04, 2002 at 10:32:20PM +0300, Peter L. Peres wrote:
{Quote hidden}

--
http://www.piclist.com hint: To leave the PICList
EraseMEpiclist-unsubscribe-requestspam_OUTspamTakeThisOuTmitvma.mit.edu


2002\08\05@133756 by gaston gagnon

face
flavicon
face
Simon Bryden a icrit :

> Bingo. Setting the include directory to be the directory containing the
> Microchip include files did the trick.
>
> > >Does anyone, like me, have the problem in MPLAB where a make (Project->Make
> > >Project, or F10) always builds everything? I have seen this now in two
> > >versions installed on two PCs and found no bug reports on the Microchip
> > >website.
> > >
> > >Am I missing something obvious? In a project with lots of source files, this
> > >gets really annoying, especially as I delegate MPLAB to an old P75 (don't want
> > >to waste a decent PC on W9x)
> >
> > This was deiscussed before on the piclist. Try to use google to find the
> > thread. The fix was to set the include directory correctly in the project
> > properties I think.

Unfortunately this solution does not work for Hi-Tech PICC Language Tool and MPLAB.
Any known solution ?
Gaston

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\08\05@170325 by Peter L. Peres

picon face
On Mon, 5 Aug 2002, gaston gagnon wrote:

{Quote hidden}

Try to set the path for the C includes ?

Peter

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\08\05@181709 by gaston gagnon

face
flavicon
face
"Peter L. Peres" a icrit :

> >Simon Bryden a icrit :
> Bingo. Setting the include directory to be the directory containing the
> Microchip include files did the trick.

>  >Does anyone, like me, have the problem in MPLAB where a make (Project->Make Project,
> or F10) always builds everything? I have seen this now in two versions installed on
> two PCs and found no bug reports on the Microchip website.

> Am I missing something obvious? In a project with lots of source files, this gets
> really annoying, especially as I delegate MPLAB to an old P75 (don't want to waste a
> decent PC on W9x)

>
> >Unfortunately this solution does not work for Hi-Tech PICC Language Tool and MPLAB.
> >Any known solution ?
> >Gaston
>
> Try to set the path for the C includes ?

Here is what I do Peter:
With my project open in MPLAB I do:  Project --> Edit Project-->Include Path
and type this line:  c:\ht-pic\include -id:\gaston_e\applicht\include
In the project I actually have two .c files and both are recompiled every time F10 is
depressed :o(

I don't see any .mak file in the project. Is MPLAB using any kind of "make file" or is
it built in ?
Gaston

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\08\05@185231 by Dipperstein, Michael

face picon face
> From: gaston gagnon [gaston.gagnonspamspam_OUTVIDEOTRON.CA]
> Sent: Monday, August 05, 2002 3:23 PM

[...]

> Here is what I do Peter:
> With my project open in MPLAB I do:  Project --> Edit
> Project-->Include Path
> and type this line:  c:\ht-pic\include -id:\gaston_e\applicht\include
> In the project I actually have two .c files and both are
> recompiled every time F10 is
> depressed :o(

Well, I'm not Peter, but I've had more than my share of run-ins with MPLAB's
Make utility and PICC.  First set your include path to:

C:\HT-PIC\INCLUDE (Assuming that's where your compiler is.  The new compiler
moved.)

If you have files in directories other than the directory that you're compiling
from and the directory with the compiler include files, you're blazing a new
trail.

I've also noticed that the new PIC18F parts have files with long file names and
MPLAB only handles the 8.3 format.  If you don't plan on changing PICC include
files, you can place dummy files with truncated names (truly truncated, not with
~1) in the include path.

> I don't see any .mak file in the project. Is MPLAB using any
> kind of "make file" or is
> it built in ?

There is no make file.  All the make information is contained in the project
(.pjt) file.  If you look at the file with a text editor, you should be able to
get a good idea of the way things work.

-Mike

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\08\06@110337 by gaston gagnon

face
flavicon
face
Thank you Michael,

"Dipperstein, Michael" a icrit :

{Quote hidden}

I usually keep the project include files in the project directory, all of my
utilities include files in another directory.

> I've also noticed that the new PIC18F parts have files with long file names and
> MPLAB only handles the 8.3 format.  If you don't plan on changing PICC include
> files, you can place dummy files with truncated names (truly truncated, not with
> ~1) in the include path.

As Hi-Tech is dos, I always use the 8.3 format.

If one has, like I do, their include files in different directories, the command
line for the Hi-Tech compiler requires that the include path in MPLAB Edit Project
window be constructed this way:
Include Path    C:\HT-PIC\INCLUDE  -iD:\GASTON_E\APPLICHT\INCLUDE      Notice the
space and -i separating the two paths.

But MPLAB seems to be only happy when the different paths are separated by semicolon
which gives:
Include Path    C:\HT-PIC\INCLUDE;D:\GASTON_E\APPLICHT\INCLUDE   with no -i for the
second directory.

Now if the c files and obj files have the same time stamps, F10 produces:   "Target
is current"   which is fine.
But if one of the c file is modified, then it is the compiler that does not find the
included files specified in the c file. :o(

One "get around way" I found is to write         Include Path
c:\ht-pic\include    in MPLAB and absolute paths everywhere else in the c files.
A typical exempla for one file would be:

#include <pic.h>
#include "d:\gaston_e\applicht\include\sci.h"

Well this is feasible but hawk ward. (?) to say the least.

I did not see any reference to this problem in Hi-Tech's forum.

To the many other Hi-Tech users on the list, how do you deal with this problem ?

Gaston

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2002\08\06@135807 by Peter L. Peres

picon face
On Mon, 5 Aug 2002, gaston gagnon wrote:

{Quote hidden}

I'm not an expert on MPLAB but all the makefile like info is in the pjt
file. I make an educated guess about MPLAB checking the date/time of the
files in the directory indicated for includes besides that of the other
project files in the pjt. That's all I know.

Peter

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


More... (looser matching)
- Last day of these posts
- In 2002 , 2003 only
- Today
- New search...