Olin Lathrop wrote: > > I am not sure that this is completely relevant, but it seems to me what > > you are looking for is not an interactive environment but rather a > > scripting language or build tool. > > You are right. We are working on something like that now, but it's not > ready for general release. It will be something that we can freely give > to customers who want to build our code themselves, without being a major > intrusion on their machine (like all the Java stuff you mentioned). It > will also be layered on our OS portability interface and can therefore > make use of our special file name handling. > > Our stuff used to all be built from the Apollo DSEE environment. The BAT > files on NT are just an interim stopgap. In the meantime, just use Gnu make, available everywhere for all platforms and just a single executable file. For example, the following Makefile builds Olin's hal project. Although it ignores the "special file name handling" (by not using Olin's asm/lib/link wrappers), doesn't put the derived files in a separate directory and does not go to the trouble of creating a library for each project, it could easily be extended to do all of these things. -- Dave Tweed ========================================================================== # Embed/src/hal/Makefile # Embed, Inc. tools PREPIC = ../../com/prepic # Microchip tools ASM = "c:/Program Files/MPLAB/MPASMWIN" LINK = "c:/Program Files/MPLAB/MPLINK" /k "../pic" # Other tools RM = del HAL_OBJS = hal_strt.o hal_ad.o hal_eyes.o hal_init.o hal_intr.o hal_main.o \ hal_port.o hal_rand.o hal_soun.o hal_s09.o hal_s16.o hal_s22.o hal_s35.o \ owl.o howl.o pop.o pop2.o # Embed's preprocessor %.asm: %.aspic $(PREPIC) $< $@ %.inc: %.ins.aspic $(PREPIC) $< $@ # Assemble %.o: %.asm $(ASM) /c- /q /o $@ $< # Link hal.hex: $(HAL_OBJS) echo "FILES $(HAL_OBJS)" >temp.lkr $(LINK) p16f876m.lkr temp.lkr /m hal.map /o $@ # Cleanup clean: $(RM) *.ERR $(RM) *.LST $(RM) temp.lkr realclean: clean $(RM) *.asm $(RM) *.inc $(RM) *.O $(RM) *.map $(RM) *.cod $(RM) *.hex # Additional source dependencies hal_ad.o: hal.inc hallib.inc hal_eyes.o: hal.inc hallib.inc hal_init.o: hal.inc hallib.inc hal_intr.o: hal.inc hallib.inc hal_main.o: hal.inc hallib.inc hal_port.o: hal.inc hallib.inc hal_rand.o: hal.inc hallib.inc hal_s09.o: hallib.inc hal_s16.o: hallib.inc hal_s22.o: hallib.inc hal_s35.o: hallib.inc hal_soun.o: hal.inc hallib.inc hal_strt.o: hal.inc hallib.inc howl.o: hal.inc hallib.inc owl.o: hal.inc hallib.inc pop.o: hal.inc hallib.inc pop2.o: hal.inc hallib.inc ========================================================================== -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.