Comment utiliser valgrind ?

Résolu
oupsman Messages postés 319 Statut Membre -  
oupsman Messages postés 319 Statut Membre -
Bonjour,

voici mon probleme :

code :

valgrind nom_fichier.c


Resultat :

valgrind : <nom_fichier.c> : command not found

Comment utiliser la commande valgrind ?

Merci d'avance pour votre aide. ;-)
Configuration: Ubuntu 7.10

1 réponse

  1. ws
     
    En espérant qu'il ne soit pas trop tard, il faut l'utiliser sur un programme deja compilé.

    $ gcc -o prog nom_fichier.c
    $ valgrind ./prog

    Je t'invite à aller regarder le manuel présent sur le site officiel.
    Tu peux commencer par ici: https://www.valgrind.org/docs/manual/quick-start.html

    Bonne chance pour la suite...
    et bonne prog' ;)
    6
    1. oupsman Messages postés 319 Statut Membre 10
       
      merci, j'applique ;-)
      0