CompuServe Messages

Lattice Front-end tools?

    19-Mar-93 19:25:18
Fm: Doug Walker 71165,2274
To: Marlene Zenker/SYSOP 76701,250
With 6.0, it's now SC and SLINK instead of LC and BLINK. Also, you don't need to leard SLINK at all. The SC command does it all for you – invokes the compiler, invokes the assembler, invokes the linker. If you get that UCC command from listings, it'll take UNIX options and do it. To compile and link "hello.c", you type sc link hello.c As far as options files go, we have never REQUIRED an options file – it has been available for convenience. I find it very convenient to keep most of the compiler options in the file, maintain them with the SCOPTS utility, and invoke the SC command on the individual files using SMAKE (the successor to the LMK make utility) with no options. When it comes time to link, I use the SC command again with the LINK option, and simply feed it all the .o files and libraries. 6.0 SCOPTS allows you to add options to the file by typing them on the command line, too – you don't have to use the mouse if you don't want to. Think of the file as changing your compiler's defaults. I think you'll find SC to be much nicer than the old LC. The options are English words, so they are easier to remember; the SCOPTS program has online help for each option, just put the mouse over the option's button and hit HELP; most options have a positive and a negative version, using the prefix NOxxx for the negative version, and there are NO TOGGLES like there were on the LC command. –Doug