> I recently installed his newest release (the one with the 18F support) > on my laptop and found that it would not assemble the files. After a > fair amount of fluffing around I found that I had both the path to the > MPLAB directory, and the MPLABDir environment variable. By removing the > MPLABDir variable everything magically worked. By "having" the path to the MPLBAB directory, do you mean it was listed in your PATH variable? If so then you don't need the MPLABDir environment variable, but it should do no harm. It is only used to form the pathname of the microchip executables, like MPASMWIN. > It seems that when asmpic fires up mpasmwin that it uses the full path > in the MPLABDir variable, Yes, if MPLABDir is present. Otherwise it just tries to run "MPASMWIN" without any qualifying path. > and mpasmwin then expects the asm file to be > in that path as well. No, the current directory is explicitly set to the directory containing the source file before MPASMWIN is run. The MPLABDir environment variable or the directory that MPASMWIN is found in should have nothing to do with this. > I was getting "file not found" errors, with no > error file in the src directory to use to figure out the whys and > wherefores. > > Olin you may wish to file this somewhere (useful :)) in case someone > else says "it don't work for me". :)) I still don't understand what happened on your machine. I just tried adding the path in MPLABDir to the directories list in my PATH variable, and then ran the BUILD_HOS_EXPIC script. Everything ran fine. I then deleted the MPLABDir variable and everything still ran fine. I even deleted all the HOS files from the SRC directory in between to make sure it was really rebuilding the whole project. No matter what I did, everything ran fine. Did anything else get changed on your machine when you deleted the MPLABDir environment variable? Did you try to run ASMPIC directly, or only implicitly thru a build script? Can you get a single ASMPIC command to fail? Which release exactly did you install? The current version is 8 April, but this is not the first version with 18F support. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body