[comp.sys.mac.programmer] Think C Library --> MPW .o file?

leipold@eplrx7.uucp (Walt Leipold) (03/13/90)

Think C comes with the RelConv and oConv applications, which convert
object files from other development systems to a form usable with Think
C.  Does anyone out there know of a way to do the reverse, i.e., to
convert a Think C library to use with MPW?

-- 
"As long as you've lit one candle,                         Walt Leipold
you're allowed to curse the darkness."       (leipolw%esvax@dupont.com)
--
--
The UUCP Mailer

siegel@endor.harvard.edu (Rich Siegel) (03/13/90)

In article <1990Mar12.203044.13715@eplrx7.uucp> leipold@eplrx7.UUCP (Walt Leipold) writes:
>Think C comes with the RelConv and oConv applications, which convert
>object files from other development systems to a form usable with Think
>C.  Does anyone out there know of a way to do the reverse, i.e., to
>convert a Think C library to use with MPW?

	You can build a THINK C library, load it into a THINK Pascal 3.0
project, and then build a library from the THINK Pascal project; THINK
Pascal 3.0 uses .O as its library format.

	It's a little roundabout, and you will have to avoid using things
like switch and long multiplication or division, since C generates calls to
builtin runtime routines...

R.



~~~~~~~~~~~~~~~
 Rich Siegel
 Staff Software Developer
 Symantec Corporation, Language Products Group
 Internet: siegel@endor.harvard.edu
 UUCP: ..harvard!endor!siegel

"When someone who makes four hundred and fifty dollars an hour wants to
tell you something for free, it's a good idea to listen."

~~~~~~~~~~~~~~~