This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: way to add a compiler flag via configure?


On Sun, 2002-01-27 at 17:10, Adam Megacz wrote:
> 
> Is there a way to specify a command line option when running configure
> on libjava such that that command line option will be added to every
> invocation of gcc/gcj?

Yes, you can add it to the specs file (libgcj.spec).

The actual machinery for adding new flags to libgcj.spec can be set up a
number of different ways.  There are target specific flags set up in
configure.host, and some which are set depending on configure options.

AG



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