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]
Other format: [Raw text]

[Bug java/48417] -ffixed-regs option can't work in mips-elf-gcj compiler


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48417

--- Comment #2 from licheng.1212 at gmail dot com <licheng.1212 at gmail dot com> 2011-04-03 15:43:45 UTC ---
(In reply to comment #1)
> You have to build the java runtime with -ffixed-reg also.
The runtime and all my project also have those options

export CFLAGS="-G0 -Wall -mabi=32 -msoft-float -mno-abicalls -march=xcpu
-mtune=xcpu -Wa,-march=xcpu,-mtune=xcpu -mips16 -EL -mexplicit-relocs
-falign-functions=16 -falign-jumps=16 -fweb -frename-registers -mmemcpy
-mmips-tfile -nostartfiles -nostdlib -nodefaultlibs -c -pipe -ffixed-t3
-ffixed-t4 -ffixed-t5 -ffixed-t6 -ffixed-t7 -ffixed-s2 -ffixed-s3 -ffixed-s4
-ffixed-s5 -ffixed-s6 -ffixed-s7 -ffixed-fp -minterlink-mips16
-ffunction-sections -fdata-sections -O0 -g"

export GCJFLAGS=${CFLAGS}


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