From owner-freebsd-questions@freebsd.org Sat Apr 23 14:18:50 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 C5FF1B19395 for ; Sat, 23 Apr 2016 14:18:50 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-oi0-x232.google.com (mail-oi0-x232.google.com [IPv6:2607:f8b0:4003:c06::232]) (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 8403E1E67 for ; Sat, 23 Apr 2016 14:18:50 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: by mail-oi0-x232.google.com with SMTP id k142so141147402oib.1 for ; Sat, 23 Apr 2016 07:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=69s0dFDcYmRorzYSN+WL/4JkRKKVNRT43u0w3v0gG/0=; b=kp6iE9DzUnVvmdCyRKxDrPXkhaxArfQkegzaON5Chq+yeGXVDJ7Wdyynqj5MQqK2H1 cnLD0xcdUwNs5npCsU4LS9K+90qI4hImyibTCbpzyRA6SdgiDU65rikm8Mft1eWBtWDN fA2iJdutC3WIectQBsMWrZFCT0tf8EYaN+yTE+aZQ2jA/Vdu6c/KoTsGldmhuY9y1DWt O8Z5TvYOuZVqh6VDA2Ydyj+Z9bfDE5bKWGfe8A9nhPQ2FFJgyW+SMNDj2qGOTbRAItaC iGiXFlUFxi7HoA0yiAlzluEopiC7GywbkiU+Jhb8qBTnRU4h+YHlYgpKyCuZh9XUCogb M4WA== 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:date :message-id:subject:from:to:cc; bh=69s0dFDcYmRorzYSN+WL/4JkRKKVNRT43u0w3v0gG/0=; b=VGooV8VNP53LsCeOLRyI9meOeqGH+J8WOfkc/aWS/5sUPjZZ6hvGupCYO973RTdf9O 5esX/hvbn3TH2Rp13/Pk3sD+rXQeQtEMsfyXBC9HqCTxxMMeS0+y7zyqdaqCdO4uO2S0 oRDr0OHrwKqQANPpLRyhsOO2Vrjurv6L5bXivgZN1CpGqCrl0rsgnFE4j3y5Ra6RlBDu X0mfJ6XLQ2XkQNM0Sn+e+sO+q/sV8YT5Td9ncx9yMd1spCwc+ZIVxw2jONO93RkTTJIR JaQ/p68FPpXm/kh4rrrGBas+fQB0lt0G/YpOZP+LIkp7T79QRt8w0ruZFMzdWEGRflh0 4ABA== X-Gm-Message-State: AOPr4FUxeABc5STWgNhx3pY5WsKsrUr0XBlRjZZJcQT0xPyDRqd2Bf0XANDdnWLm9tO9fXyWPeu2wE5GqTQIbg== MIME-Version: 1.0 X-Received: by 10.202.98.133 with SMTP id w127mr9582614oib.136.1461421129827; Sat, 23 Apr 2016 07:18:49 -0700 (PDT) Received: by 10.157.45.194 with HTTP; Sat, 23 Apr 2016 07:18:49 -0700 (PDT) In-Reply-To: References: Date: Sat, 23 Apr 2016 07:18:49 -0700 Message-ID: Subject: Re: About different ABI between gcc and clang From: Mehmet Erol Sanliturk To: Odhiambo Washington 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:18:50 -0000 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