Dhrystone demo: sys/times.h?
Rayman
Posts: 14,665
I'm trying to build the dhrystone demo from the command line, but get this:
Any ideas?
E:\Propeller2\VisualStudio\Demos_P1\Dhrystone>propeller-elf-gcc.exe -o a.out -Os -mcmm -I . -fno-exceptions *.c dry.c:415:23: fatal error: sys/times.h: No such file or directory compilation terminated.
Any ideas?
Comments
but now, I get this:
\Propeller2\VisualStudio\Demos_P1\Dhrystone>propeller-elf-gcc.exe -o a.out -Os
-mcmm -I . -Dprintf=__simple_printf -DMSC_CLOCK -DINTEGER_ONLY -DFIXED_NUMBER_
OF_PASSES=3000 -fno-exceptions *.c
dry.c:514:18: warning: conflicting types for built-in function 'malloc' [enabled
by default]
dry.c: In function 'main':
dry.c:589:3: warning: incompatible implicit declaration of built-in function 'st
rcpy' [enabled by default]
C:\Users\Ray\AppData\Local\Temp\ccUDeEbg.o: In function `_Proc_3':
(.text+0x36): undefined reference to `_Proc_7'
C:\Users\Ray\AppData\Local\Temp\ccUDeEbg.o: In function `_Proc_1':
(.text+0x77): undefined reference to `_Proc_6'
C:\Users\Ray\AppData\Local\Temp\ccUDeEbg.o: In function `_Proc_1':
(.text+0x86): undefined reference to `_Proc_7'
C:\Users\Ray\AppData\Local\Temp\ccUDeEbg.o: In function `.L21':
(.text+0x1aa): undefined reference to `_Func_2'
C:\Users\Ray\AppData\Local\Temp\ccUDeEbg.o: In function `.L21':
(.text+0x1c9): undefined reference to `_Proc_7'
C:\Users\Ray\AppData\Local\Temp\ccUDeEbg.o: In function `.L21':
(.text+0x1e8): undefined reference to `_Proc_8'
C:\Users\Ray\AppData\Local\Temp\ccUDeEbg.o: In function `.L21':
(.text+0x201): undefined reference to `_Func_1'
C:\Users\Ray\AppData\Local\Temp\ccUDeEbg.o: In function `.L21':
(.text+0x211): undefined reference to `_Proc_6'
collect2: ld returned 1 exit status
Here's the output:
\Propeller2\VisualStudio\Demos_P1\fft>propeller-elf-gcc.exe -o a.out -Os -mfca
che -mlmm -I . -fno-exceptions *.c
C:\Users\Ray\AppData\Local\Temp\ccSnIsUu.o: In function `_time_ms':
(.text+0xc): undefined reference to `_getcnt'
collect2: ld returned 1 exit status
don't see anything in the makefile that might help me here...