Deutsch   English   Français   Italiano  
<b523fe393f88efee4d446c27c7dc8a455a10e331@i2pn2.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail
From: fir <profesor.fir@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: 80386 C compiler
Date: Sun, 24 Nov 2024 18:58:14 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <b523fe393f88efee4d446c27c7dc8a455a10e331@i2pn2.org>
References: <vhvbhf$28opb$1@dont-email.me>
 <cb7873a392cbcd3a9595ff0a4d534e7a2bd71040@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 24 Nov 2024 17:58:15 -0000 (UTC)
Injection-Info: i2pn2.org;
	logging-data="3950626"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="+ydHcGjgSeBt3Wz3WTfKefUptpAWaXduqfw5xdfsuS0";
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:91.0) Gecko/20100101
 Firefox/91.0 SeaMonkey/2.53.19
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <cb7873a392cbcd3a9595ff0a4d534e7a2bd71040@i2pn2.org>
Bytes: 3383
Lines: 56

fir pisze:
> Paul Edwards pisze:
>> Hi.
>>
>> I have been after a public domain C compiler for decades.
>> None of them reach C90 compliance. SubC comes the
>> closest but was written without full use of C90, which
>> makes it difficult to read. I'm after C90 written in C90.
>>
>> A number of people have tried, but they always seem
>> to fall short. One of those attempts is pdcc. The
>> preprocessor was done, but the attempt (by someone
>> else) to add C code generation was abandoned.
>>
>> I decided to take a look at it, and it looks to me like
>> a significant amount of work has already been done.
>>
>> Also, my scope is limited - I am only after enough
>> functionality to get my 80386 OS (PDOS) compiled,
>> and I don't mind short=int=long = 32 bits, I don't
>> mind not having float. I don't use bitfields.
>>
>> Anyway, I have had some success in making enhancements
>> to it, and here is one:
>>
>> https://sourceforge.net/p/pdos/gitcode/ci/3356e623785e2c2e16c28c5bf8737e72df 
>>
>> d39e04/
>>
>> But I don't really know what I'm doing (I do know some
>> of the theory - but this is a particular design).
>>
>> E.g. now that I have managed to get a variable passed to
>> a function, I now want the address of that variable passed
>> to the function - ie I want to do &x instead of x - and I am
>> not sure whether to create a new ADDRESS type, or
>> whether it is part of VARREF or what - in the original
>> (incomplete) concept. Or CC_EXPR_AMPERSAND.
>>
>> I am happy to do the actual coding work - I'm just looking
>> for some nudges in the right direction if anyone can assist.
>>
>> Thanks. Paul.
>>
>>
> you mean there is no such a compiler? rise a fund for some to
> write it and they will write it..and if few thousand of people
> will give some money there it will be written

c compiler imo needes something like about form few months to about year
of coding of 1 person probably if he is somewhat experienced and healthy
so the cost i would probably estimate as prbably something like from 
100k maybe 200k maybe 300 k dollars/euros depending on things
(raw cost imo could be more like 100-150k maybe but the risk/taxes etc
could increase it, on the other thing there are people probably able to 
do things cheap)
  (im not a merchant so i dont know but something as this estimation imo)