From: "abacuc" Newsgroups: comp.os.msdos.djgpp Subject: library Date: Wed, 1 Mar 2000 18:23:19 +0100 Organization: Tiscali Spa Lines: 29 Message-ID: <89jkdv$oef$1@pegasus.tiscalinet.it> NNTP-Posting-Host: rm2-743.tiscalinet.it X-Trace: pegasus.tiscalinet.it 951932159 25039 62.11.126.39 (1 Mar 2000 17:35:59 GMT) X-Complaints-To: newsadmin AT tiscali DOT it NNTP-Posting-Date: 1 Mar 2000 17:35:59 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I would like to know how can I create a library. For example: I've written a file.c like this: int function1(int a) {....} int function2(int b) {....} and i call it "library.c". I create a file "library.h" like this: #ifndef __include_library_h_ #define__include_library_h_ int function1(int a); int function2(int b); #endif Now I want how can i create a library.a file (I putting in c:\djgpp\lib folder while library.h in include folder)....so i can include it in my file like: #include thanks p.s. sorry for my mistakes but i'm italian!