home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!news.Vanderbilt.Edu!news
- From: BLOOMDA@ctrvax.vanderbilt.edu (_creative_output_)
- Subject: Re: Porting simple UNIX programs to the MAC??
- In-Reply-To: graham@convex.com's message of Fri, 11 Dec 1992 16:15:44 GMT
- Message-ID: <1992Dec12.003844.15706@news.vanderbilt.edu>
- Sender: news@news.vanderbilt.edu
- Nntp-Posting-Host: ctrvax.vanderbilt.edu
- Organization: Camp Vanderbilt Vision Research Center
- References: <1992Dec11.161544.12668@news.eng.convex.com>
- Date: Sat, 12 Dec 1992 00:38:44 GMT
- X-News-Reader: VMS NEWS 1.21
- Lines: 12
-
- In <1992Dec11.161544.12668@news.eng.convex.com> graham@convex.com writes:
-
- > I have has a MAC for a while and have ThinkC 4. I have just started trying
- > to port simple UNIX programs to the MAC. How does one port programs that
- > need command line arguments? NOTE_ I am running System 6.0.7.
-
- look in console.c in your TC4 package. I think that's a hint. I remember
- in the OLD days (version 1? 2?) there was a simple way to compile your program
- so that it ran inside a 'console' window, and accepted command line args.
- What I just saw in console.c looks like some of the stuff to do this.
-
- cheers - dave bloom
-