Date: Fri, 20 Jan 2017 21:40:29 +0000 From: spirals <spirals@eircom.net> To: freebsd-questions@freebsd.org Subject: BSD C Compiler to recompile many lines of K&R Whitebook C. Message-ID: <c2cd5a57-bfa8-e4e8-a4c8-243594a4bd22@eircom.net>
next in thread | raw e-mail | index | archive | help
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. :-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c2cd5a57-bfa8-e4e8-a4c8-243594a4bd22>