The format of CW .lib files won't be recognized by gcc, Why can't you compile that .lib (sources) under gcc too? Don't have the source? then you have to wrap those .lib calls inside a shared library or so and then call those from GCC. But that is assuming your .lib doesn't use globals or static local data.
Also that .lib better be open source, otherwise, you would be making a non-open-source product by modifying of an open source one :-( "Shay" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi, > i took an open source code that designed for GCC and i tried to complie it > with CodeWarrior. > i can't make it. > > 1) i included the path for the SDK 3.1 files. > 2) i had to give the correct path for the include of SysAll.h & UIAll.h > 3) i have an error of a missing file "SysAll.h.sim.mch" which i don't have > in my system - so i tried to include a different file "PalmOS.h" (i read > somewhere that this file replaced the one before. > 4) now i have a error - illegal use of precompiled header : "typedef Long > (*ProcPtr)() " > > i just can't seem to get it work. > CAN'T i get a code for GCC and compile it with CW ??? > > another question - can a LIB that complied with CW can be linked with GCC ? > > Thanks, > Shay > > > > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
