I have a little question concerning GCC...
I'm coding something and it appear that gcc completely lose some functions during compilation.
When pcmstop is situated in a different file, I use "extern void pcmstop(void);" and the fallowing error occurs :
I tried several things, and sometimes, if I call only one time pcmstop, there is no error... wierd, isn't it? If he find one time, he should find two times...C:\fonzie_dev\xgcc_code\france_five\scpu>
C:\fonzie_dev\xgcc_code\france_five\scpu>gcc -Xlinker -L C:/xgcc/6
0/ -b 68k -T Tsmcd.ld -nostdlib -o cdread. FILES -lm -lc -l135 -lg
c_index.o(.text+0x1ae):c_index.c: undefined reference to `pcmstop'
c_index.o(.text+0x208):c_index.c: undefined reference to `pcmplay'
c_index.o(.text+0x22e):c_index.c: undefined reference to `pcmstop'
Any idea? It happen only in my current project...
Thx