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]

strange compiler error with division operation


Dear Mr:
I am using gcc-3.3.2 and newlib-1.11.0 for powerpc-eabi target. When I make my program, two strange error went out with the division operation:
The first one:
temp = v1/100; //error: undefined reference to `__mulh'


The second:
wtemp = (offset << 8)/interval; //error: undefined reference to `__quoss'


I don't know what the _mulh and __quoss are. Have I to include some lib to do division operation in GCC ? Thank you for help.

_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com



------ 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]