This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin cross compiler expects DOS paths for include directories,etc.


Ben Bodley wrote:
Hello,
$ arm-epoc-pe-g++ dialog.cpp -I/opt/symbian/UIQ_21/include
In file included from dialog.cpp:1:
dialog.h:3: No include path in which to find eikdialg.h
dialog.cpp:6: No include path in which to find eikchlst.h

However, if I use DOS pathnames in my include directory:

$ arm-epoc-pe-g++ dialog.cpp -Ic:/cygwin/opt/symbian/UIQ_21/include
In file included from c:\cygwin\opt\symbian\UIQ_21\include\e32std.h:1305,
                 from c:\cygwin\opt\symbian\UIQ_21\include\coeccntx.h:10,
                 from c:\cygwin\opt\symbian\UIQ_21\include\eikdialg.h:10,
                 from dialog.h:3,
                 from dialog.cpp:1:
c:\cygwin\opt\symbian\UIQ_21\include\e32des16.h:301: #error no typedef for
__TText

That's a puzzle, isn't it?


I usually solve icky problems like this by doing things like running g++ with
the --verbose flag to see what it's doing in more detail
and/or by running it under strace -o foo.log
and then doing
 grep -i eikdialg.h foo.log
to see what happened when it tried to open the file.

You might also check the case of the filename and the permissions on the file.
- Dan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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