Bug #9267

Document configure options

Added by Zachary Scott almost 2 years ago. Updated over 1 year ago.

Assignee:Zachary Scott
ruby -v:2.1.0dev Backport:1.9.3: UNKNOWN, 2.0.0: UNKNOWN


See also #9264


#1 Updated by Aman Gupta almost 2 years ago

+1. Some notes:

  • To add -I/opt/include and -L/opt/lib, use --with-opt-dir=/opt
  • Do not override CFLAGS. If CFLAGS is provided, it is used as a replacement for default flags (i.e., '-ggdb3 -O3' will not be used unless you specify them)
  • Use MAINLIBS to add libraries to the ruby binary only (i.e. no c-extensions). This is ideal for allocators: make ruby MAINLIBS=-ltcmalloc make ruby-jemalloc RUBY_INSTALL_NAME=ruby-jemalloc MAINLIBS=-ljemalloc

#2 Updated by Zachary Scott almost 2 years ago

@tmm1 Thanks for the feedback!

If anyone else has any pointers on this, its appreciated!

#3 Updated by Hiroshi SHIBATA almost 2 years ago

  • Target version changed from 2.1.0 to current: 2.2.0

#4 Updated by Zachary Scott over 1 year ago

  • Status changed from Assigned to Closed

I've added wiki page for Configuration Options, please feel free to add any version specific configuration options here.

Also available in: Atom PDF