Thread: Makefile
View Single Post
  #7   Spotlight this post!  
Unread 17-01-2007, 13:20
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
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.