18.08.2013 Views

Fondamenti di Informatica Librerie di funzioni - Robotica

Fondamenti di Informatica Librerie di funzioni - Robotica

Fondamenti di Informatica Librerie di funzioni - Robotica

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Il comando ar: esempio<br />

• programma prog (prog.c, che richiede l’uso <strong>di</strong> due <strong>funzioni</strong><br />

definite nei file func1. e func2.c<br />

• si assume che i singoli file oggetto func1.o e func2.o siano<br />

stati compilati<br />

comando per la generazione dell’eseguibile:<br />

$ gcc -o prog prog.c func1.o func2.o<br />

Tullio Facchinetti <strong>Fondamenti</strong> <strong>di</strong> <strong>Informatica</strong> <strong>Librerie</strong> <strong>di</strong> <strong>funzioni</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!