/usr/lib/ocaml/Makefile.config is in ocaml-nox 4.01.0-3ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | # generated by ./configure --host x86_64-linux-gnu --with-pthread -prefix /usr -libdir /usr/lib/ocaml -x11lib /usr/lib/x86_64-linux-gnu -mandir /usr/share/man -tkdefs -I/usr/include/tcl -tklibs -L/usr/lib -ltk -ltcl
PREFIX=/usr
BINDIR=$(PREFIX)/bin
LIBDIR=$(PREFIX)/lib/ocaml
STUBLIBDIR=$(PREFIX)/lib/ocaml/stublibs
MANDIR=$(PREFIX)/share/man
MANEXT=1
RANLIB=ranlib
RANLIBCMD=ranlib
ARCMD=ar
SHARPBANGSCRIPTS=true
BNG_ARCH=amd64
BNG_ASM_LEVEL=1
PTHREAD_LINK=-cclib -lpthread
X11_INCLUDES=
X11_LINK=-L/usr/lib/x86_64-linux-gnu -lX11
TK_DEFS=-I/usr/include/tcl $(X11_INCLUDES)
TK_LINK=-L/usr/lib -ltk -ltcl -ldl $(X11_LINK)
LIBBFD_LINK=-Wl,-Bstatic -lbfd -Wl,-Bdynamic -ldl -liberty -lz
BYTECC=gcc
BYTECCCOMPOPTS= -D_FILE_OFFSET_BITS=64 -D_REENTRANT
BYTECCLINKOPTS=-Wl,--hash-style=both -Wl,--as-needed -Wl,--build-id -Wl,-E
BYTECCLIBS= -lm -ldl -lcurses -lpthread
BYTECCRPATH=-Wl,-rpath,
EXE=
SUPPORTS_SHARED_LIBRARIES=true
SHAREDCCCOMPOPTS=-fPIC
MKSHAREDLIBRPATH=-Wl,-rpath,
NATDYNLINKOPTS=-Wl,-E
SYSLIB=-l$(1)
#ml let syslib x = "-l"^x;;
### How to build a static library
MKLIB=ar rc $(1) $(2); ranlib $(1)
#ml let mklib out files opts = Printf.sprintf "ar rc %s %s %s; ranlib %s" out opts files out;;
ARCH=amd64
MODEL=default
SYSTEM=linux
NATIVECC=gcc
NATIVECCCOMPOPTS= -D_FILE_OFFSET_BITS=64 -D_REENTRANT
NATIVECCPROFOPTS= -D_FILE_OFFSET_BITS=64 -D_REENTRANT
NATIVECCLINKOPTS=-Wl,--hash-style=both -Wl,--as-needed -Wl,--build-id
NATIVECCRPATH=-Wl,-rpath,
NATIVECCLIBS= -lm -ldl
ASM=as
ASPP=gcc -c
ASPPPROFFLAGS=-DPROFILING
PROFILING=prof
DYNLINKOPTS= -ldl
OTHERLIBRARIES=unix str num dynlink bigarray systhreads threads graph labltk
DEBUGGER=ocamldebugger
CC_PROFILE=-pg
SYSTHREAD_SUPPORT=true
PARTIALLD=ld -r
PACKLD=$(PARTIALLD) --hash-style=both --as-needed --build-id -o\
DLLCCCOMPOPTS=
IFLEXDIR=
O=o
A=a
SO=so
EXT_OBJ=.o
EXT_ASM=.s
EXT_LIB=.a
EXT_DLL=.so
EXTRALIBS=
CCOMPTYPE=cc
TOOLCHAIN=cc
NATDYNLINK=true
CMXS=cmxs
MKEXE=$(BYTECC)
MKEXEDEBUGFLAG=-g
MKDLL=gcc -shared
MKMAINDLL=gcc -shared
RUNTIMED=noruntimed
CAMLP4=camlp4
ASM_CFI_SUPPORTED=true
WITH_FRAME_POINTERS=false
|