X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <4412F764.2CF9B66@compuserve.de> Date: Sat, 11 Mar 2006 17:14:30 +0100 From: Florian Liebig X-Mailer: Mozilla 4.7 [de]C-CCK-MCD CSO 1.0 (Win95; I) X-Accept-Language: de,en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: problem with compilation output References: <44076F99 DOT 69604EE3 AT compuserve DOT de> <46u247FctkmbU2 AT news DOT dfncis DOT de> <440DABF5 DOT 62C32FA1 AT compuserve DOT de> <47ao39FejhiuU1 AT news DOT dfncis DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 27 NNTP-Posting-Host: 1bede99e.news.freenet.de X-Trace: DXC=mdbFQ]_Wk;@Fj7;@R[540MKZSdekToV0BM[TdMSX[V5B?@2c[S AT U77K;EEB8GFg:WO X-Complaints-To: abuse AT freenet DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > It can be done in mostly pure ANSI C. Doing it in C++ is, however, an > entirely different kettle of fish. It's strictly impossible to do it > in completely pure ANSI C, though. A C program is not like Baron > Muenchhausen --- it can't pull itself up out of the swamp by its own > boots. At least some parts of the startup code *have* to be written > in assembly, and you have quite a bit to learn about your CPU and the > internals of a working C program before you'll know what exactly those > parts are. of course, you're right. after studying several years assembly language and cpu internals from books, i'll do that job now. the thing is that i do not really know much about that 32 bit development kit. seems so that I have to learn about it. let me describe it like this : 'new compiler' - 'new luck' :) besides, i''ve done a major update now and things work better. the only thing that really makes headaches do occur is that i do not really know much about djgpp compiler designs. do you know a good faq for me ? let me remember that I have several years of practice, writing assembler and c programs, even medium skills with c++, but nearly all things that I did was designed for 16bit dos or 16bit os-independant. so the c startup things are kind of that 'exec' - function job, hm ? thanks for your time. florian.