sverrehu@ifi.uio.no (Sverre Holmsen Huseby) (10/15/90)
Has anybody had any problems with TC++ v1.0 and assemblyfiles containing the DOSSEG-directive? When I link .OBJ-files (from assembly) with my C-programs, the global variables don't get initialised to zero unless I remove the DOSSEG-directive. This worked fine with TC 2.0. Also, memory allocated by malloc sometimes overwrites other variables. Sverre H. Huseby (sverrehu@ifi.uio.no) Student - University of Oslo, Norway
Bits_of_Magic@cup.portal.com (10/18/90)
>Has anybody had any problems with TC++ v1.0 and assemblyfiles >containing the DOSSEG-directive? >When I link .OBJ-files (from assembly) with my C-programs, the >global variables don't get initialised to zero unless I remove the >DOSSEG-directive. >This worked fine with TC 2.0. >Also, memory allocated by malloc sometimes overwrites other >variables. Yes. I don't remember the exact details, but the essence is that you don't use DOSSEG, although if you were to use MASM you would. According to the documentation, you don't use it, but in older versions of TLINK the system would work correctly even if you did. Now it breaks if you use DOSSEG. **************************************************************************** * Evan Robinson * "You have a very workable substitute for * * bits_of_magic@cup.portal.com * high intelligence" * * GEnie: EVANROB * Keith Rienzi, "Pick Up Axe" * ****************************************************************************