Originally Posted by
itCbitC
Can you post the compile-time errors here so others can look at it and perhaps pinpoint their source.
Here is the output now when I try to make:
Code:
../ProgramMain.c: In function `main':
../ProgramMain.c:224: warning: passing arg 2 of `LoadTestProgram' makes pointer from
integer without a cast
../ProgramMain.c:80: warning: return type of 'main' is not `int'
../Assembly.s: Assembler messages:
../Assembly.s:10: Error: no such instruction: `ds.l 15'
../Assembly.s:15: Error: no such instruction: `movem.l %D0/%D1/%D2/%D3/%D4/%D5/%D
6/%D7/%A0/%A1/%A2/%A3/%A4/%A5/%A6,RegStore'
../Assembly.s:16: Error: no such instruction: `link %A6,'
../Assembly.s:19: Error: no such instruction: `move.l 8(%A6),%A2'
../Assembly.s:22: Error: no such instruction: `jsr (%A2)'
../Assembly.s:24: Error: no such instruction: `move.l (%A7)+,%A4'
../Assembly.s:26: Error: no such instruction: `unlk %A6'
../Assembly.s:28: Error: no such instruction: `move.l (%SP)+,%A0'
../Assembly.s:29: Error: suffix or operands invalid for `add'
../Assembly.s:30: Error: no such instruction: `move.l %A0,-(%SP)'
../Assembly.s:31: Error: no such instruction: `movem.l RegStore,%D0/%D1/%D2/%D3/%
D4/%D5/%D6/%D7/%A0/%A1/%A2/%A3/%A4/%A5/%A6'
../Assembly.s:33: Error: no such instruction: `rts '
make: *** [Program] Error 1
It seems to mostly be coming from one of my assembly files. I had these kinds of errors earlier when I was converting the assembly files from m68k, it seems strange that they would show up when the linker script is removed. Any ideas?