Mail Archives: djgpp/1995/12/11/19:39:07
"A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk> writes:
> In my emacs that I am writing in Gnu C++, there is a fair length of program
> text which is obeyed once on starting and not again. I can't call it as a
> child process, as if I did the child would need to know many subroutine entry
> addresses in the parent and to write to arrays in the parent. To save space,
> is there any way I can get a particular subroutine X() to be put right at the
> top end of the fully assembled program, so that after running it I can (how?)
> move the start-of-free-store pointer back down to release the space occupied
> by the code of X()?
Is the portion of the initialization code _really_ large enough to
warrant such measures?
Are you sure you're stripping the COFF of symbols before converting it
to an EXE? (link with -s or run coff2exe on the COFF)?
Erik Max Francis, &tSftDotIotE && uuwest!alcyone!max, max AT alcyone DOT darkside DOT com
San Jose, California, U.S.A. && 37 20 07 N 121 53 38 W && the 4th R is respect
H.3`S,3,P,3$S,#$Q,C`Q,3,P,3$S,#$Q,3`Q,3,P,C$Q,#(Q.#`-"C`- && 1love && folasade
_Omnia quia sunt, lumina sunt._ && GIGO Omega Psi && http://www.spies.com/max/
"The Creator Raven looked at Man and was . . . surprised to find that this
strange new being was so much like himself." -- Eskimo creation myth
- Raw text -