home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!slacvm!toge
- From: TOGE@SLACVM.SLAC.STANFORD.EDU (Nobukazu Toge)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Fortran callable rountines in THINK C
- Message-ID: <92245.175858TOGE@SLACVM.SLAC.STANFORD.EDU>
- Date: 2 Sep 92 01:58:57 GMT
- References: <1992Sep1.113040.943@galaxy.gov.bc.ca>
- Organization: Stanford Linear Accelerator Center
- Lines: 18
-
- Carl -
-
- LS Fortran knows to interface with MPW C, Pascal and so on. See Appendix F
- (p.375) of LSF 3.0 manual. So if you convert your ThC libraries into MPW
- you will be all set. I understand that MPW .o -> ThC lib conversion is
- possible, but I'm not sure about the other way around [which is what you
- need]. Check out the ThC manual.
-
- If it turns out not so straightforward you may consider porting
- your Th C source files and recompile them with MPW C. The mac .h files
- on Th C v.5.0.x are very similar to (or identical to) MPW interfaces.
- Except,if you are accessing low memory globals by using LoMem.h in the
- {Think #includes} folder, you should modify them to use SysEqu.h. Otherwise
- strange errors will happen on MPW. Another thing is A4/A5 world stuff, but
- that probably is a non-issue unless you are writing code resources, not
- ordinary library routines.
-
- - Nobu Toge (ex-SLAC, now-KEK. My opinions only).
-