This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
>> The problem (I guess) is because that the gcc didn't passed the >> "-mcpu=r4600" to the assembler. You might want to edit the gcc >> specs to reflect the fact that r4600 is using mips:4000 inst. >> GAS didn't know a r4600 target. >Thanks for the suggestion. I ran gcc -v .... to see how gas was >being started and the -mcpu=r4600 was being passed through. I tried >the change to the specs file anyway and it didn't help. I then >went back and used binutils-2.8.1 instead of binutils-2.9.1 and >the problem went away. I guess I didn't make it clear. GAS didn't know a r4600 target, so the only way is to edit the spec and tell gcc when it has some directive like "-mcpu=r4600" it has to transform it into "-mcpu=r4000". I tried that yesterday and it worked, just add the "%{mcpu=r4600:-mcpu=r4000} in your asm_spec. potatooo _______________________________________________ New CrossGCC FAQ: http://www.objsw.com/CrossGCC _______________________________________________ To remove yourself from the crossgcc list, send mail to crossgcc-request@cygnus.com with the text 'unsubscribe' (without the quotes) in the body of the message.