All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Can grub2 support c++ module?
Date: Wed, 18 Jun 2008 00:09:10 -0400	[thread overview]
Message-ID: <1213762150.2940.15.camel@rd> (raw)
In-Reply-To: <C41954CA36614813A952503CCEFFEE94@ES4ZEXI>

On Wed, 2008-06-18 at 10:22 +0800, y.volta wrote:
> Hi,
> 
>     I just wondering, can grub2 support module coded with c++? Let's suppose we are trying to apply the fancy menu. ;-)

I think it can be done, but you'll need to disable exception handling
and RTTI.  You won't be able to use any C++ libraries.  The build system
will need to be changed to call C++ compiler when needed.

Still, I think it would be an overkill.  C is quite good for large
projects if used properly.  Linux is fine with C.  C also has checkers
such as sparse, but I'm not aware of C++ equivalents.

-- 
Regards,
Pavel Roskin



  reply	other threads:[~2008-06-18  4:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <48583C04.219093.22092@m12-68.163.com>
2008-06-18  2:22 ` Can grub2 support c++ module? y.volta
2008-06-18  4:09   ` Pavel Roskin [this message]
2008-06-18 17:56     ` Yoshinori K. Okuji
2008-06-25 18:25       ` Can grub2 support c++ module? (Patch) Christian Franke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1213762150.2940.15.camel@rd \
    --to=proski@gnu.org \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.