delorie.com/archives/browse.cgi | search |
From: | "Paul Sneddon" <sneddon AT clara DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Operating System Programming |
Lines: | 11 |
X-Newsreader: | Microsoft Outlook Express 4.72.3110.1 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
Message-ID: | <yJ5p2.804$N5.5809@nnrp2.clara.net> |
Date: | Tue, 19 Jan 1999 20:15:26 GMT |
NNTP-Posting-Host: | 195.8.78.203 |
X-Complaints-To: | abuse AT clara DOT net |
X-Trace: | nnrp2.clara.net 916776926 195.8.78.203 (Tue, 19 Jan 1999 20:15:26 BST) |
NNTP-Posting-Date: | Tue, 19 Jan 1999 20:15:26 BST |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
I am planning to use DJGPP to create a small operating system mostly yo aid me in my study of operating system concepts. I have already decided to use elf as the file format so have rebuild Bintools to handle elf files. 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. How can I create executables which only contain the code I have written and not any other code (except the supporting C stuff) as this is very important when creating the kernel etc.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |