jian@kuhub.cc.ukans.edu (10/30/90)
Here, I would like to ask a simple question about AIX. How can I link a program with my own library file "xxxx.a" when using cc to compile the program? AIX is new to me. I try to port my project from Ultrix to AIX. What should I do in the "Makefile"? What's difference on the "Makefile between Utrix and AIX. Any helps appreciated. Jian Q. Li jian@kuhub.cc.ukans.edu
ron@woan (Ronald S. Woan) (10/31/90)
In article <26374.272c60f8@kuhub.cc.ukans.edu>, jian@kuhub.cc.ukans.edu writes: Jian> How can I link a program with my own library file "xxxx.a" Jian> when using cc to compile the program? AIX is new to me. I try to Jian> port my project from Ultrix to AIX. What should I do in the Jian> "Makefile"? What's difference on the "Makefile between Utrix and Jian> AIX. Any helps appreciated. Try the standard: cc -o <executable name> <various .o files> xxxx.a Not much differences between makes of different systems, unless you use GNU make options... Are you really asking what compiler options to use or something? +-----All Views Expressed Are My Own And Are Not Necessarily Shared By------+ +------------------------------My Employer----------------------------------+ + Ronald S. Woan woan@peyote.cactus.org or woan%austin@iinus1.ibm.com + + other email addresses Prodigy: XTCR74A Compuserve: 73530,2537 +