Article View: alt.os.linux.mandrake
Article #469Re: "Vi" e "Emacs"
From: Bodo
Date: Fri, 23 Nov 2001 21:21
Date: Fri, 23 Nov 2001 21:21
25 lines
2524 bytes
2524 bytes
On Fri, 23 Nov 2001 21:12:21 GMT, Xabaras wrote: >Scusa l'ignoranza ma qual � la differenza tra le due sintassi (intendo per $ >c++ file.cpp -o file e $ c++ -c file.cpp -o file.o) -c sta per compile only, cioe' non chiamare anche il linker per creare un eseguibile. >Cosa vuol dire creare un oggetto??Riguarda forse la programmazione ad >oggetti nel c++??Scusa se ti annoio con le mie domande da neofita!!E grazie No, semplicemente creare un file binario (file.o) che potra' poi essere linkato alle librerie per ottenerne un eseguibile. Oppure creare piu' file oggetto da he potranno essere linkati insieme a formare un eseguibile. Se hai un solo file da compilare questa cosa non serve. Pero' se tu ne avessi molti diventerebbe molto utile. Per esempio se hai 20 file sorgente con cui creare un solo eseguibile, e' comodo compilare 19 di questi e crearne 19 file oggetto. Poi lavori su quello rimasto e quando devi testare l'eseguibile risultante compili solo quello e infine linki insieme tutti e 20 gli oggetti. Va da se' che cosi' si risparmia parecchio tempo. -- Enrico Bodo - PhD student University of Rome "La Sapienza" Department of Chemistry
Technical Details
Message-ID:
<slrn9vtf6j.d95.bodo@theory7.chem.uniroma1.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!bofh.it!newsfeed.nettuno.it!newsfeed.cineca.it!news.caspur.it!bodoReferences:
<WlyL7.160629$sq5.7574274@news.infostrada.it> <slrn9vtcti.d6b.bodo@theory7.chem.uniroma1.it> <VYyL7.161060$sq5.7597785@news.infostrada.it>Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: 113a50,481c57bfd3d62fff X-Google-Attributes: gid113a50,public X-Google-Thread: 111e06,481c57bfd3d62fff X-Google-Attributes: gid111e06,public X-Google-Thread: f8a83,481c57bfd3d62fff X-Google-Attributes: gidf8a83,public X-Google-ArrivalTime: 2001-11-23 13:21:28 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!bofh.it!newsfeed.nettuno.it!newsfeed.cineca.it!news.caspur.it!bodo From: bodo@caspur.it (Bodo) Newsgroups: alt.os.linux.mandrake,free.it.linux,it.comp.os.linux.iniziare Subject: Re: "Vi" e "Emacs" Date: 23 Nov 2001 21:21:26 GMT Organization: CASPUR - Inter-University Computing Consortium Lines: 26 Message-ID: <slrn9vtf6j.d95.bodo@theory7.chem.uniroma1.it> References: <WlyL7.160629$sq5.7574274@news.infostrada.it> <slrn9vtcti.d6b.bodo@theory7.chem.uniroma1.it> <VYyL7.161060$sq5.7597785@news.infostrada.it> Reply-To: bodo@caspur.it NNTP-Posting-Host: theory7.chem.uniroma1.it Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: canarie.caspur.it 1006550486 21833 151.100.52.14 (23 Nov 2001 21:21:26 GMT) X-Complaints-To: admnir@caspur.it NNTP-Posting-Date: 23 Nov 2001 21:21:26 GMT User-Agent: slrn/0.9.6.4 (Linux)