tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Tiny C for DOS


From: address@hidden
Subject: Re: [Tinycc-devel] Tiny C for DOS
Date: Tue, 12 Jul 2005 06:31:20 -0700 (PDT)

yea, i've been too looking for a tiny-c version for
DOS, unfortunately.


--- BUDI ARIEF GUSANDI <address@hidden>
wrote:

> Dear All,
> 
> Is it possible to run TinyC in DOS ? what to do...
> 
> Regards,
> Budi
> 
> address@hidden wrote:
> 
> >Send Tinycc-devel mailing list submissions to
> >     address@hidden
> >
> >To subscribe or unsubscribe via the World Wide Web,
> visit
> >
>
http://lists.nongnu.org/mailman/listinfo/tinycc-devel
> >or, via email, send a message with subject or body
> 'help' to
> >     address@hidden
> >
> >You can reach the person managing the list at
> >     address@hidden
> >
> >When replying, please edit your Subject line so it
> is more specific
> >than "Re: Contents of Tinycc-devel digest..."
> >
> >
> >Today's Topics:
> >
> >   1. Re: [bug fix]typeof should ignore some
> attributes
> >      (Fabrice Bellard)
> >   2. Leading underscore in Windows C identifiers
> (Fabrice Bellard)
> >   3. $B40A4L5NA$NAG?M=PD%%[%9%H$N%"%k%P%$%H(B
> (address@hidden)
> >   4. Re: Free access to Lender Network (Polly
> Platt)
> >   5. casting bug?
> (address@hidden)
> >   6. Re: casting bug? (Felix Nawothnig)
> >   7. Re: casting bug? (Dave Dodge)
> >   8. Re: casting bug? (Felix Nawothnig)
> >   9. Re: casting bug? (Dave Dodge)
> >  10. Re: casting bug? (Greg Haerr)
> >  11. Re: casting bug? (Henrik Nordstrom)
> >
> >
>
>----------------------------------------------------------------------
> >
> >Message: 1
> >Date: Tue, 05 Jul 2005 23:37:46 +0200
> >From: Fabrice Bellard <address@hidden>
> >Subject: Re: [Tinycc-devel] [bug fix]typeof should
> ignore some
> >     attributes
> >To: Tao Wu <address@hidden>,
> address@hidden
> >Message-ID: <address@hidden>
> >Content-Type: text/plain; charset=us-ascii;
> format=flowed
> >
> >Tao Wu wrote:
> >  
> >
> >>Hi,
> >>   I think typeof should ignore some attributes
> like "external",
> >>otherwise the following code will not compile.
> >>
> >>...
> >>
> >>#define max(x,y) ({ \
> >>        const typeof(x) _x = (x);       \
> >>        const typeof(y) _y = (y);       \
> >>        (void) (&_x == &_y);            \
> >>        _x > _y ? _x : _y; }) ? _x : _y; })
> >>
> >>...
> >>extern int a;
> >>
> >>int b=max(a,4);
> >>
> >>the problem is that compiler can not parse "const
> extern int _x = (a);"
> >>
> >>the following patch should fix it, but I don't
> know whether I have
> >>ignored some attributes which should not be
> ignored by "typeof". But I
> >>think "exter"diff -urN tcc-0.9.23/tcc.c
> tcc-0.9.23-lepton/tcc.c
> >>--- tcc-0.9.23/tcc.c    2005-06-27
> 23:05:42.000000000 +0800
> >>+++ tcc-0.9.23-lepton/tcc.c     2005-06-27
> 01:34:12.000000000 +0800
> >>@@ -6690,7 +6690,7 @@
> >>         case TOK_ENUM:
> >>             struct_decl(&type1, VT_ENUM);
> >>         basic_type2:
> >>-            u = type1.t;
> >>+            u = type1.t &
>
>>(~(VT_EXTERN|VT_STATIC|VT_INLINE|VT_CONST|VT_VOLATILE));
> >>             type->ref = type1.ref;
> >>             goto basic_type1;
> >>         case TOK_STRUCT:
> >>    
> >>
> >
> >Ignoring const and volatile does not seem correct
> to me...
> >
> >Fabrice.
> >
> >
> >
> >
> >------------------------------
> >
> >Message: 2
> >Date: Fri, 08 Jul 2005 00:43:49 +0200
> >From: Fabrice Bellard <address@hidden>
> >Subject: [Tinycc-devel] Leading underscore in
> Windows C identifiers
> >To: address@hidden
> >Cc: address@hidden
> >Message-ID: <address@hidden>
> >Content-Type: text/plain; charset=us-ascii;
> format=flowed
> >
> >Hi,
> >
> >Another interesting Windows patch could be to
> generate underscores at 
> >the beginning of C identifiers. I added the
> -fleading-underscore option 
> >in TCC, but it is not enabled by default in the
> Windows case because I 
> >don't know what is the exact convention for
> exported DLL symbols. I 
> >think it would be easy for you to find a correct
> fix in the TCC PE file 
> >generator.
> >
> >Fabrice.
> >
> >
> >
> >
> >------------------------------
> >
> >Message: 3
> >Date: 8 Jul 2005 17:55:02 +0900
> >From: address@hidden
> >Subject: [Tinycc-devel]
> $B40A4L5NA$NAG?M=PD%%[%9%H$N%"%k%P%$%H(B
> >To: address@hidden
> >Message-ID:
> <address@hidden>
> >
> >$B(.(,(/(.(,(/(.(,(/(.(,(/(B
> >$B(-AG(-(-?M(-(-=P(-(-D%(-(B
> >$B(1(,(0(1(,(0(1(,(0(1(,(0(B
> >http://awg.webchu.com/?freehost
> >$B"(%[%9%HBgJg=8!J$*;n$740A4L5NAEPO?#O#K!*!K(B
>
>$B"($9$Y$F%(address@hidden;W$$$r$7$F>.8/$$2T$.!*(B
>
>$B"($*Aj<j$O(B10$BBe!&#O#L!&address@hidden&@lLg3X9;@8!&<c:J!&=O=w!&IwB/>n!&#S>n!&#M>n!&(B
> >$B%J!<%9!&%9%C%A!<$J$I(B
> >$B(.(,(/(.(,(/(.(,(/(.(,(/(B
> >$B(-40(-(-A4(-(-L5(-(-NA(-(B
> >$B(1(,(0(1(,(0(1(,(0(1(,(0(B
> >http://awg.webchu.com/?freehost
> >$B(.(,(/(.(,(/(B
> >$B(-$*;n$7#O#K(-(B
> >$B(1(,(0(1(,(0(B
>
>$B"(;E;v$N9g4V!"5YF|$rMxMQ$7$F<}F~%"%C%W$r$7$^$;$s$+!*D64JC1$JI{6H$G$9!#(B
> >$B!y5.J}$b%j%C%A$K$J$j$^$;$s$+!)(B
> >http://awg.webchu.com/?freehost
> >
> >$B!a!&!a!&!a!&!a!&!a!&!a!&!a!&!a!&!a!&!a!&!a(B
> >$B:#8e!"<u?.$r5qH]$9$k>l9g$OJV?.2<$5$$!#(B
> >address@hidden
> >$B!a!&!a!&!a!&!a!&!a!&!a!&!a!&!a!&!a!&!a!&!a(B
> >
> >18$B:PL$K~$OMxMQ6X;_$G$9!#(B
> >
> >
> >
> >
> >------------------------------
> >
> >Message: 4
> >Date: Sun, 10 Jul 2005 03:19:33 -0100
> >From: "Polly Platt" <address@hidden>
> >Subject: [Tinycc-devel] Re: Free access to Lender
> Network
> >To: address@hidden
> >Message-ID: <address@hidden>
> >Content-Type: text/plain; charset="us-ascii"
> >
> 
=== message truncated ===


Woodzy
http://www.rtdos.com


                
____________________________________________________
Sell on Yahoo! Auctions – no fees. Bid on great items.  
http://auctions.yahoo.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]