Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 1998 12:43:06 +0200
From:      Ruslan Shevchenko <Ruslan@Shevchenko.kiev.ua>
To:        Robert Nordier <rnordier@iafrica.com>
Cc:        rssh@grad.kiev.ua, hsu@idiom.com, freebsd-ports@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: ANNOUNCE: TenDRA C/C++ compiler (fwd)
Message-ID:  <34E81835.575C6296@Shevchenko.kiev.ua>
References:  <199802162204.AAA04038@eac.iafrica.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34E81835.575C6296>