This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Config tool 2.04 parse error bug.


I do have one more comment that I just thought of.  I've noticed that
the eCos docs say to "mount -f -b c: /c".  I find that a lot of the time
my code will not compile due to parse errors unless I "mount -f c: /c"
for textmode.  I have no idea why, but it might have something to do
with the difference between linux/unix and windows carriage returns.
eg. 0x0a 0x0d as opposed to 0x0a only.  So, I would assume /cygdrive/c
is binary mode by default!

-----Original Message-----
From: Julian Smart [mailto:julians@redhat.com] 
Sent: Monday, August 13, 2001 10:39 AM
To: Trenton D. Adams; 'eCos Disuss'
Subject: Re: [ECOS] Config tool 2.04 parse error bug.


At 09:15 AM 8/13/01 -0600, Trenton D. Adams wrote:
>This occurs when I use the config tool 2.04.  If I use 1.3.1.2, this
>doesn't happen.  I carried out the exact same procedure with both
tools.
>I had to resolve some conflicts manually with the old tool, but other
>than that the procedure was the same.  I used the same repository with
>the old tool as the new tool as well.
>
>I think this is happening because it's using -I /cygdrive/C/* instead
of
>/C/* because the old tool uses the latter.

I wonder why that should happen? Sigh... we've spent so long on trying
to 
maintain compatibility with as many Cygwins as possible while responding
to 
the fact that the /c/... notation is going away soon.

Any further clues about this would be very welcome.

Thanks,

Julian


>This is a bug right?  I hate reporting so many bugs especially if they
>in fact aren't! :(
>
>p.s.
>I'm attempting an EDB7xxx RedBoot build when this happens.
>
>make -r -C hal/arm/arch/current arm.inc
>make[1]: Entering directory
>`/c/MyDocuments/eCosBuilds/Redboot_build/hal/arm/arch/current'
>arm-elf-gcc -mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes
>-Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections
>-fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority
>-I/cygdrive/C/MyDocuments/eCosBuilds/Redboot_install/include
>-I/cygdrive/C/MyDocuments/NeweCosRep/ecos/packages/hal/arm/arch/current
>-I/cygdrive/C/MyDocuments/NeweCosRep/ecos/packages/hal/arm/arch/current
/
>src
>-I/cygdrive/C/MyDocuments/NeweCosRep/ecos/packages/hal/arm/arch/current
/
>tests -I. -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S
>/cygdrive/C/MyDocuments/NeweCosRep/ecos/packages/hal/arm/arch/current/s
r
>c/hal_mk_defs.c
>In file included from
>/cygdrive/C/MyDocuments/eCosBuilds/Redboot_install/include/cyg/hal/hal_
a
>rch.h:49,
>                  from
>/cygdrive/C/MyDocuments/NeweCosRep/ecos/packages/hal/arm/arch/current/s
r
>c/hal_mk_defs.c:48:
>/cygdrive/C/MyDocuments/eCosBuilds/Redboot_install/include/cyg/infra/cy
g
>_type.h:173: parse error before `__tmp1'
>/cygdrive/C/MyDocuments/eCosBuilds/Redboot_install/include/cyg/infra/cy
g
>_type.h:173: warning: type defaults to `int' in declaration of `__tmp1'
>/cygdrive/C/MyDocuments/eCosBuilds/Redboot_install/include/cyg/infra/cy
g
>_type.h:173: `_name_' undeclared here (not in a function)
>/cygdrive/C/MyDocuments/eCosBuilds/Redboot_install/include/cyg/infra/cy
g
>_type.h:173: warning: data definition has no type or storage class
>/cygdrive/C/MyDocuments/eCosBuilds/Redboot_install/include/cyg/infra/cy
g
>_type.h:174: parse error before `__tmp2'
>/cygdrive/C/MyDocuments/eCosBuilds/Redboot_install/include/cyg/infra/cy
g
>_type.h:174: warning: type defaults to `int' in declaration of `__tmp2'
>/cygdrive/C/MyDocuments/eCosBuilds/Redboot_install/include/cyg/infra/cy
g
>_type.h:174: initializer element is not constant
>/cygdrive/C/MyDocuments/eCosBuilds/Redboot_install/include/cyg/infra/cy
g
>_type.h:174: warning: data definition has no type or storage class
>/cygdrive/C/MyDocuments/eCosBuilds/Redboot_install/include/cyg/infra/cy
g
>_type.h:175: warning: type defaults to `int' in declaration of `__tmp1'
>/cygdrive/C/MyDocuments/eCosBuilds/Redboot_install/include/cyg/infra/cy
g
>_type.h:175: redefinition of `__tmp1'
>/cygdrive/C/MyDocuments/eCosBuilds/Redboot_install/include/cyg/infra/cy
g
>_type.h:173: `__tmp1' previously defined here
>/cygdrive/C/MyDocuments/eCosBuilds/Redboot_install/include/cyg/infra/cy
g
>_type.h:175: initializer element is not constant
>
>Trenton D. Adams
>Extreme Engineering
>#17, 6025 - 12 St. SE
>Calgary, Alberta, Canada
>T2H 2K1
>
>Phone: 403 640 9494 ext-208
>Fax: 403 640 9599
>
>http://www.extremeeng.com

--
Red Hat UK Ltd, Unit 200 Rustat House, 62 Clifton Road, Cambridge, UK.
CB1 
7EG Tel: +44 (1223) 271063


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]