Path: utzoo!attcan!uunet!fernwood!portal!cup.portal.com!Bits_of_Magic From: Bits_of_Magic@cup.portal.com Newsgroups: comp.sys.ibm.pc.misc Subject: Re: TC++ and DOSSEG Message-ID: <34988@cup.portal.com> Date: 18 Oct 90 07:00:01 GMT References: Organization: The Portal System (TM) Lines: 22 >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" * ****************************************************************************