#-md compiler toggle
3 messages in this thread
Mike:
I thought I should tell you of a slight problem. I did as you said and
compiled getfile.c out of the 13 modules comprising Comm 1.34 with the -md
switch. By thunder, while this takes care of the uprising of my linker and
allows for slick makefiles, the program hangs when attempting up or
downloads. So I compiled the whole shooting match with the -md toggle.
The program allows no up or downloads. I take the same code, recompile
without the -md, let the linker yell its head off, and all is fine. I can
up and download with no trouble. No more -md switch for this duck!
Regards Tom
Um, just -md? In that case, what libraries are you linking with? We only
provide small code/small data and large code/large data libraries – no
small code/large data libraries. Such a random mixing of models will cause
much strange havoc. Try compiling -mcd, and linking with the cl.lib
library, and see what happens.
-Mike
Mike:
Good thought. I linked with plain, vanilla, c.lib. I'll try your
suggestion, and I bet you got it! I am not expert enough to immediately
see what happens with many modules, pre-compiled headers, and all that
jazz, but I will bet the farm there is nothing wrong with the code. I have
some global variable in the pre-compiled file that *is* too far away.
…..thanks to my forcing it to be that way. Leave it to me to make
perfectly, good code inoperable. Yes. Snatch defeat from the very jaws of
victory! 8-(
Regards Tom