From owner-freebsd-questions@freebsd.org Fri Jan 20 21:46:22 2017 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 61EDFCBAB59 for ; Fri, 20 Jan 2017 21:46:22 +0000 (UTC) (envelope-from spirals@eircom.net) Received: from mta05.svc.cra.dublin.eircom.net (mta05.svc.cra.dublin.eircom.net [159.134.118.221]) by mx1.freebsd.org (Postfix) with SMTP id 01D8B1F9D for ; Fri, 20 Jan 2017 21:46:21 +0000 (UTC) (envelope-from spirals@eircom.net) Received: (qmail 25934 messnum 7340077 invoked from network[213.94.190.15/avas03.vendorsvc.cra.dublin.eircom.net]); 20 Jan 2017 21:39:38 -0000 Received: from avas03.vendorsvc.cra.dublin.eircom.net (HELO avas03) (213.94.190.15) by mta05.svc.cra.dublin.eircom.net (qp 25934) with SMTP; 20 Jan 2017 21:39:38 -0000 Received: from [172.30.1.11] ([86.40.145.112]) by Cloudmark Gateway with SMTP id UguIcAOP7rpNSUguIcWZvV; Fri, 20 Jan 2017 21:39:38 +0000 X-Spam-Flag: NO X-CNFS-Analysis: v=2.2 cv=XrKKARN9 c=1 sm=1 tr=0 a=sEdY1Zkko/QDSbtxVtqQqQ==:117 a=sEdY1Zkko/QDSbtxVtqQqQ==:17 a=IkcTkHD0fZMA:10 a=jOeQ0ZHNUWHCKvlD0AoA:9 a=QEXdDO2ut3YA:10 To: freebsd-questions@freebsd.org From: spirals Subject: BSD C Compiler to recompile many lines of K&R Whitebook C. Message-ID: Date: Fri, 20 Jan 2017 21:40:29 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfLuuT7z9kboxwOMF2nM/o7P4c3dpYFphlLvZaiXm6m8OOd0xoEHiG6sc3oPlSqgxVoL9gvo5pJhAqioAcjLb0eOkivR4rHz67X4ZZYlELHTZQ/oFsEs7 ghpok/rYApIN5PScTZ90Lc9oh+FJfFWMHFHzo2og3Hue3byqiPrjfOc06OuH9/CDw7mFtn084/Trxg== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2017 21:46:22 -0000 Hi All, I am a newcomer to your list, with a rather unusual question, and this is definitely not a windup folks. How far back in BSD releases would I need to get (the source code to build) a C compiler that will accept "bog standard" K&R Whitebook C (1st ed), rather than throwing the thousands of warnings and error messages the current gcc on Linux 7 (Wheezy) is doing. I ask this as I understand from reading the documents the FreeBSD compiler is based on gcc. I have not yet installed FreeBSD, but asking this question as part of a process of evaluating evaluating it, based on this specific requirement to compile K&R C. The K&R C consists of many lines of code known to compile clean and run OK when it was originally written. Thanks in advance for your time to read this, and any helpful advice provided. have a great day, OldBlueBear. :-)