Position - independent Code
Dirk Vialkowitsch
DirkVialkowitsch@samtec.de
Thu Feb 24 05:31:00 GMT 2000
Dear Sirs,
I want to generate PIC using GNU-CC on the M68K.
My command line:
M68K-Coff-gcc -fPIC -O -mcpu32 -x c -Wall -nostartfiles -Ts_cmd.ld -o
temp.ram Source.c
This produces several errors:
C:\TEMP\cchSYTiA.s: Assembler messages:
C:\TEMP\cchSYTiA.s:19: Error: parse error -- statement `lea
(%pc,_GLOBAL_OFFSET_TABLE_@GOTPC),%a5' ignored
C:\TEMP\cchSYTiA.s:21: Error: parse error -- statement `move.l
psimpar@GOT(%a5),%a0' ignored
C:\TEMP\cchSYTiA.s:23: Error: parse error -- statement `move.l
pstatus@GOT(%a5),%a0' ignored
C:\TEMP\cchSYTiA.s:25: Error: parse error -- statement `move.l
Line@GOT(%a5),%a0' ignored
a.s.o.
Any suggestions?
> mit freundlichen Gruessen
> with regards
>
> Dirk Vialkowitsch
> ---------------------------------
> samtec GmbH, Filderhauptstr. 61D
> D-70599 Stuttgart, Germany
> ---------------------------------
> eMail: DirkVialkowitsch@samtec.de
> Tel. : +49-711-45809-64
> FAX : +49-711-45809-77
> WWWeb: http://www.samtec.de
> ---------------------------------
>
>
More information about the Gcc-bugs
mailing list