From owner-freebsd-questions@freebsd.org Sat Apr 23 14:40:18 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 7CB0CB19E46 for ; Sat, 23 Apr 2016 14:40:18 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 0C14C1C6F for ; Sat, 23 Apr 2016 14:40:18 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id e201so44373233wme.0 for ; Sat, 23 Apr 2016 07:40:17 -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=69wB7GXcj/CUGSpQ1xgtrTCHQtoHU28itnpzmkwyZSY=; b=tlZAZtbFAcC3b7f+xh2iSMhV+PghChNnmK3vBQKuy4eCzARzqGINglkU8Fm74Ws5ev m7VSYXIBp3m5RTFEbIFdykLKXkw8UNhRwRAl6pBbvH6W899EpAleqz6/299leiG3qhiz I6AeZWcN2GxbMpQM6wQdCcdlnPRQwK9dgemkmpR8xB2+YHR0+t24mN6T7MvL8wn317oA zkcnxuM5QWpgMjU/nDu0OePIEQqdKrnEiD92I5Ibo/8cPRYiH9nzIw2skyThDXVU/cGT IIBnoQHwjBiVKiSGQcelXakfGJEuKFtJ1Kjt54D1gmYSZ+1kigo7mpyceKyQCVrYWeeI EdeA== 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=69wB7GXcj/CUGSpQ1xgtrTCHQtoHU28itnpzmkwyZSY=; b=BalnafWg/atV1Dv+8S+D9ixLC/K/Q5/SXnwYnpshVaaHvWdJFXr8mauknzgGVM2Vq1 xFRtIiWtPF3OT+9t2jOL7XTJQUNDKHDB5l5pZnrohHqQLCOhHhN9cq0X8EfQd1yUS89y PTXz0km6APOrqLeF7JhYFCNUSZaTtzXe7bqnCHvDLL5nto86PTvtNnkVkBzSVIm4kjpl CmM2Y613Hf7xE57IXv9ZknmHPyifWVwkKzFvQkd3AUOdwAAZocXN2iha3F8bsPmGglfQ 7+7EATEGoALdqN3RAaGT1JCz/2kzcHRARXdOM5eHSHte12l9r0OXJcZ4Ckp4gJ0ce2sH m72Q== X-Gm-Message-State: AOPr4FXy+3eynILYjQjzevDGewMKz7maopehxMHiO9Qj89PNuEFtAwyVpEKl2Tv9n9SEFNYnVTd9O87qU4dnlQ== X-Received: by 10.28.215.197 with SMTP id o188mr3088850wmg.14.1461422416406; Sat, 23 Apr 2016 07:40:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.103.233 with HTTP; Sat, 23 Apr 2016 07:39:36 -0700 (PDT) In-Reply-To: References: From: Odhiambo Washington Date: Sat, 23 Apr 2016 17:39:36 +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:40:18 -0000 On 23 April 2016 at 17:18, Mehmet Erol Sanliturk wrote: > > > On Sat, Apr 23, 2016 at 7:12 AM, Odhiambo Washington > wrote: > >> >> >> 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." >> > > > In page > https://www.freebsd.org/doc/handbook/ports-using.html > > see > > "4.5.1.1. Customizing Ports Installation" > . > > > Mehmet Erol Sanliturk > Wonderful!!!! Thank you for that. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."