This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Code Gen problem calling functions through pointers.


>>>>> "David" == David Querbach <querbach@realtime.bc.ca> writes:

    David> As an aside, our company has built an embedded real-time
    David> operating system entirely in C++; it purposely contains
    David> almost no preprocessor macros.  The preprocessor is a great
    David> tool, but many of its uses can be replaced by common C++
    David> constructs such as consts, enums, inline functions, and
    David> templates.  Doing so often yields better type checking and
    David> maintainability.

Is it *ENTIRELY* in C++?  Is it pre-emptive?  If so, how do you do
context save and restore operations in C++ in a machine transparent
manner? 

-- 
--------  "And there came a writing to him from Elijah"  [2Ch 21:12]  --------
R. J. Brown III  rj@elilabs.com http://www.elilabs.com/~rj  voice 847 543-4060
Elijah Laboratories Inc. 457 Signal Lane, Grayslake IL 60030  fax 847 543-4061
-----  M o d e l i n g   t h e   M e t h o d s   o f   t h e   M i n d  ------
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]