[comp.sys.amiga.programmer] Small code

hawk@pnet01.cts.com (John Anderson) (03/11/91)

  Could someone repost how to get small code when compiling with SAS/C 5.10? 
Thanks.

forgeas@swinjm.UUCP (Jean-Michel Forgeas) (03/13/91)

In article <7939@crash.cts.com>, John Anderson writes:

>   Could someone repost how to get small code when compiling with SAS/C 5.10?
> Thanks.

- never use c.o (Commodore Amiga provided some startup.obj on a Fish
disk into a drawer named NewStartups if I remember, or ask to CATS
for the new set of startups)
- use the -v option
- link with amiga.lib before lcnb.lib

With this I always find into my pgms only what i put into them.
Here are the options I'm using most of the time:
    lc -s -b0 -ccstq -v -Hinclude:headers

Best regards,
--
                                     \___/
Jean-Michel Forgeas                   \-/
cbmvax!cbmehq!cbmfra!swinjm!forgeas    |    The Software Winery
                                      -^-
                           And, where is the universe ?