From owner-freebsd-questions@freebsd.org Sat Apr 23 14:13:11 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2541B19209 for ; Sat, 23 Apr 2016 14:13:11 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 726331C93 for ; Sat, 23 Apr 2016 14:13:11 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id n3so64925030wmn.0 for ; Sat, 23 Apr 2016 07:13:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CptOIrfTLUHXqecMrTggVAiV/QVQIzbZB7KJFnSy7Cc=; b=kYSkOTnxw+487vFLeAXmC1k7mUzH6q+D8VjZ4JNHwBHZQvSIoXZGrIhtG9IC/W2rRE 154J/8g1CrEfGGa9rzHq1dl897Y/cpUKy/9dzJiaRLiZKICWpsKftzz7v8+xN7/aKSCw zodmrKJ/HTGcgYelazGFA/X6/3BEIZT58Qrd7mAGlz7FOzSU1EwkbAL2/fe7wBnfuJQl 6nn7KuDOPLzQ3OgkVSDubECQWR7zeHdfZjA377XJlAUxeGs1o7bk1lQRu5LsIra/jRLF AeNKg9UEYVUegQqN4o5gHDHGrgi87uTfj//7NroGWpyORyx4tZl5iRyXJ7n+XvLBIr8N Xjqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CptOIrfTLUHXqecMrTggVAiV/QVQIzbZB7KJFnSy7Cc=; b=DKamXzW7o4psAIImT4g8toY7DRJCty5rNES7yWpZP+8fWROhlirIkksDd4daXqY0+P AkBKssTwSCMzQrnf494ZDqZcSHMse2esPTU4bQslxlriKgO+1HFqBtY91x5wmJJvnMDF Yd/CYwyiNWsGofp4+qWLLwhVOjlZEYUoFjiykB/OVHHHFuE69Vm6R4UCAmlRMVy/oCq6 uAlEKR0NICfdtE+VPS5mJLSvdEsLEuVrnnOeprDrnCeNat/qtTWeBr8x4QxTqc7NEX2c c5vhWJ3zuIMTxmrYdEQiNHuB2RUxqDFJvA9yQ9yghfPMzD3NFnJ3BrH1jY67NTQ0SM9v Q0mg== X-Gm-Message-State: AOPr4FWW9ExyyzvPMQDVEms1iKfLSdzcxhxsL2LHplhV/bm3C/wjEQ9PcWndLa7anuNtkyPBP5uVTlFEJBhkpA== X-Received: by 10.28.171.8 with SMTP id u8mr2647973wme.97.1461420789503; Sat, 23 Apr 2016 07:13:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.103.233 with HTTP; Sat, 23 Apr 2016 07:12:29 -0700 (PDT) In-Reply-To: References: From: Odhiambo Washington Date: Sat, 23 Apr 2016 17:12:29 +0300 Message-ID: Subject: Re: About different ABI between gcc and clang To: Mehmet Erol Sanliturk Cc: User Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2016 14:13:12 -0000 On 23 April 2016 at 17:06, Mehmet Erol Sanliturk wrote: > > > On Sat, Apr 23, 2016 at 5:04 AM, Odhiambo Washington > wrote: > >> I am looking at this page: >> http://wiki.squid-cache.org/BuildFarm/FreeBsdInstall >> >> There is something that I don't quite understand and would appreciate the >> help of the experts, like Matthew:-) >> >> >> due to different ABI between gcc and clang, libcppunit needs to be >> installed twice, one with the g++ ABI and one with clang's. The default >> compiler for freebsd-9 is gcc; to setup the version for clang, configure >> it >> as CC=clang35 CXX=clang++35 ./configure --prefix=/usr/local/clang-abi >> >> >> Can someone explain that portion to me? What is the writer suggesting I >> do? >> >> >> >> -- >> Best regards, >> Odhiambo WASHINGTON, >> Nairobi,KE >> +254 7 3200 0004/+254 7 2274 3223 >> "Oh, the cruft." >> _______________________________________________ >> >> >> > > This means clang should be installed in its own directory , not in an > upper , common directory because its files to install have conflicts with > the files in upper directory of --prefix= , for example , they have the > same name but with different structure , i.e. , they are not compliant . > > Mehmet Erol Sanliturk > How do I do that for a port?? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."