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] |
arm-unknown-linux-gnu-g++ -I/opt/cross/arm-linux-3.4.0/include -o cni cni-test.cpp -lgcj In file included from /opt/cross/arm-linux-3.4.0/include/java/lang/Object.h:16, from /opt/cross/arm-linux-3.4.0/include/gcj/cni.h:16, from cni-test.cpp:2: /opt/cross/arm-linux-3.4.0/include/gcj/javaprims.h:90: error: stray '$' in program ...
Does anyone have a clue what's wrong? I've been trying both gcc 3.4.0 and 3.4.1.
Nope, other than perhaps you're trying to include Java source into a C++ program? ...
No, it is a regular .h file.
Not quite regular. It has $'s in identifiers (presumably because it's C++ trying to represent Java identifiers), which is what the error message is telling you. It could be that gcc is trying to avoid passing $'s to the assembler on this architecture. See e.g. http://gcc.gnu.org/ml/gcc/1999-01n/msg00027.html which mentions a config setting NO_DOLLAR_IN_LABEL
I don't know what the real story is. Best ask on the gcj mailing list. - Dan
-- My technical stuff: http://kegel.com My politics: see http://www.misleader.org for examples of why I'm for regime change
------ 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] |