This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Position - independent Code


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
> ---------------------------------
> 
> 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]