View Single Post
  #3   Spotlight this post!  
Unread 14-01-2006, 08:55
lasindi lasindi is offline
Registered User
FRC #1164 (Project Neo)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: New Mexico
Posts: 11
lasindi is an unknown quantity at this point
Re: In Linux, compiler can't find standard headers

Quote:
Originally Posted by Ryan M.
This thread may help you get it working, but I'm having problems too.

When I try to compile using the stock configure.py, the wrong processor is used and I run into an "Unknown processor" error. I'm currently working on trying to find where the __18F8722 macro is defined. (actually, it defines that for an older processor... that's what it should be.) Does anyone know?
Yes, like I said, that's the thread I've mostly been using.

If all else fails, I suppose we can just #define that macro inside p18cxxx.h. However, configure.py isn't my only problem; I cannot even compile one source file on its own. If you do this:
Code:
mcc18 main.c -fo=main.o
inside on the default code, does it work for you (i.e., produces a "main.o" object file)?