Project

General

Profile

Bug #9267

Document configure options

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

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

Description

See also #9264

History

#1 [ruby-core:59371] Updated by Aman Gupta about 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 [ruby-core:59385] Updated by Zachary Scott about 2 years ago

@tmm1 Thanks for the feedback!

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

#3 [ruby-core:60324] Updated by Hiroshi SHIBATA about 2 years ago

  • Target version changed from 2.1.0 to current: 2.2.0

#4 [ruby-core:63168] 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