broadblues wrote:You can just copy over the libauto.a from the the existing SDK.
WRT to some missing xml files etc libauto.a does not and never did include all the libraries it was possible to open.
That's the reason I decided to create my own libauto.a.
It's generally considered deprecated these days as there is insuffiecient control of library versioning etc.
Said deprecation might be more convincing if some SDK documentation (SDK:Documentation/Developer Info/General/Migration Guide.pdf) didn't state that it's the preferred method and most of the examples in SDK:Examples/ didn't use libauto (-lauto). I personally find labauto.a useful for writing personal command utilities and testing new or modified code. However, it's probably not a good idea to publicly release source code that uses libauto.a (-lauto).
As far as library versioning goes, if I list all the LIBS: & Kickstart library versions, they are so inconsistant that I'm unsure what versions should be required. If you are going to release a program that will be specified to work, for example, with OS 4.1update6 and above; you will need a copy of that release to determine what version of each library to require in your program. I think all the library versions in each release should be the same and they should all have the versions bumped for a release (even those that are unchanged). I know that runs against the traditional rules for version changes, but it would simplify version requirements for a program.
appliication.library doesn't have a "main" interface, you must open version 2 of the 'application' or 'prefs' interfaces. This is perfect example of why libauto is deprecated.
As long as the XML files are kept up-to-date (application.library appears to be) my self created libauto works for me. I only mentioned that some libraries have no "main" interface is because my original makefile for compiling a libauto only compiled ..main.c and ..base.c files and I had to update the makefile.