Date: Wed, 20 Jan 1999 09:14:00 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Paul Sneddon cc: djgpp AT delorie DOT com Subject: Re: Operating System Programming In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Tue, 19 Jan 1999, Paul Sneddon wrote: > My problem is that I want to complie my code without any of the unneeded > library code which djgpp includes in the output file. If I use > the -nostdlib option with the compiler ld compains that it can't find the > program entry point. The entry point is in crt0.S, and -nostdlib prevents the linker from linking in crt0.o, which is why it complains. You can create your own startup code, put the entry point there, and instruct the linker to link it in.