strange compiler error with division operation

rainfeng _micro rainfeng_micro@hotmail.com
Thu Jun 3 13:51:00 GMT 2004


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



More information about the crossgcc mailing list