From: pjfarley AT banet DOT net (Peter J. Farley III) Newsgroups: comp.os.msdos.djgpp Subject: Re: Q: How to use Rhide to make a library? Date: Sat, 18 Mar 2000 19:44:09 GMT Message-ID: <38d3dc17.4388899@news3.banet.net> References: <38d25b74 DOT 1175697 AT news3 DOT banet DOT net> <38D2862E DOT 4C2C7422 AT inti DOT gov DOT ar> X-Newsreader: Forte Free Agent 1.21/32.243 NNTP-Posting-Host: 32.100.84.48 X-Trace: 18 Mar 2000 19:37:29 GMT, 32.100.84.48 Organization: Global Network Services - Remote Access Mail & News Services Lines: 69 X-Complaints-To: abuse AT prserv DOT net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Muchas gracias, Salvador. That answers my questions precisely. salvador wrote: >"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 > > > ---------------------------------------------------- Peter J. Farley III (pjfarley AT nospam DOT dorsai DOT org OR pjfarley AT nospam DOT banet DOT net)