[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] avr-gcc hangs on XP.
From: |
Preston Wilson |
Subject: |
Re: [avr-gcc-list] avr-gcc hangs on XP. |
Date: |
Thu, 17 May 2007 11:36:51 -0400 |
User-agent: |
Microsoft-Entourage/11.3.3.061214 |
"edSteve" wrote:
> Here's what I learned using this approach. I had a header file named "con.h".
> Windows was interpreting the file name as the console device (CON:). This was
> also true for a file named "con.c". So, when the compiler attempted to
> read "con.h" Windows was redirecting input from the console (CON:). Entering
> an Windows EOF (^Z) followed by the enter key from the keyboard would
> terminate the file and the compiler would finish spitting the appropriate
> errors because of the empty file from the console.
>
> I renamed the files to include an underscore (i.e. con.h became con_.h) and
> the build ran fine. This is true for both the cygwin shell and a normal
> command window.
>
> (insert Windows complaints here)
>
> Thanks again for the suggestions.
Your welcome, and I'm glad you found the problem.
You will probably see a different problem, but a problem none the less, with
files named aux.*, prn.*, lpt[1-9].*, and com[1-9].*. These are the old DOS
device names that have been maintained for compatibility.
-Preston
- [avr-gcc-list] avr-gcc hangs on XP., edSteve, 2007/05/16
- Re: [avr-gcc-list] avr-gcc hangs on XP., Preston Wilson, 2007/05/16
- RE: [avr-gcc-list] avr-gcc hangs on XP., Eric Weddington, 2007/05/16
- Re: [avr-gcc-list] avr-gcc hangs on XP., edSteve, 2007/05/17
- RE: [avr-gcc-list] avr-gcc hangs on XP., Eric Weddington, 2007/05/17
- Re: [avr-gcc-list] avr-gcc hangs on XP., edSteve, 2007/05/17
- Re: [avr-gcc-list] avr-gcc hangs on XP., David Kelly, 2007/05/19
- Re: [avr-gcc-list] avr-gcc hangs on XP., Gre7g Luterman, 2007/05/19
- RE: [avr-gcc-list] avr-gcc hangs on XP., Eric Weddington, 2007/05/19