Unfortunately, SDE-Lite will not work if you would like to cross-compile a MIPS/Linux binary and run it on M5. I believe the MIPS SDE package actually builds a MIPS/Linux executable but it also contains some SDE-specific startup routines and glibc calls that M5 will not be able to support. If you look closely into the SDE install files, you may be able to see what I am referring to.
The cross-compiler solution we found to work is crosstool. For MIPS, gcc 3.4.4 and glibc 2.3.5 seems to work. The M5 FAQ page has some basic info on where to get crosstool from: http://m5.eecs.umich.edu/wiki/index.php/Frequently_Asked_Questions#How_do_I_build_a_cross_compiler.3F Feel free to add to the wiki if you find any more helpful M5 cross-compiler related info Hope that helped! On 7/12/06, Crni Gorac <[EMAIL PROTECTED]> wrote: > Anyone able to advise is it possible to use MIPS SDE Lite > (http://www.mips.com/content/Products/SoftwareTools/SDE_Lite/content_html) > as cross compiler for M5 in order to run produced executables in M5 > system call emulation mode? > > And, while at it - how exactly to supply an executable produced by > cross-compiler to M5? I followed trough the code what's happening > when m5_1.1/m5-test/simple-test1/run.py launched with > m5_1.1/m5/build/ALPHA_SE/m5.debug and seems to me that > m5_1.1/m5-test/test-progs/anagram/bin/anagram-vshort.eio.gz is > executed eventually, but I don't understand how this file would be > produced after cross-compiling > m5_1.1/m5-test/test-progs/anagram/src/anagram.c to corresponding > executable... > > Thanks. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > m5sim-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/m5sim-users > > -- -- Korey LaMar Sewell University of Michigan Computer Science & Engineering Ph.D Student ------ ``Experience is not what happens to you. It is what you do with what happens to you.'' ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ m5sim-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/m5sim-users
