Mail Archives: djgpp/2000/03/18/15:25:58
Muchas gracias, Salvador. That answers my questions precisely.
salvador <salvador AT inti DOT gov DOT ar> 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)
- Raw text -