X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Andrew Cottrell Newsgroups: comp.os.msdos.djgpp Subject: Re: compiling DJGPP source under WindowsXP Date: Fri, 21 Nov 2003 07:20:30 +1100 Organization: HOME Message-ID: <148qrv83joll11bovj5klfp9pjcj2u1ne2@4ax.com> References: X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 29 NNTP-Posting-Host: 202.154.115.197 X-Trace: 1069359505 news.syd.swiftdsl.com.au 4421 202.154.115.197 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >I'm intersted if it is possible to compile DJGPP source on WindowsXP/2000 >platform with compilers such as Microsoft C++ 6.0, or some other compiler >wich has IDE/debugging support. The reason is that on our compiler course we >have to analyze source structure of GCC compiler and especially its >optimizing techniques. The short answer is you cannot use MS VC++ to complie GNU Compiler Collection (GCC). The long answer is:- 1) GCC and re-compile itself 2) Full source code for all of the GCC and other packages requried to compile GCC are available. 3) If you use the DJGPP 2.04 WIP release then it will be compatibale with 2K/XP. See http://clio.rice.edu/djgpp/win2k/main_204.htm for the latest test build from earlier this week. 4) If you want an IDE for DJGPP then have a look at RHIDE or one of the older Windows based IDE's that are difficult to find. 5) For analysing the source go and grab RedHat's Source Navigator for Windows. 6) For obtainign info on the optimizing techniques goto the GCC web page http://gcc.gnu.org/ and check out the docs and links. Also search the web. 7) IMHO you will wastea allot of time in using a debugger to investigate the optimizations as they will vary depending on the compiler options used and the code used. Andrew