Jeff Ishaq writes:
> I.e., is there a tool that takes a .lib as input and craps out a .a file for
> gcc?

Conceivable, since both compilers probably use the same calling conventions.
(Calling conventions are (of course) only enforced for systrap functions,
but for simplicity CW probably uses the same one for normal functions, and
I know GCC does.)  However, since the CW library format is proprietary (?),
this would have to come from Metrowerks, and it seems unlikely.

> Or does the static library need to be built on a gcc compiler for this
> to happen?

This would be the sane way to do it.  If the library is just simple glue to
the shared library, this should be straightforward.  If it contains things
like sample PalmOS callbacks, then there are a few nastinesses at the
moment (which will go away soon... the conference is only a few days away!).

There's the same issue with IBM's DB2Everywhere library; see last
month's "Compiling applications using IBM's DB2Everywhere" thread on
pilot.programmer.gcc.

    John

Reply via email to