Date: Sat, 7 Feb 1998 18:12:24 -0800 (PST) Message-Id: <199802080212.SAA03535@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "Swipnet" , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Two questions Precedence: bulk At 02:03 2/7/1998 +0100, Swipnet wrote: >Hi.. I have two questions: >1) Is there any equivalence to the Get/SetVector funtions in DJGPP.. ie >if I want > to replace an interrupt, how to I do it?? Depending on what kind of interrupt you want to hook and how, see sections 18.8 through 18.11 of the DJGPP FAQ. >2) How to I make my own library (.a file) from scratch?.. I think someone answered this already, but compile each source file into its own object file using the `-c' option to GCC. Then use `ar' to create a library. Example: gcc -c foo1.c gcc -c foo2.c ... ar qcs libfoo.a foo1.o foo2.o ... `ar' has many more options; see its docs with those for the rest of the binutils. Nate Eldredge eldredge AT ap DOT net