home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19698 < prev    next >
Encoding:
Text File  |  1992-12-11  |  1.2 KB  |  27 lines

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