From owner-freebsd-hackers Tue Feb 17 00:48:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA07623 for freebsd-hackers-outgoing; Tue, 17 Feb 1998 00:48:06 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cam.grad.kiev.ua (grad-UTC-28k8.ukrtel.net [195.5.25.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA07590; Tue, 17 Feb 1998 00:47:58 -0800 (PST) (envelope-from Ruslan@Shevchenko.kiev.ua) Received: from Shevchenko.kiev.ua (localhost [127.0.0.1]) by cam.grad.kiev.ua (8.8.8/8.8.5) with ESMTP id MAA03137; Mon, 16 Feb 1998 12:43:14 +0200 (EET) Message-ID: <34E81835.575C6296@Shevchenko.kiev.ua> Date: Mon, 16 Feb 1998 12:43:06 +0200 From: Ruslan Shevchenko Reply-To: rssh@grad.kiev.ua X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.5-STABLE i386) MIME-Version: 1.0 To: Robert Nordier CC: rssh@grad.kiev.ua, hsu@idiom.com, freebsd-ports@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: ANNOUNCE: TenDRA C/C++ compiler (fwd) References: <199802162204.AAA04038@eac.iafrica.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Robert Nordier wrote: > Ruslan Shevchenko wrote: > > ? Jeffrey Hsu wrote: > ? > ? ? Anyone feel up to a new compiler port? > ? ? > ? > ? Just ported it to SCO Open Server (it's differs from SCO 3 for TenDRA). > ? > ? [ ...] > > I have been using it on a FreeBSD 2.2.5-RELEASE box here for the last two > days. I haven't checked the C++ side of things, but as a C compiler it's > impressive. > > ? In principle, porting is not very hard, but few aspects: > ? 1. tcc is POSIX ISO compiler. > ? it mean, that we must modify our includes (i.e. /usr/include/*) > ? to be ISO compliant in case __TCC__, and correct handle some > ? TenDRA specific stuff. > ? or write specific includes for TCC ( which, in generally, very bad) > ? So, if we want to create command for tcc porting, We must have something > ? with commit privelegies. > > Actually, no. One of the main design features of TenDRA is that you > *don't* have to modify system headers (you modify API definitions > instead). This means you can write (say) SVID3 programs, even if your > libraries aren't particularly SVID compatible. (I just compiled a > whole bunch of UNIX95 API programs, even though FreeBSD's UNIX95 API > support is rather limited.) > Problem not in API, but in language: 1. wchar_t must not be defined when we use headers in __cplusplus mode by TenDRA. (on SCO_SV it was the main problem) 2. The same with bool 3. all variables must have linked type. 4. empty blocks in C++ {}; now is illegal, I'm not shure, is our _BEGIN_DECL and _END_DECL do the correct things. > My impression is that the TenDRA compiler is a really important addition > to free software, and deserves a lot of attention from anyone interested > in portability across UNIX systems, or in the various ANSI/ISO, POSIX, > XPG standards ... or just in a very solid, non-GPLed compiler. > Yes. > -- > Robert Nordier > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- @= //RSSH mailto:Ruslan@Shevchenko.Kiev.UA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message