ARM Technical Support Knowledge Articles

UNABLE TO FIND INCLUDE FILES USING LONG DIRECTORY NAMES

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

My project is stored in the following directory:

C:DEVEPILOGUE_51

and my header files are stored in:

C:DEVEPILOGUE_51H

I have added the path to the header directory to the C51INC variable in my AUTOEXEC.BAT.

When I build my project at the DOS prompt, the compiler cannot find the header file. Why?

ANSWER

The C51 compiler is a 16-bit program and cannot support long path names. There are several solutions or work-arounds to this problem:

MORE INFORMATION

Article last edited on: 2007-01-21 09:55:35

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential