1/1
About GNU tool chain
by Unknown on Jan 3, 2004 |
Not available! | ||
Hi Matjaz Breskvar,
You mentioned the number of target registers is (in priciple) a parameter to compiler. I have a question about the GNU tool chain for the openrisc. The GNU tool chain is for the device for 16 GPRs or 32 GPRs? If it is for the target device with 32 GPRs, I wonder if it can work for the target device with 16 GPRs? If so, how can do that? I mean if there are any options followed when using the compiler, or32-uclinux- gcc. Thank you very much. Regards, Stephen |
About GNU tool chain
by Unknown on Jan 3, 2004 |
Not available! | ||
* Whli_interqos@yahoo.com.hk (Whli_interqos@yahoo.com.hk) wrote:
Hi Matjaz Breskvar,
You mentioned the number of target registers is (in priciple) a parameter to compiler. I have a question about the GNU tool chain for the openrisc. The GNU tool chain is for the device for 16 GPRs or 32 GPRs? If it is for the target device with 32 GPRs, I wonder if it can work it's for target with 32 GPRs.
for the target device with 16 GPRs? If so, how can do that? I mean if
it would be nice to hear from sombody using 16 GPRs target, but
or32-gcc -ffixed-r16 -ffixed-r17 ... --ffixed-r31
should do it. just disassemble the source and check there are no
references to GPRs 16-31. (you should also pay attention for GPRs > 15
if you are using some assembly you didn't write)
regards,
p.
there are any options followed when using the compiler, or32-uclinux- gcc. Thank you very much. |
1/1