From owner-freebsd-x11@freebsd.org Tue Nov 24 07:53:43 2015 Return-Path: Delivered-To: freebsd-x11@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 AA521A35772 for ; Tue, 24 Nov 2015 07:53:43 +0000 (UTC) (envelope-from flo@snakeoilproductions.net) Received: from turad.lysandor.de (turad.lysandor.de [136.243.10.60]) (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 6DC881C33 for ; Tue, 24 Nov 2015 07:53:43 +0000 (UTC) (envelope-from flo@snakeoilproductions.net) Received: from localhost (localhost [127.0.0.1]) by turad.lysandor.de (Postfix) with ESMTP id 4D580AAC1A6; Tue, 24 Nov 2015 08:53:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at turad.lysandor.de Received: from turad.lysandor.de ([127.0.0.1]) by localhost (turad.lysandor.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a3gaxObmarMA; Tue, 24 Nov 2015 08:53:34 +0100 (CET) Received: from nachtschatten.purplekraken.com (x5f71ca49.dyn.telefonica.de [95.113.202.73]) (Authenticated sender: flo@snakeoilproductions.net) by turad.lysandor.de (Postfix) with ESMTPSA id B091AAAC177; Tue, 24 Nov 2015 08:53:34 +0100 (CET) Subject: Re: now here's a weird request, only about six years late To: Jules Gilbert , freebsd-x11@freebsd.org References: <56539537.30205@yahoo.com> From: Florian Limberger Message-ID: <56541786.7050201@snakeoilproductions.net> Date: Tue, 24 Nov 2015 08:53:42 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <56539537.30205@yahoo.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Nov 2015 07:53:43 -0000 Hi, On 23.11.15 23:37, Jules Gilbert via freebsd-x11 wrote: > I'm running FreeBSD v7.2, with library packages from 7.4. > > I did put up 10.2, and that came up fine with X, except I'm a C > developer and nothing I have seems to be compatible with the clang or > the gcc48 C compilers. Sigh. > > So for now I am stuck in v7.2 and I would very much like to run X. What platform are you targeting with your programs? Unless you are targeting really ancient systems with now long forgotten interfaces, you should be able to compile your C-Code with e.g. -std=c89. This solves most of the problems the code examples from my copy of “The UNIX Programming Environment” from 1984 have, save for system interfaces like ``sys_errlist``, which seem no longer provided in the fashion it was then. For gcc, there is also the ``-traditional-cpp`` option to use old CPP behaviour, but from my short testing it seems incompatible with the modern libc headers of FreeBSD. That said, old C had some hazardous aspects and ``-ansi`` has been there for a long time now, I honestly fail to understand why there still is software in use without it. Probably because I’m too young… If you decide to continue to use FreeBSD 7.2, you are essentially on your own, especially with respect to fast moving targets like X11, but as there are no security patches published, it even strikes me as dangerous to connect such a machine to the internet. So even if you are stuck with an ancient environment, you could still try to run it in a virtual machine on a more recent version of FreeBSD. Regards, florian