|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#7
|
|||||
|
|||||
|
Re: Makefile
Lines start at 1. The compiler uses "syntax error" (w/o an error number) to mean "I'm confused. I'm giving up." Line 0 means before it even really starts reading the file. Maybe a permissions issue?
Check line endings, although that should not affect it. Also try running it through cpp18 (the preprocessor) and see if it tosses an error. (It probably won't but it's worth a shot.) Unlike gcc, MCC18 requires separate compiling and linking stages. The linker is mplink. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code::Blocks IDE interface (Tutorial/Makefile) | Cjmovie | Programming | 8 | 25-01-2008 02:18 |
| Using Eclipse IDE & makefile as MPLAB replacement | RoboPhantom | Programming | 0 | 27-02-2005 19:05 |
| Makefile and stripped down compiler | Venkatesh | Programming | 0 | 09-01-2005 18:55 |
| Adambots-Live Linux Makefile -- version 0.1 RELEASE | jdong | Programming | 4 | 17-11-2004 18:41 |
| Makefile for programming under Windows with cygwin | wun | Programming | 17 | 20-09-2004 00:44 |