From owner-freebsd-questions@FreeBSD.ORG Fri May 1 21:08:45 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 47D29966 for ; Fri, 1 May 2015 21:08:45 +0000 (UTC) Received: from mail.qcislands.net (mail.qcislands.net [23.235.65.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28E961CE8 for ; Fri, 1 May 2015 21:08:44 +0000 (UTC) Received: from 254-68-235-23.qcislands.net ([23.235.68.254] helo=[192.168.1.8]) by mail.qcislands.net with esmtp (Exim 4.82) (envelope-from ) id 1YoI4k-000KkQ-89; Fri, 01 May 2015 14:02:22 -0700 Message-ID: <5543E9D5.2030404@paz.bz> Date: Fri, 01 May 2015 14:02:13 -0700 From: Jim Pazarena User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: compiling static Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-local_scan: locally submitted (54) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2015 21:08:45 -0000 is there a way to tell cc (clang) to compile with static libraries? Since FBSD switched to clang away from gcc, I have never been able to figure out how to do this. Thanks!