This is the mail archive of the java-discuss@sources.redhat.com 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]

GCJ macro in libjava/Makefile


I noticed while building the latest libgcj this weekend that the GCJ
compiler flags in libjava/Makefile include the source directory:

GCJ = gcj -B/home/jsturm/GCC/libgcj/build/i586-pc-cygwin/libjava/
-I../../../libjava

The library builds faster and with less memory if I remove the
-I../../../libjava part.  (I discovered this while building on a 32MB
machine... paging caused the compiler to slow by at least a factor of
10.)

What is -I supposed to do for gcj?  It seems to affect the classpath.

--
Jeff Sturm
jeff.sturm@commerceone.com

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