Mail Archives: djgpp/1996/05/17/05:43:56
> A.Appleyard wrote wanting djgpp's linker to be able to say which entry
>points are (1) only used within the same file, so he can declare them
>`static', (2) not used at all, so he can delete them. ...
>
`Wanting' is a nice word. I personally want Windows and OS/2 to provide
DPMI 1.0 services. BTW, you misunderstand the concept of DPMI. You are always
a slave to the OS you're running under. THERE IS NO WAY TO SUPPRESS THE DPMI
THAT OS GIVES YOU.
Now the linker: a mapped link should solve most of your problems. Not sure
about the switches, but something like this should do:
gcc -Xlinker -Map ...
To be sure, check ld docs and gcc docs on passing options to ld.
Martynas
- Raw text -