> From: Josh Koffman [mailto:listsjosh@3MTMP.COM] > > Hi all. I have some assembler code that was written on a Linux machine > for gpasm. I'm now trying to compile it using MPLAB. Problem > is, I open > the main file, and try to build it, and I get this: > Error[125] C:\PROGRA~1\MPLAB\PROJECTS\UNILINK\UNILINK.ASM 2 > : Illegal > condition (EOF encountered before END or conditional end directive) > Note that this error occurs on line two of the file! At that point > everything is still in comments. I'm guessing this is a problem with > cr/lf or something to that effect. Any ideas on how to fix > this short of > retyping the entire program? > > Thanks, > > Josh If you already have the file on your Windows machine, you can use an undocumented feature in the EDIT.COM to correct cr/lf problems. Open your file in EDIT.COM, insert and delete anything you want (I usually type space and backspace). Now save the file. The file will be saved with a cr/lf at the end of each line. I know it's a lame way to get correct the problem, but it works. -Mike -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.