Compiling JDK with gprof

Aleksey Shipilev shade at redhat.com
Thu Aug 19 14:59:35 UTC 2021


On 8/19/21 4:55 PM, Thomas, Samuel wrote:
> Could someone help me find where to add additional flags to the build
> instructions?

Look in configure help?

$ sh ./configure --help | grep flags
   --with-extra-cflags     extra flags to be used when compiling jdk c-files
   --with-extra-cxxflags   extra flags to be used when compiling jdk c++-files
   --with-extra-ldflags    extra flags to be used when linking jdk
   --with-extra-asflags    extra flags to be passed to the assembler

-- 
Thanks,
-Aleksey




More information about the build-dev mailing list