From: "Peter Ketting" Newsgroups: comp.os.msdos.djgpp Subject: [Rhide 1.5] Deleting of .o files at build time Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: NNTP-Posting-Host: 12.226.24.7 X-Complaints-To: abuse AT attbi DOT com X-Trace: sccrnsc01 1042828501 12.226.24.7 (Fri, 17 Jan 2003 18:35:01 GMT) NNTP-Posting-Date: Fri, 17 Jan 2003 18:35:01 GMT Organization: AT&T Broadband Date: Fri, 17 Jan 2003 18:35:01 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com All, So I have built an object file with some helpfull functions. Ofcourse I would not want to have to re-compile the same source whenever I use these functions, so I add the .o file to my project. Now everytime I compile the code that uses some of these functions, the compiler seems to delete the .o file and complains that it cannot find the file. How do I add a .o file to my project and let it link with the resulting code? I thought it was a simple matter of including the .o file in the project but obviously I was wrong. Cheers, Peter