Hi

I tried compiling my code with the compiler on that site. It compiles
just fine . However, when I add this binary to my Alpha image and try
to run it inside GEM5, I get the following error :

modprobe: FATAL: Could not load /lib/modules/2.6.13/modules.dep: No
such file or directory

Is there a way to build the entire executable statically or
alternatively to point it to the right library folder ?

Anirudh

On Mon, Jul 23, 2012 at 5:14 PM, Anirudh Sivaraman <[email protected]> wrote:
> On Mon, Jul 23, 2012 at 4:34 PM, Bojun Ma <[email protected]> wrote:
>> Hi,
>>    You can use the Pre-compiled Cross-compilers provided here.
>> http://www.m5sim.org/Download
>>    For adding binaries into images, just mount the image, copy the compiled
>> binaries into it, and umount the image.
>>    More details can be found in http://www.m5sim.org/Tutorials, check the
>> slides regard to FS mode simulation.
>>
>
> Thanks !! I ll take a look at it and see if I can get it working . It
> looks like there is a complete set of libraries along with the
> compiler, so it should be probably be good enough for my needs.
>
>
>> Regards,
>> Bojun
>>
>>
>> On Mon, Jul 23, 2012 at 4:24 PM, Anirudh Sivaraman <[email protected]>
>> wrote:
>>>
>>> Hi
>>>
>>> I was planning to write my own socket program to test file transfer
>>> across 2 simulated Alpha machines running within GEM5. Is there a well
>>> established cross compiler that I could use for the task ? Also, how
>>> do I modify the provided Alpha disk images to add new binaries to them
>>> ?
>>>
>>> Anirudh
>>> _______________________________________________
>>> gem5-users mailing list
>>> [email protected]
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to