Project

General

Profile

Actions

Bug #9267

closed

Document configure options

Added by zzak (zzak _) almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Assignee:
Target version:
ruby -v:
2.1.0dev
[ruby-core:59223]

Description

See also #9264

Updated by tmm1 (Aman Karmani) almost 11 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

Updated by zzak (zzak _) almost 11 years ago

@tmm1 (Aman Karmani) Thanks for the feedback!

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

Updated by hsbt (Hiroshi SHIBATA) almost 11 years ago

  • Target version changed from 2.1.0 to 2.2.0

Updated by zzak (zzak _) over 10 years 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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0