Pelles C forum

Pelles C => Bug reports => Topic started by: Steven on July 29, 2006, 10:51:33 PM

Title: C time() functions for PPC
Post by: Steven on July 29, 2006, 10:51:33 PM
I have been trying to use the C time() function for a PPC application.

The problem is that using time() for an ARM PPC gives a Linker error, I get:
POLINK: error: Unresolved external symbol 'time'.

I have checked POLINK on crt.lib for symbol 'time' using  /MACHINE:ARM, and it reports that it is in the library.

The time() function links OK with the crt.lib file when the application is compiled for X86.

Is this a LIB problem for crt.lib for the ARM object code?
Title: C time() functions for PPC
Post by: Pelle on August 04, 2006, 11:59:02 AM
IIRC, it's defined in Microsoft's include files for Pocket PC, but I can't see it being *exported* like other C runtime functions. Not sure about it's status. I will look at it...