home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.palmtops
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!bogus.sura.net!howland.reston.ans.net!usc!cs.utexas.edu!oakhill!toms
- From: toms@oakhill.sps.mot.com (Thomas Spohrer)
- Subject: Turbo C compiler for EXMs on the 95LX
- Message-ID: <1993Jan7.222205.21480@oakhill.sps.mot.com>
- Organization: Motorola Inc., Austin, Texas
- Distribution: na
- Date: Thu, 7 Jan 1993 22:22:05 GMT
- Lines: 62
-
- I have been successful in creating sysmgr complient .EXMs using Turbo C with
- an old version of MS Link. What works for me is to compile with Turbo C
- (Actually TC++ Second Addition), link with Microsoft's linker using the
- HP/Lotus crt0.obj, and then run E2M (ver 4.2).
-
- I would like to be able to use tlink instead, however, because my old MS linker
- (ver 3.05) does not see all of TCs library. To get it to see some of the
- functions I have to extract them from the big library (cs.lib) and put them
- into my own smaller library.
-
- Now for my problem/question:
- .EXEs that have been linked by tlink almost always give me the
- following error when I run E2M:
-
- ERROR - Map File DGROUP is not paragraph aligned
-
- How do I force paragraph alignment for the DGROUP?
-
- How come the same program using the same library and startup routines give me
- such different maps when using different linkers? Below is a summary of the
- map file created by MS link for my program:
-
- Start Stop Length Name Class
- 00000H 00866H 00867H _TEXT CODE
- 00868H 00C9BH 00434H _DATA DATA
- 00C9CH 00F49H 002AEH _BSS BSS
- 00F50H 0174FH 00800H STACK STACK
-
- Origin Group
- 0086:0 DGROUP
-
- Program entry point at 0000:0010
-
- Now the map file from tlink (using the same .obj files):
-
- Start Stop Length Name Class
-
- 00000H 00857H 00858H _TEXT CODE
- 00858H 00C8BH 00434H _DATA DATA
- 00C8CH 00F39H 002AEH _BSS BSS
- 00F48H 01747H 00800H STACK STACK
-
- [** Symbol table lines removed here **]
- Program entry point at 0000:0000
-
- The program entry point is not even the same for the same code!
-
- Does Craig Finseth's makeexm work any better? I can not try it because
- it must require that you use his c0s and I can not assemble his source.
- Would someone with tasm please send me a c0s.obj assembled with Craig's
- c0s.asm.
-
- Enough rambling on from me for now. I have not seen any discussion on
- creating .EXMs here in a while. Please pass along any pertinent information
- about this process if you have any.
-
-
- --
- ===========================================================================
- Thomas Spohrer UUCP: {harvard,utah-cs,gatech}!cs.utexas.edu!oakhill!toms
- or try: toms@vitus.sps.mot.com
- ===========================================================================
-