With gcc, but instead of linking with the pthreads library, I linked with the m5threads library. You can obtain this library from http://repo.gem5.org/. I think this is required since pthreads library is dependent on the operating system for system calls, all of which may not have been implemented in the SE mode.

--
Nilay

On Thu, 5 Apr 2012, Mohamed h?di Ghaddab wrote:

can youtell me please how did you compiled your code and how did you run it
?

2012/4/5 Nilay Vaish <[email protected]>

On Thu, 5 Apr 2012, kostadinos parasyris wrote:

 I don't believe that the architecture is relative to your fault. I
believe that none of the architectures support the pthread lib in SE mode.


This is not correct. I have executed code that uses pthreads in SE mode
for the x86 architecture.

--
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>




--
Cordialement,
Mohamed h?di GHADDAB

Etudiant M2
Ing?nieur Informatique Sp?cialit? Syst?mes embarqu?s
Laboratoires:
  * Laboratoire CES,?cole nationale d'ing?nieurs de Sfax (ENIS), Tunisie
  * Laboratoire d'Informatique Fondamentale de Lille, Universit? de Lille
1, France
Mobile : +33 (0) 6.43.77.45.02
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to