Hi. Was "" edits done by you before posting? Or is it actual output from the build-log? I also noticed that the -O option is specified twice in the picc command, once without options, just as the error message says. What does the setup in toolset say? There is not an extra -O in there? I think there is a line where you can setup switches to the compiler "by hand". Jan-Erik. Matt Rhys-Roberts wrote 2013-05-24 12:42: > Got a legacy 16F616 project written in Hi-Tech PICC, that needs some > development. > > The old MPLAB IDE it was created on is trapped in a broken Win partition. > > I'm using a working MPLAB 8.89 on a separate PC. > > A full-spec purchased PICC compiler (v9.70) was found on the broken PC. > > I tried downloading picc-lite to the working MPLAB initially, but it > didn't support 16F616 in its "do not edit" .ini file, so I'm aiming to > get the full compiler working. > > I've copied across the old PICC 9.70 compiler folder and done my best to > set it up in "Set Language Tool Locations". > > The code almost compiles, giving me the following: > > Clean: Deleting intermediary and output files. > Clean: Deleted file "C:\\.cce". > Clean: Done. > Executing: "C:\HI-TECH Software\PICC\9.70\bin\picc.exe" -C -E".= cce" ".c" -O".obj" -Zg9 -O -ASMLIST -Q -MPLAB -16F616 > (924) missing argument to "-O" option > Halting build on first failure as requested. > BUILD FAILED: Fri May 24 11:12:44 2013 > > > If this is a familiar problem then I'd be grateful to hear from you. > > Regards, > Matt > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .