delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/12/21:00:47

From: "Andrew Crabtree" <andrewc AT rosemail DOT rose DOT hp DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: exceptions and templates ???
Date: Fri, 12 Jun 1998 15:04:01 -0700
Organization: Hewlett-Packard, Roseville
Lines: 8
Message-ID: <6ls8ki$rrh$1@rosenews.rose.hp.com>
References: <19980609000834 DOT AAD6349 AT ppp100 DOT cartsys DOT com> <bWLoegW7sFse-pn2-qozuQLYyyU3D AT portX69 DOT lanzen DOT net>
NNTP-Posting-Host: ros51675cra.rose.hp.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Gili wrote in message ...
> I'm using GCC 2.8.1 and "-fsjlj-exceptions" is still needed.. Am I
>doing anything wrong?
Are you linking in the new crt?.o file and using the new linker script that
defines the  exception table?  It should be documented in the readme.


the new
OS), I am wondering if it is possible to link in new startup code onto
each compiled file?  I know that this can be done with such tools as
Borland C/C++, but all I have is a 16-bit version of this.
	Can I compile my protected mode init. code as a .O file and link
it as the startup code?  Do other .O files contain calls to the DPMI
functions?  What about calls to printf or the like?  Do they make calls to
other functions which eventually call DPMI functions (or selectors that
may or may not be the same as what I have selected for my OS?)  I'm sure
that this has been done before.  Can anyone point me in the right
direction (web-sites, FAQs, etc), or offer some advice?

Thanks very much!
            ____ 
           |C:\>|                       ____________________________
           |____|                //~\  |       Greg McLearn         |
           _|__|_      ______/P//_  |\/|    Nova Scotia, Canada     | 
          |oo ===|    |[*] EPSON  |  \ | aa627 AT chebucto DOT ns DOT ca   OR  |
          |______|~~~~ -----------    \| G_MCLEAR AT bass DOT stmarys DOT ca   |
                                       \----------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019