Mail Archives: djgpp/2006/03/11/11:15:37
> 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.
- Raw text -