Article View: comp.sys.amiga.tech
Article #4746Re: Lattice's _tinymain
From: Fabbian G. Dufoe
Date: Tue, 07 Aug 1990 06:37
Date: Tue, 07 Aug 1990 06:37
25 lines
1469 bytes
1469 bytes
From article <1990Aug5.233606.13160@ux1.cso.uiuc.edu>, by ja26612@uxa.cso.uiuc.edu (Pogo Joe):
> Hi. I was wondering if anyone out there has successfully used _tinymain to
> replace _main to avoid opening a window on the workbench screen for stdin/out.
> I tried the DEFINE _main=_tinymain in my BLINK command line, but it says
> that _main is defined twice. I got the information from page G32 in the man.
It's a subtle difference, but you need to use double underscores:
DEFINE __main=__tinymain
No, it isn't documented that way. There's a typo in the manual. I had to
write Lattice about it. My manual doesn't say anything about it on page G32.
In my manual the erroneous documentation is on page L264. I have version 5.05.
Another way to achieve the same result is to recompile main with the
preprocessor symbol "TINY" defined. The source is in umain.c in the source
directory of disk 4 of your original distribution.
--Fabbian Dufoe
350 Ling-A-Mor Terrace South
St. Petersburg, Florida 33705
813-823-2350
UUCP: fgd3@jc3b21.UUCP
...uunet!pdn!jc3b21!fgd3
Technical Details
Message-ID:
<980@jc3b21.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!pdn!palan!jc3b21!fgd3References:
<1990Aug5.233606.13160@ux1.cso.uiuc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!pdn!palan!jc3b21!fgd3 From: fgd3@jc3b21.UUCP (Fabbian G. Dufoe) Newsgroups: comp.sys.amiga.tech Subject: Re: Lattice's _tinymain Message-ID: <980@jc3b21.UUCP> Date: 7 Aug 90 06:37:56 GMT References: <1990Aug5.233606.13160@ux1.cso.uiuc.edu> Distribution: comp Organization: St. Petersburg Jr. College, FL Lines: 25