From: Tom Tromey <tromey@redhat.com>
To: Bryce McKinlay <bryce@waitaki.otago.ac.nz>
Cc: akos.szalay@sophos.com, java@gcc.gnu.org
Subject: Re: -D ?
Date: Tue, 23 Apr 2002 18:57:00 -0000 [thread overview]
Message-ID: <87bsc9c0us.fsf@creche.redhat.com> (raw)
In-Reply-To: Bryce McKinlay's message of "Wed, 24 Apr 2002 11:53:58 +1200"
>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
>> gcj should only be used for compiling Java
>> code (either .java, .class, or resource files with --resource).
Bryce> Why? It might not be a good idea to compile JNI code with gcj,
Bryce> but it can be very useful to use gcj to compile and link C/C++
Bryce> code into a mixed Java/C++ application. But, it is unfortunate
Bryce> that the -D flag means different things to Java and C code.
We already broke compatibility with -C. Admittedly this isn't useful
in the situation you cite.
I think my bias here is that I'm not used to compiling things that
way. I almost always compile to .o files first.
The problem to me is just one of supportability. I don't think we've
ever advertised this feature. We don't test it (more precisely, I
don't know of anybody testing it). Supporting it means one more place
that we have to watch what happens in the C/C++ front ends to make
sure we don't have problems; this is hard because those front ends are
5x-10x as active as we are.
So in sum to me it seems like it isn't worth the effort.
Still, I don't feel all that strongly about it. We could probably
devise a plan to rehabilitate -D (e.g., nearly-compatible change in
3.2, real change in 3.3).
Tom
prev parent reply other threads:[~2002-04-24 1:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-23 9:38 akos.szalay
2002-04-23 14:39 ` Tom Tromey
2002-04-23 16:59 ` Bryce McKinlay
2002-04-23 18:57 ` Tom Tromey [this message]
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=87bsc9c0us.fsf@creche.redhat.com \
--to=tromey@redhat.com \
--cc=akos.szalay@sophos.com \
--cc=bryce@waitaki.otago.ac.nz \
--cc=java@gcc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).