manes@vger.nsu.edu ((Mark D. Manes), Norfolk State University) (03/09/91)
Greetings, I once again seek net-knowledge. I used to be a MANX C user. I purchased the SAS/C package from SAS Institute. I have a problem. I can certainly work this compiler and linker from the Workbench with ease, but darn if I can figure out how to use blink from the command line. I would like to know how to link a simple 'hello world' type of program. I really feel stupid, as I _never_ had this kind of difficulty understanding MANX's linker. Any help would be appreciated. -mark= +--------+ ================================================== | \/ | Mark D. Manes "Mr. AmigaVision, The 32 bit guy" | /\ \/ | manes@vger.nsu.edu | / | (804) 683-2532 "Make up your own mind! - AMIGA" +--------+ ==================================================
Lee_Robert_Willis@cup.portal.com (03/15/91)
The easiest way to use the linker is to let the compiler create a linker file for you. If you type "lc -L hello.c", after compilation the lc command will create link the file. In addition to linking, it creates a new file called "hello.lnk" which is the BLINK linker command. If you want to link "hello.c" again, type "BLINK with hello.lnk" I usually use this method to initially set up the linker, then I just edit the ".lnk" file to add more files as I make them. Hope this helps. Lee