Still can't figure out the problem. I stoped compiling my C in mplab and I am using it only as an editor. I have fallen back to the good old days of batch/make files to build projects, for the time being. --- "Hasan A. Khan" wrote: > I didn't put the +reloc.inc file on the command > line! > That was my original question. Why is this option > showing up at all? In build options, 'options on > file' is unchecked but it is still showing up. It > is > driving me nuts. > > --- phil B wrote: > > I did not have a problem like that installing into > > mplab 6.60 and building sample1. I did not see > > reloc.lnk in the default command string, though. > > Why > > do you need the options in a file? Go into > > project/build options and uncheck "options on > file". > > > > Include any options from the file in the > "additional > > command line options" box. > > > > However, I get an error based on the hex format I > > select: the default, INHX8M, generates a hex file > > but > > mplab says: the hex file not written because the > > format extension is not recognized (but the hex > file > > was actually generated). All 3 other hex formats > > cause cc5x to fail to build. Since I currently > > don't > > use an mplab compatible programmer, its sort of ok > > (for free) but I can't use the simulator and may > get > > a > > compatible programmer some day. I don't think I'd > > pay > > money for it unless I can resolve this error. > > Anyone > > got any ideas? > > > > --- "Hasan A. Khan" wrote: > > > Hi, > > > As a new comer to this list, I have been read > this > > > list for a while now and its been a great help. > > One > > > thing I learned was that I didn't have to use > > > assembler and there is a free C compiler CC5X. > I > > > immediately installed in MPLAB and tried the > > > samples. > > > All my excitement vanished when it failed the > > first > > > time and it still failing. When I compile the > > file > > > sample1.c I get the following error > > > > > > Executing: "C:\Program Files\bknd\CC5X\CC5X.EXE" > > > SAMPLE1.C -CC -fINHX8M -p16F628 -I"C:\Program > > > Files\bknd\CC5X" -a -L -Q -V -FM +reloc.inc > > > Error : Unable to open file 'reloc.inc' > > > > > > Error options: -ew: no warning details -ed: no > > > error > > > details -eL: list details > > > > > > I have set up the incpath correctly in mplab, I > > > think. > > > I have not turned on the + flag in 'build > > options' > > > so > > > why is +reloc.inc showing up in the compile line > > and > > > why can't the compiler find it? > > > > > > Thanks for any help. > > > > > > > > > > > > -Hasan > > > -- > > > http://www.piclist.com PIC/SX FAQ & list archive > > > View/change your membership options at > > > http://mailman.mit.edu/mailman/listinfo/piclist > > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - You care about security. So do we. > > http://promotions.yahoo.com/new_mail > > -- > > http://www.piclist.com PIC/SX FAQ & list archive > > View/change your membership options at > > http://mailman.mit.edu/mailman/listinfo/piclist > > > > > -Hasan > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -Hasan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist