Oh, thanks a lot that definitely worked!

2012/1/2 Nilay Vaish <[email protected]>

> On Mon, 2 Jan 2012, Mehmet Burak Aykenar wrote:
>
>  Hi to everyone
>>
>> I have just started using gem5, thanks to everyone for their efforts to
>> develop such a great simulator..
>>
>> I have built ARM_SE successfully and achieved to get result from example
>> "hello" application using "se.py"
>> Then I wanted to write my own codes for ARM and compiled it using
>> "arm-none-linux-gnueabi-gcc"
>>
>> The exact code in the command line is:
>>
>>> arm-none-linux-gnueabi-gcc -o multiply main.c
>>>>
>>> (main.c is a very simple 'c' code just multiply three integer numbers and
>> assign the result to another integer number)
>>
>> After I tried to make a simulation for this binary I get the error:
>>
>> fatal: Object file is a dynamic executable however only static executables
>> are supported!
>>      Please recompile your executable as a static binary and try again.
>> @ cycle 0
>> [create:build/ARM_SE/sim/**process.cc, line 618]
>>
>> I think the solution is obvious: I need to recompile the c code, but after
>> a long search I couldn't be able to learn how to do this!
>> If anyone has any idea please help me..
>>
>>
> Provide -static as a flag while compiling the code.
>
> --
> Nilay
> ______________________________**_________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>
>
>
> !DSPAM:6374,**4f00f9f5744268397196!
>
>
>


-- 
*Mehmet Burak AYKENAR
Graduate Student of Computer Engineering
Research Assistant
**TOBB ETU Z-10
Microprocessors Laboratory*
*
mbaykenar.etu.edu.tr
[email protected]*
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to