Pumpkin, Inc.

Pumpkin User Forums

Libraries

If you can't make Salvo do what you want it to do, post it here.

Libraries

Postby luben » Wed Dec 20, 2000 7:51 am

Hello,

Just for curiosity I'm asking what is the way to compile the libraries. If one day I become owner of the full version I should meet this problem. In the manual there is no one word about this, or more exactly - few words.

What I see is that it's impossible to do such thing in MPLAB (compile to LIB). I have HiTech C and I should go in DOS window and then should make the project.

In the manual I saw a big list of files, that are the real source of Salvo (page 267)and unfortunately don't exist in demo :-( So, the compiling of the library should include all these files, right? Just asking, because in the manual there is no one item, explaing how to do this. And I should set the cofiguration in the salvocfg.h file.

Regards
Luben

luben
 
Posts: 324
Joined: Sun Nov 19, 2000 12:00 am
Location: Sofia, Bulgaria

Re: Libraries

Postby Salvo Tech Support » Wed Dec 20, 2000 11:18 am

Hi Luben.

Salvo (freeware) libraries are currently compiled in HPDPIC. We will include the .prj (HPDPIC project) files for the freeware libraries in the full version of v2.2 for those users who would like an example of how to compile libraries.

As mentioned in the User Manual's tutorial chapter, building and using libraries is only recommended for advanced users and only in certain circumstances.

We try to steer users of the full version away from building libraries. That's because
it's very easy to change salvocfg.h, recompile your project and forget to rebuild the Salvo library you're linking to. That can lead to very subtle errors.

In-house at Pumpkin, e.g. on a 450MHz P-III, it takes less than 20 seconds to build a complete Salvo application with all source files listed as nodes in the application, i.e. without any Salvo libraries. This is true for both MPLAB and HPDPIC projects. We prefer this method (re-compiling all Salvo source code each time) because it guarantees that all the *.c files are compiled with the same salvocfg.h.

Regards,

--------
Salvo Technical Support
Please request all tech support through the Forums.
Salvo Tech Support
 
Posts: 173
Joined: Sun Nov 19, 2000 12:00 am


Return to Coding

Who is online

Users browsing this forum: No registered users and 3 guests

cron