On May 8, 2013, at 8:58 PM, YuLicheng <[email protected]> wrote:

> Hello,
> 
> I have read that gem5 is well supported on Mac OS X (from 
> http://gem5.org/Dependencies).
> But I can't find any guide for OS X, documents are obviously Linux oriented.
> I have successfully compiled gem5.debug, but can't figure out how to compile 
> static binaries that will run in SE mode.
> 
> The following is just my guess, but I have no idea how to do these:
> 1. Gem5 only eats ELF, so I must get an ELF cross compiler (maybe 
> x86_64-elf-gcc?)
> 2. Static linkage is required, but -static is not working out-of-box for OS X 
> gcc: ld: library not found for -lcrt0.o
> 
> btw, I'm using gcc-47 from homebrew (tap homebrew-versions) in OS X 10.8.3.
> 
> Is there any tutorial for OS X?
> Thanks.
> 
> Licheng
The simulator is well supported on OS X, but we don't support running OS X 
binaries. You'll need to compile linux binaries which you can do on a LInux 
system, or with a cross compiler like you mentioned above.

Ali


_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to