home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.msdos.programmer:9168 alt.msdos.programmer:2329
- Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!usenet-feed.cc.umr.edu!mcs213d.cs.umr.edu!mcastle
- From: mcastle@cs.umr.edu (Michael R Castle)
- Subject: Turbo C++--forcing vars into CSEG
- Date: Tue, 8 Sep 1992 19:59:18 GMT
- Nntp-Posting-Host: mcs213d.cs.umr.edu
- Organization: University of Missouri - Rolla
- Sender: cnews@umr.edu (UMR Usenet News Post)
- Originator: mcastle@mcs213d.cs.umr.edu
- Message-ID: <1992Sep8.195918.22762@umr.edu>
- Lines: 22
-
-
- I'm trying to use Turbo C++ 1.0 to compile the GNU swapping-spawn library.
-
- The library was originally designed for MSC 6.0 and uses a construct that
- forces data to be stored in the code segment.
-
- Is there any similiar directive for Turbo?? I was hoping that using something
- like
-
- int _cs var1;
-
- would do that, but the compiler doesn't like it. I'm wondering if just
- replacing _cs with near would do the trick, but I'm not sure that that just
- doen't fool with the data segment.
-
- Anyone know of a way to accomplish this (w/o going into assembler)??
-
- all help appreciated,
- mrc
-
- also: anyone know what the typedef/struct off_t is, in MSC???
-
-