Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Sistemi operativi I > compilare programma QEMU
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
SanJuanWolf89
.consigliere.

User info:
Registered: Jun 2010
Posts: 100 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 7:05:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
compilare programma QEMU

ragazzi qlkn mi puo dare tutti i comandi x poter compilare un programma scritto con vim in minix??specificando bene come, dove e in che formato salvare il codice scritto (so che agli occhi di molti è una cagata ma questo è il mio primo approccioa QEMU e minix)

23-03-2011 09:58
Click Here to See the Profile for SanJuanWolf89 Click here to Send SanJuanWolf89 a Private Message Find more posts by SanJuanWolf89 Add SanJuanWolf89 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zandrek
.fedelissimo.

User info:
Registered: Oct 2003
Posts: 59 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 21:43:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

code:
cc -uscita prova.c

in cui il file che hai scritto è prova.c e il file "eseguibile" è uscita e per farlo partire
code:
./uscita

Last edited by zandrek on 23-03-2011 at 10:42

23-03-2011 10:40
Click Here to See the Profile for zandrek Click here to Send zandrek a Private Message Find more posts by zandrek Add zandrek to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
SanJuanWolf89
.consigliere.

User info:
Registered: Jun 2010
Posts: 100 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 7:05:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma questo x compilare un programma scritto in C??

23-03-2011 11:21
Click Here to See the Profile for SanJuanWolf89 Click here to Send SanJuanWolf89 a Private Message Find more posts by SanJuanWolf89 Add SanJuanWolf89 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zandrek
.fedelissimo.

User info:
Registered: Oct 2003
Posts: 59 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 21:43:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

per compilare assembly

code:
cc -o prova sorgente.s

per tradurre da assembly a C
code:
cc S sorgente.c
e cosi ti crea un file chiamato sorgente.s

23-03-2011 15:07
Click Here to See the Profile for zandrek Click here to Send zandrek a Private Message Find more posts by zandrek Add zandrek to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
SanJuanWolf89
.consigliere.

User info:
Registered: Jun 2010
Posts: 100 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 7:05:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

guarda t faccio un esmpio :


- Per ogni utente del sistema specificare qual è il suo file di dimensioni maggiori

#!/bin/sh
# Per ogni utente trovare il suo file di dimensione maggiore
for UID in $(cut /etc/passwd -d : -f 3 | sort -n | uniq); do
FILE=$(find / -type f -user $UID | xargs du | sort -nr | head -1)
if [ "$FILE" != "" ]; then
DIM=$(echo "$FILE" | cut -f 1)
NOME=$(echo "$FILE" | cut -f 2)
echo "UID: $UID => File: $NOME ($DIM KB)"
else
echo "UID: $UID => Nessun file trovato"
fi
done


x scrivere questo cosa devo fare e x eseguirlo..xk sulle slide proprio non si capisce un cazzo prima fa il primo esempio in assembler poi in C poi su dsy trovo ste robe..sinceramente non so piu k fare:S

23-03-2011 15:33
Click Here to See the Profile for SanJuanWolf89 Click here to Send SanJuanWolf89 a Private Message Find more posts by SanJuanWolf89 Add SanJuanWolf89 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zandrek
.fedelissimo.

User info:
Registered: Oct 2003
Posts: 59 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 21:43:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

da

code:
#!/bin/sh
fino a
code:
done
(ultima riga) lo scrivi all'interno di un file (esempio mioscript.sh)

poi rendi eseguibile il tuo script
code:
chmod +x mioscript.sh

poi lo fai partire con
code:
./mioscript.sh


però guarda che quelli che abbiamo fatto stamattina erano cavolate rispetto a quello che hai postato tu, non so se arriviamo a quel livello, qualcuno può confermare o smentire? grazie

Last edited by zandrek on 23-03-2011 at 16:38

23-03-2011 16:36
Click Here to See the Profile for zandrek Click here to Send zandrek a Private Message Find more posts by zandrek Add zandrek to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
SanJuanWolf89
.consigliere.

User info:
Registered: Jun 2010
Posts: 100 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 7:05:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

guarda in teoria quelle dovrebbero essere proprio tratte dall'esame cn Monga..infatti volevo portarmi avanti x nn trovarmi a giugno sprovveduto..cmq sei stato molto chiaro grazie mille un ultima cosa:
lo script lo scrivo in VIm sempre all'interno d Minix??e lo salvo .sh??

23-03-2011 19:30
Click Here to See the Profile for SanJuanWolf89 Click here to Send SanJuanWolf89 a Private Message Find more posts by SanJuanWolf89 Add SanJuanWolf89 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zandrek
.fedelissimo.

User info:
Registered: Oct 2003
Posts: 59 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 21:43:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

si lo script va scritto in minix ma se odi vi o vim puoi usare nano.... per la storia dell'esame non sono sicuro che quest'anno sia uguale...da quel che ho capito meno shellscript e più kernel però se fosse più shell va benissimo....

23-03-2011 21:14
Click Here to See the Profile for zandrek Click here to Send zandrek a Private Message Find more posts by zandrek Add zandrek to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
SanJuanWolf89
.consigliere.

User info:
Registered: Jun 2010
Posts: 100 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 7:05:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

guarda in teoria l'esame dovrebbe essere:
-partizionamento
-shell (voto fino a 24)
-kernel (oltre 24)
cmq grazie mille davvero sei stato mooolto chiaro:)

24-03-2011 10:09
Click Here to See the Profile for SanJuanWolf89 Click here to Send SanJuanWolf89 a Private Message Find more posts by SanJuanWolf89 Add SanJuanWolf89 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zandrek
.fedelissimo.

User info:
Registered: Oct 2003
Posts: 59 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 21:43:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

figurati grazie a te dei chiarimenti...
ps. ma non frequenti tu? magari ci conosciamo senza nemmeno saperlo....

24-03-2011 17:31
Click Here to See the Profile for zandrek Click here to Send zandrek a Private Message Find more posts by zandrek Add zandrek to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
SanJuanWolf89
.consigliere.

User info:
Registered: Jun 2010
Posts: 100 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 7:05:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

mi chiamo marcello sn dell' 89 (terzo anno)..frequento ma nn sempre quindi m devo tenere aggiornato :D

26-03-2011 13:31
Click Here to See the Profile for SanJuanWolf89 Click here to Send SanJuanWolf89 a Private Message Find more posts by SanJuanWolf89 Add SanJuanWolf89 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 18:28.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.058 seconds (67.67% PHP - 32.33% MySQL) con 25 query.