[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [coldsync-hackers] Fwd: potential method for automating conduit generation



Just out of curiousity, what are the palm apps you're interested in getting
conduits for?



> -----Original Message-----
> From: owner-coldsync-hackers@lusars.net
> [mailto:owner-coldsync-hackers@lusars.net]On Behalf Of Adam Wainwright
> Sent: Sunday, July 14, 2002 4:39 AM
> To: coldsync-hackers@lusars.net
> Subject: Re: [coldsync-hackers] Fwd: potential method for automating
> conduit generation
>
>
> This area is one which is driving me nuts as I would like to
> start writing
> conduits for some of my palm apps for LInux but I cannot get the data
> formats!
>
> The only way I can think of is to have multiple databases
> with a single record
> in and modify the record and then compare the records.  Very
> long-winded!
>
> Just my tuppence-worth.
>
> Adam
>
> On Sunday 14 July 2002 7:34 am, Andrew Arensburger wrote:
> > This was sent to me personally, but it seems like a good idea,
> > so I thought I'd share (forwarded with permission):
> >
> > ----- Forwarded message from Charles Lepple <clepple@ghz.cc> -----
> >
> > Date: Sat, 13 Jul 2002 08:20:46 -0400
> > Subject: potential method for automating conduit generation
> > From: Charles Lepple <clepple@ghz.cc>
> >
> > A little while back, I ran across a nice open-source gas
> mileage tracker
> > that supports multiple cars (palmfuellog on SourceForge). Like most
> > open-source Palm apps, it doesn't have a conduit. Although
> the data is
> > stored in a relatively simple format, I was looking for a
> way to automate
> > the conduit generation process.
> >
> > Since most Palm apps use a struct for formatting records, I
> ran c2ph on
> > the source code to try and extract the record stucture into
> a Perl object.
> >   The way I understand it, c2ph just parses the debugging
> info placed in
> > the assembly code from the compiler (in order to generate the object
> > definition), but it also appears to be choking on the link
> stage (which I
> > didn't figure would be necessary).
> >
> > Now, in this case, I could probably write the object myself
> with a little
> > review of Perl OOP... however, I thought this would be a
> neat trick, if
> > only it worked...
> >
> > Anyway, I'm passing this along in case you want to try
> making it work. The
> > full command line that got me the closest:
> >
> > c2ph -d -t CC=m68k-palmos-gcc DEFINES="-I `pwd`" FuelLog.c
> >
> > This is on Mac OS X, so I don't know if that's a potential source of
> > weirdness. (Confession: I don't actually use coldsync
> anymore-- I only
> > have USB on the G4, and Palm came out with a native OS X
> version of the
> > desktop software, so I just use the p5 modules to yank data out of
> > backed-up PDB files.)
>
> --
> No animal should ever jump on the dining room furniture unless
> absolutely certain he can hold his own in conversation.
> 		-- Fran Lebowitz
>
>
> --
> This message was sent through the coldsync-hackers mailing
> list.  To remove
> yourself from this mailing list, send a message to
> majordomo@thedotin.net
> with the words "unsubscribe coldsync-hackers" in the message
> body.  For more
> information on Coldsync, send mail to
> coldsync-hackers-owner@thedotin.net.


-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.