| 
  | 
Message-ID: <5154D2F3.3080709@barfooze.de>
Date: Fri, 29 Mar 2013 00:32:03 +0100
From: John Spencer <maillist-musl@...fooze.de>
To: musl@...ts.openwall.com
Subject: Re: musl and gcc-4.8 (sabotage)
On 03/28/2013 09:38 PM, Daniel Cegiełka wrote:
> Hi,
> Is anyone able to compile gcc-4.8 with musl? I try to prepare patch
> based on the work of Gregor Richards... but without success. I wonder
> if the error isn't in gcc.
>
>
> make[3]: Entering directory
> `/var/tmp/ports/gcc/work/gcc-4.8-20130321/x86_64-pc-linux-musl/libstdc++-v3/include'
> echo timestamp>  stamp-pb
> make[3]: *** No rule to make target
> `/var/tmp/ports/gcc/work/gcc-4.8-20130321/libstdc++-v3/config//ctype_base.h',
> needed by `stamp-host'.  Stop.
as you can see, the string os/generic is missing after config/
this section in your patch should make it pick that:
+    # check for musl by target
+    case "${host_os} in
+      *-musl*)
+        os_include_dir="os/generic"
+        ;;
+      *)
+
i'd try adding some debug code into that configure script and see what 
the actual values are and why that path is not taken.
>
> This header file is located in (ls)
> /var/tmp/ports/gcc/work/gcc-4.8-20130321/libstdc++-v3/config/os/generic/
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.