This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Position - independent Code
- To: "'egcs-bugs at egcs dot cygnus dot com'" <egcs-bugs at egcs dot cygnus dot com>
- Subject: Position - independent Code
- From: Dirk Vialkowitsch <DirkVialkowitsch at samtec dot de>
- Date: Thu, 24 Feb 2000 14:29:34 +0100
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
> ---------------------------------
>
>