Re: Mozilla on MIPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have now managed to compile Mozilla on my mips-linux machine but only by 
"cheating". As it turned out when i compiled it with the -Wa,-xgot flags i 
did not get any errors from the mozilla source files. The thing is that, as 
Ryan Murray pointed out, that gcc has to be compiled with the -Wa,-xgot 
flags as well (because of "relocation truncated errors" in crtibeginS.o and 
probably the other .o files included with gcc). I did not manage to compile 
a working version of gcc for some reason.
Also glibc had to be compiled with the same flags (otherwise crti.o 
returned the "relocation" error). Because of my own lack of competence i 
did not manage to pass the -Wa,-xgot arguments automatically during the 
making of the crt*.o-files. I could not find the file used for creating 
those particular files and i could not find them in any makefile. This 
meant that i had to wait for those files to "get made" and then stop the 
compilation and pass the arguments manually to gcc.
These two factors resulted in me "cheating" to get it to compile. I just 
replaced the files from the glibc/gcc rpms (crti.o from glibc and 
crtibeginS.o from gcc) with the ones i had compiled and then i managed to 
compile mozilla without any trouble. This, of course, did not produce a 
working binary but if someone, a bit more knowledgeable about these things 
than i, recompiled gcc and glibc they probably would get it to work...

I hope this will shed some light on the "mozilla problem".

Perhaps i should mention that i got the web browser galeon 
(http://galeon.sourceforge.net/) working using the mozilla libs i compiled...

Peter


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux