This is the mail archive of the crossgcc@sourceware.org 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]

Problem compiling with cross compiler on x86_64


Hi friends,
      I am compiling a C program using cross compiler built for x86_64
machine on a 32 bit SLES machine. I keep on getting these two kind of
errors. Please help me in resolving this.

cc1: warning: command line option "-nostdinc++" is valid for
C++/ObjC++ but not for C
/tmp/ccPPyuMd.s: Assembler messages:
/tmp/ccPPyuMd.s:55: Error: Incorrect register `%rax' used with `l' suffix
/tmp/ccPPyuMd.s:94: Error: Incorrect register `%rdx' used with `l' suffix
/tmp/ccPPyuMd.s:451: Error: Incorrect register `%rax' used with `l' suffix
/tmp/ccPPyuMd.s:501: Error: Incorrect register `%rax' used with `l' suffix


/blddir/krb514/export/x86_linux_2/usr/lib/64/libkrb5.so: undefined
reference to `__ctype_tolower_loc'
/blddir/krb514/export/x86_linux_2/usr/lib/64/libkrb5.so: undefined
reference to `__ctype_b_loc'
/blddir/krb514/export/x86_linux_2/usr/lib/64/libkrb5.so: undefined
reference to `__ctype_toupper_loc'


Thanks in advance.......
--
********************************************
Manish Katiyar
***********************************************

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


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