Path: utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!romp!auschs!awdprime!woan!ron From: ron@woan (Ronald S. Woan) Newsgroups: comp.unix.aix Subject: Re: How to link a program with my own library file? Keywords: Am I missing something? Message-ID: <4090@awdprime.UUCP> Date: 30 Oct 90 17:46:18 GMT References: <26374.272c60f8@kuhub.cc.ukans.edu> Sender: news@awdprime.UUCP Reply-To: woan@peyote.cactus.org Organization: Austin School of Hardknocks Lines: 20 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 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 +