Bug #9267

Document configure options

Added by Zachary Scott over 1 year ago. Updated 10 months ago.

[ruby-core:59223]
Status:Closed
Priority:Normal
Assignee:Zachary Scott
ruby -v:2.1.0dev Backport:1.9.3: UNKNOWN, 2.0.0: UNKNOWN

Description

See also #9264

History

#1 Updated by Aman Gupta about 1 year 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 about 1 year ago

@tmm1 Thanks for the feedback!

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

#3 Updated by Hiroshi SHIBATA about 1 year ago

  • Target version changed from 2.1.0 to current: 2.2.0

#4 Updated by Zachary Scott 10 months 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