Sender: root AT delorie DOT com Message-ID: <38D2862E.4C2C7422@inti.gov.ar> Date: Fri, 17 Mar 2000 16:23:26 -0300 From: salvador Organization: INTI X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.38 i686) X-Accept-Language: es-AR, en, es MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Q: How to use Rhide to make a library? References: <38d25b74 DOT 1175697 AT news3 DOT banet DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com "Peter J. Farley III" wrote: > Hi all, > > I've finally decided to try Rhide, and the first project I'd like to > use it for has an associated library in addition to a normal > executable. I've read much of the Rhide docs, and I did not yet see > any instructions on how to set up a Rhide project for a library (which > is not to say they aren't there). Project|Program Name, put here the name of the output library, example: libmine.a > I did see the answer to almost the question I'm asking, but the answer > just says to look at the Rhide sources for examples. I've done that, > and all I see so far is that the main target is specified as the > library name instead of an executable name. Yes, and it works! ;-) > Is that really all that is required? Yes, any project which target name is a .a will be a library. > (In addition to the usual > directory and other settings that may be required for the library code > to be compiled, of course.) If your project generates a library *and* an executable do it with nested projects, like in the RHIDE project. > Second question: Is it possible to include sub-projects as part of a > larger project file? Of course. > For example, in my case, do I include the > library *project* file name as part of the executable project? Yes, that's used in RHIDE and SETEdit. > Or just the library name itself? If you put the library and you change any of the sources that belongs to that library RHIDE won't recompile the library. But if you include the project of the library RHIDE will check these dependencies too. SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org set AT ieee DOT org set-soft AT bigfoot DOT com Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013