Article View: comp.sys.ibm.pc.programmer
Article #1275Porting software to the PC, 64K data structure barrier.
From: Avinash Chopde
Date: Sat, 29 Jun 1991 19:19
Date: Sat, 29 Jun 1991 19:19
17 lines
1263 bytes
1263 bytes
I need to port a program I wrote for UNIX machines onto the IBM PC. I have the Turbo C++ compiler, and at first, I just tried to recompile all the sources, but the compiler complained about a struct being greater than 64K in size! Now, I'm sure I'm doing something wrong, surely there must be some way of defining large arrays. Is there ? (If not, will malloc() support allocation of large arrays ?) Looks like it is not going to be an easy job, porting programs to the PC, and I would be glad for any help anybody can offer regarding what I could do, and what I should watch out for. Thanks for any help. -- --------------------------- Avinash Chopde home : 508 470 1190 office : 617 224 5582 avinash@contex.com (if that fails, use: contex!avinash@uunet.uu.net)
Technical Details
Message-ID:
<1972@contex.contex.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!contex!felix.contex.com!avinashShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!contex!felix.contex.com!avinash From: avinash@felix.contex.com (Avinash Chopde) Newsgroups: comp.sys.ibm.pc.programmer Subject: Porting software to the PC, 64K data structure barrier. Keywords: PC, 64K struct size limitations, MSDOS Message-ID: <1972@contex.contex.com> Date: 29 Jun 91 19:19:32 GMT Article-I.D.: contex.1972 Sender: news@contex.contex.com Lines: 17