Comment puis-je me force à faire/GCC pour me montrer les commandes?

Je suis en train de déboguer un problème de compilation, mais je ne peux pas sembler obtenir GCC (ou peut-être c'est de faire??) pour me montrer la véritable compilateur et l'éditeur de liens commandes en cours d'exécution.

Ici est le résultat que je vois:

  CCLD   libvirt_parthelper
libvirt_parthelper-parthelper.o: In function `main':
/root/qemu-build/libvirt-0.9.0/src/storage/parthelper.c:102: undefined reference to `ped_device_get'
/root/qemu-build/libvirt-0.9.0/src/storage/parthelper.c:116: undefined reference to `ped_disk_new'
/root/qemu-build/libvirt-0.9.0/src/storage/parthelper.c:122: undefined reference to `ped_disk_next_partition'
/root/qemu-build/libvirt-0.9.0/src/storage/parthelper.c:172: undefined reference to `ped_disk_next_partition'
/root/qemu-build/libvirt-0.9.0/src/storage/parthelper.c:172: undefined reference to `ped_disk_next_partition'
collect2: ld returned 1 exit status
make[3]: *** [libvirt_parthelper] Error 1

Ce que je veux voir devrait être similaire à ceci:

$ make
gcc -Wall   -c -o main.o main.c
gcc -Wall   -c -o hello_fn.o hello_fn.c
gcc   main.o hello_fn.o   -o main

Avis comment cet exemple a le complet gcc commande affiche. L'exemple ci-dessus affiche simplement des choses comme "CCLD libvirt_parthelper". Je ne suis pas sûr de la façon de contrôler ce comportement.

InformationsquelleAutor hernejj | 2011-04-28