mailing list of musl libc
 help / color / mirror / code / Atom feed
* musl path
@ 2011-08-06 15:44 nicolas
  2011-08-06 16:28 ` Szabolcs Nagy
  0 siblings, 1 reply; 8+ messages in thread
From: nicolas @ 2011-08-06 15:44 UTC (permalink / raw)
  To: musl

Hi all, 

I managed to compile and to install musl on a test system.
However, i have some questions...

First, is it possible to add to the config.mak file the possibility to
change the includedir path ?
For example, i want to install the libraries on /lib and the headers on
/usr/include, and i had to add manually this entry to the config.mak
file...

Secondly, is it possible to remove properly the musl-gcc wrapper ?
I don't need it ;)

Cheers,
Nick


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: musl path
  2011-08-06 15:44 musl path nicolas
@ 2011-08-06 16:28 ` Szabolcs Nagy
  2011-08-06 20:14   ` nicolas
  0 siblings, 1 reply; 8+ messages in thread
From: Szabolcs Nagy @ 2011-08-06 16:28 UTC (permalink / raw)
  To: musl

* nicolas@atelier-web.com <nicolas@atelier-web.com> [2011-08-06 17:44:52 +0200]:
> First, is it possible to add to the config.mak file the possibility to
> change the includedir path ?
> For example, i want to install the libraries on /lib and the headers on
> /usr/include, and i had to add manually this entry to the config.mak
> file...
> 
> Secondly, is it possible to remove properly the musl-gcc wrapper ?
> I don't need it ;)

config.mak is included after all  variable declarations in the Makefile
so you can freely change those variables in config.mak

eg:

prefix=we_dont_use_prefix_at_all
includedir=/usr/include
libdir=/lib
ALL_TOOLS=


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: musl path
  2011-08-06 16:28 ` Szabolcs Nagy
@ 2011-08-06 20:14   ` nicolas
  2011-08-06 20:27     ` Rich Felker
  0 siblings, 1 reply; 8+ messages in thread
From: nicolas @ 2011-08-06 20:14 UTC (permalink / raw)
  To: musl

On Sat, 6 Aug 2011 18:28:03 +0200, Szabolcs Nagy <nsz@port70.net> wrote:
> * nicolas@atelier-web.com <nicolas@atelier-web.com> [2011-08-06 17:44:52
> +0200]:
>> First, is it possible to add to the config.mak file the possibility to
>> change the includedir path ?
>> For example, i want to install the libraries on /lib and the headers on
>> /usr/include, and i had to add manually this entry to the config.mak
>> file...
>> 
>> Secondly, is it possible to remove properly the musl-gcc wrapper ?
>> I don't need it ;)
> 
> config.mak is included after all  variable declarations in the Makefile
> so you can freely change those variables in config.mak
> 
> eg:
> 
> prefix=we_dont_use_prefix_at_all
> includedir=/usr/include
> libdir=/lib
> ALL_TOOLS=

Thanks :)
And is there a way to remove the gcc wrapper ?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: musl path
  2011-08-06 20:14   ` nicolas
@ 2011-08-06 20:27     ` Rich Felker
  2011-08-06 21:00       ` nicolas
                         ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Rich Felker @ 2011-08-06 20:27 UTC (permalink / raw)
  To: musl

On Sat, Aug 06, 2011 at 10:14:33PM +0200, nicolas@atelier-web.com wrote:
> > prefix=we_dont_use_prefix_at_all
> > includedir=/usr/include
> > libdir=/lib
> > ALL_TOOLS=
> 
> Thanks :)
> And is there a way to remove the gcc wrapper ?

Setting ALL_TOOLS blank will prevent it from being installed.

By the way, I'm thinking of moving the gcc wrapper to a separate
repository/tarball along with improving it, at some point in the near
future. I don't really like the clutter of having it
distributed/installed with musl, and as a separate standalone tool I
could make it work with uclibc and other libcs as well..

I'd welcome comments from users who like or dislike this idea.

Rich


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: musl path
  2011-08-06 20:27     ` Rich Felker
@ 2011-08-06 21:00       ` nicolas
  2011-08-07 10:46       ` Jens Staal
  2011-08-07 23:34       ` gs
  2 siblings, 0 replies; 8+ messages in thread
From: nicolas @ 2011-08-06 21:00 UTC (permalink / raw)
  To: musl

Ah... Okay :)

I think that to have a separate tarball for the wrapper is the better
way...
Do you plan to generate wrapper for the others C Compiler (PCC /
TinyCC...) ?

Cheers,
Nick

On Sat, 6 Aug 2011 16:27:36 -0400, Rich Felker <dalias@aerifal.cx> wrote:
> On Sat, Aug 06, 2011 at 10:14:33PM +0200, nicolas@atelier-web.com wrote:
>> > prefix=we_dont_use_prefix_at_all
>> > includedir=/usr/include
>> > libdir=/lib
>> > ALL_TOOLS=
>> 
>> Thanks :)
>> And is there a way to remove the gcc wrapper ?
> 
> Setting ALL_TOOLS blank will prevent it from being installed.
> 
> By the way, I'm thinking of moving the gcc wrapper to a separate
> repository/tarball along with improving it, at some point in the near
> future. I don't really like the clutter of having it
> distributed/installed with musl, and as a separate standalone tool I
> could make it work with uclibc and other libcs as well..
> 
> I'd welcome comments from users who like or dislike this idea.
> 
> Rich




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: musl path
  2011-08-06 20:27     ` Rich Felker
  2011-08-06 21:00       ` nicolas
@ 2011-08-07 10:46       ` Jens Staal
  2011-08-07 14:06         ` Rich Felker
  2011-08-07 23:34       ` gs
  2 siblings, 1 reply; 8+ messages in thread
From: Jens Staal @ 2011-08-07 10:46 UTC (permalink / raw)
  To: musl

I would definitely like the idea of the wrapper being a general tool
for various libc's.

Especially nice in order to play with the libc benchmarks (I tried
making AURs for them but could not figure out how to get the different
builds to use the different libcs installed on the system).

If the wrappers also could include a number of different compilers,
that would be great :)

2011/8/6 Rich Felker <dalias@aerifal.cx>:
> On Sat, Aug 06, 2011 at 10:14:33PM +0200, nicolas@atelier-web.com wrote:
>> > prefix=we_dont_use_prefix_at_all
>> > includedir=/usr/include
>> > libdir=/lib
>> > ALL_TOOLS=
>>
>> Thanks :)
>> And is there a way to remove the gcc wrapper ?
>
> Setting ALL_TOOLS blank will prevent it from being installed.
>
> By the way, I'm thinking of moving the gcc wrapper to a separate
> repository/tarball along with improving it, at some point in the near
> future. I don't really like the clutter of having it
> distributed/installed with musl, and as a separate standalone tool I
> could make it work with uclibc and other libcs as well..
>
> I'd welcome comments from users who like or dislike this idea.
>
> Rich
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: musl path
  2011-08-07 10:46       ` Jens Staal
@ 2011-08-07 14:06         ` Rich Felker
  0 siblings, 0 replies; 8+ messages in thread
From: Rich Felker @ 2011-08-07 14:06 UTC (permalink / raw)
  To: musl

On Sun, Aug 07, 2011 at 12:46:47PM +0200, Jens Staal wrote:
> I would definitely like the idea of the wrapper being a general tool
> for various libc's.
> 
> Especially nice in order to play with the libc benchmarks (I tried
> making AURs for them but could not figure out how to get the different
> builds to use the different libcs installed on the system).
> 
> If the wrappers also could include a number of different compilers,
> that would be great :)

I think for most compilers it's trivial. As far as I know, gcc is the
only one I know that insists on still passing all the unwanted -L
paths to the linker even when you told it -nostdlib...

Rich


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: musl path
  2011-08-06 20:27     ` Rich Felker
  2011-08-06 21:00       ` nicolas
  2011-08-07 10:46       ` Jens Staal
@ 2011-08-07 23:34       ` gs
  2 siblings, 0 replies; 8+ messages in thread
From: gs @ 2011-08-07 23:34 UTC (permalink / raw)
  To: musl


> By the way, I'm thinking of moving the gcc wrapper to a separate
> repository/tarball along with improving it, at some point in the near
> future. I don't really like the clutter of having it
> distributed/installed with musl, and as a separate standalone tool I
> could make it work with uclibc and other libcs as well..
>
> I'd welcome comments from users who like or dislike this idea.
improving the wrapper and supporting additional libc's sounds like a 
good thing.
tho having the wrapper automatically installed with the right paths set 
is also good.
i'd continue providing the wrapper with musl for now, since a newer 
version of the wrapper may not be compatible with an older musl version. 
also new users would have to configure two things instead of one.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-08-07 23:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-06 15:44 musl path nicolas
2011-08-06 16:28 ` Szabolcs Nagy
2011-08-06 20:14   ` nicolas
2011-08-06 20:27     ` Rich Felker
2011-08-06 21:00       ` nicolas
2011-08-07 10:46       ` Jens Staal
2011-08-07 14:06         ` Rich Felker
2011-08-07 23:34       ` gs

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).