|
Message-ID: <alpine.LNX.2.02.1209201832540.26549@laas.mine.nu> Date: Thu, 20 Sep 2012 18:34:49 +0200 (CEST) From: Jens <jensl@...s.mine.nu> To: musl@...ts.openwall.com Subject: Re: musl-gcc question On Thu, 20 Sep 2012, Szabolcs Nagy wrote: > * Jens <jensl@...s.mine.nu> [2012-09-20 16:50:13 +0200]: >> If we look at the verbose output below it seems like -L/lib is a bad >> thing to have, since all the uclibc libs are there. >> >> musl is installed under /opt/musl. >> >> What have I missed? > > > please show the config.mak you have Thanks, file contents below. (Linewrapping has messed them up some). bash-4.1# cat /var/tmp/src/musl-0.9.6/config.mak # This version of config.mak was generated by configure # Any changes made here will be lost if configure is re-run ARCH = x86_64 prefix = /opt/musl exec_prefix = $(prefix) bindir = /usr/bin libdir = $(prefix)/lib includedir = $(prefix)/include syslibdir = /lib CC = gcc CFLAGS= -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables -falign-functions=1 -falign-labels=1 -falign-loops=1 -falign-jumps=1 -fno-stack-protector -Os -g CFLAGS_C99FSE = -std=c99 -nostdinc -ffreestanding -frounding-math CPPFLAGS = LDFLAGS = -Wl,--hash-style=both -static CROSS_COMPILE = LIBCC = -lgcc -lgcc_eh > > and the musl-gcc.specs file in the musl lib directory bash-4.1# cat /opt/musl/lib/musl-gcc.specs %rename cpp_options old_cpp_options *cpp_options: -nostdinc -isystem /opt/musl/include %(old_cpp_options) *cc1: %(cc1_cpu) -nostdinc -isystem /opt/musl/include *link_libgcc: -L/opt/musl/lib -L .%s *libgcc: libgcc.a%s %:if-exists(libgcc_eh.a%s) *startfile: %{!shared: /opt/musl/lib/%{pie:S}crt1.o} /opt/musl/lib/crti.o %{shared|pie:crtbeginS.o%s;:crtbegin.o%s} *endfile: %{shared|pie:crtendS.o%s;:crtend.o%s} /opt/musl/lib/crtn.o *link: -dynamic-linker /lib/ld-musl-x86_64.so.1 -nostdlib %{shared:-shared} %{static:-static} %{rdynamic:-export-dynamic} *esp_link: *esp_options: *esp_cpp_options: > >
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.