strange compiler error with division operation

rainfeng _micro
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 

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¡£  

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list