From owner-freebsd-questions@freebsd.org Tue Apr 26 16:49:41 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 204B6B1C61D for ; Tue, 26 Apr 2016 16:49:41 +0000 (UTC) (envelope-from arnabbhowmick08@gmail.com) Received: from mail-ob0-x241.google.com (mail-ob0-x241.google.com [IPv6:2607:f8b0:4003:c01::241]) (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 DDCE81A9D for ; Tue, 26 Apr 2016 16:49:40 +0000 (UTC) (envelope-from arnabbhowmick08@gmail.com) Received: by mail-ob0-x241.google.com with SMTP id ds1so1294042obc.3 for ; Tue, 26 Apr 2016 09:49:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=t0bNnOcVtlwV8hH9BSUbgWDZCphcGHINSRoUa/0kmbQ=; b=pFf2D+lQwKfvjIs001RUtBAg5D2T3BUOYbYH41sSsx5goe47rF9p7m0TyTXNHN/YSm FI4i/HLZLM8E5sGOAKSJ2Ib2urXLF6Rmhscx0O5AzSK60vQTNqZyKCwKOEz2LRa9j9Ti OiGr3FOdv9DnexiOFieWq6Sd1ckW57H3zJxjWAyPI66n15rAzPlY/1aLqlFWSsoX8EWZ jMICM+WZLl3jgn1mncl3f6vS79HG0CsVvv7XUbkTG4NxORprRehVxhKLdsDbPauNf35Z gj+dcJ87ft+eEGfXwKddhHUrVRatlMBOHsohxRrk2niAgqTWxfyy3b0n6X8dfvanaP5W uWMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=t0bNnOcVtlwV8hH9BSUbgWDZCphcGHINSRoUa/0kmbQ=; b=caqBGxhwB/TxKhBe46Ni2Zpj+uEufWQPxyeF3KbaGZo+GmujOSj89mpmeNb6t4SSQG 6VgH1/XLlUh/hHkICNoataQeJRxJRVVOtMW01tN8KrHw4+5KS60s3phA3dKTsXJ8Qm+J 5kBM79xkJ2dJz+CsPgpxeR3CECAvAgXZ+be7J5+Vmv23Il3K+CRZEVyrVHy7H3g5dgDf ym1X9Szz2iEc9UvOmvrUNiR3FYdmbdlyQfMJXwAas5K0CnT6nfyK1TghwvSXY4CP8Ksu ck9f6ArBSzKXA06H0T3IMbr1fOTF4y8q/SE28eLJW0SPQtTuE/GUHoRnpzVLj+mLY8NI g3Hg== X-Gm-Message-State: AOPr4FVKoZ9OsHt8zxVTs/eAwgyS/GBuflaZj1lWOBjkL8E016fV7asp81s29v0APmkalcFSjOb/iGAJDDmAzQ== MIME-Version: 1.0 X-Received: by 10.182.103.107 with SMTP id fv11mr1485624obb.59.1461689380181; Tue, 26 Apr 2016 09:49:40 -0700 (PDT) Received: by 10.157.17.116 with HTTP; Tue, 26 Apr 2016 09:49:40 -0700 (PDT) Date: Tue, 26 Apr 2016 22:19:40 +0530 Message-ID: Subject: c compiling using clang From: Arnab Bhowmick To: freebsd-questions@freebsd.org 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: Tue, 26 Apr 2016 16:49:41 -0000 I am new to Freebsd. I want to practice c programming for my college projects. I have wrote some program but when i am trying to compile the program by using % cc filename.c its showing % not found. I went through the handbook but did not understand the process. Previously i have used clang compiler on Ununtu but i think that it is a little bit tricky to compile c under freebsd. Can anyone say how to resolve this?