Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #55372

Re: A data type for a wider integer than the compiler supports

From Les Cargill <lcargill99@comcast.com>
Newsgroups comp.lang.c
Subject Re: A data type for a wider integer than the compiler supports
Date 2014-12-23 14:46 -0600
Organization A noiseless patient Spider
Message-ID <m7ck70$vnn$1@dont-email.me> (permalink)
References (2 earlier) <m79gl4$4p3$1@dont-email.me> <1bug9apk069qc21im6gcej6gl3b0ijnsr4@4ax.com> <m7akqq$359$1@speranza.aioe.org> <5psh9alh6vfhuqib2n42hi157hd985ndom@4ax.com> <m7bhvu$jd1$1@dont-email.me>

Show all headers | View raw


James Harris wrote:
> "Robert Wessel" <robertwessel2@yahoo.com> wrote in message
> news:5psh9alh6vfhuqib2n42hi157hd985ndom@4ax.com...
>> On Tue, 23 Dec 2014 02:42:34 -0000, "James Harris"
>> <james.harris.1@gmail.com> wrote:
>
> ...
>
>>> I'd welcome being pointed to a better compiler if there is one but I have
>>> asked here before. Requirements are basically to produce x86 real mode
>>> (i.e.
>>> 16-bit) output and run on Linux. Unfortunately gcc will produce 32-bit and
>>> 64-bit but not 16-bit. Most other 8086-producing compilers seem to run
>>> under
>>> DOS or Windows. Open Watcom C is supposed to have a Unix port but I could
>>> not get it to work. So I've been using bcc.
>>
>>
>> Most of the DOS ones should run under DOSBox.  Heck you could use
>> Borland's 16 bit compiler, and still be using bcc!  ;-)
>>
>> http://www.dosbox.com/wiki/Software:Borland_Turbo_C
>>
>> DOSEMU also exists, but I've never used it.
>
> That's an intriguing idea. I would need to control the compiler from the
> Linux command line and have it access Linux files but DOSEMU seems as though
> it *might* allow that:
>
>    http://www.dosemu.org/docs/README/1.4/x724.html
>

Bizarre :)

> Any recommendations for a DOS-based ANSI C compiler? (I'm not sure if you
> were recommending Borland or just mentioning it.)

As I recall, Borland is a subset of ANSI. It may well be full ANSI and
I just don't remember.

> The compiler would need to
> be controllable from the command line as there will be no GUI.
>
> Incidentally, I found another C compiler called bcc so there are at least
> three of them with the same name!
>
>    http://www.gaisler.com/index.php/products?option=com_content&task=view&id=147
>
> James
>
>

-- 
Les Cargill

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

A data type for a wider integer than the compiler supports "James Harris" <james.harris.1@gmail.com> - 2014-12-17 10:04 +0000
  Re: A data type for a wider integer than the compiler supports Robert Wessel <robertwessel2@yahoo.com> - 2014-12-18 02:48 -0600
    Re: A data type for a wider integer than the compiler supports "James Harris" <james.harris.1@gmail.com> - 2014-12-18 14:30 +0000
      Re: A data type for a wider integer than the compiler supports bert <bert.hutchings@btinternet.com> - 2014-12-18 11:49 -0800
      Re: A data type for a wider integer than the compiler supports Robert Wessel <robertwessel2@yahoo.com> - 2014-12-18 14:27 -0600
        Re: A data type for a wider integer than the compiler supports "James Harris" <james.harris.1@gmail.com> - 2015-01-27 16:30 +0000
          Re: A data type for a wider integer than the compiler supports Thomas Richter <thor@math.tu-berlin.de> - 2015-01-29 15:53 +0100
            Re: A data type for a wider integer than the compiler supports Bartc <bc@freeuk.com> - 2015-01-29 17:33 +0000
              Re: A data type for a wider integer than the compiler supports Richard Heathfield <invalid@see.sig.invalid> - 2015-01-29 17:52 +0000
                Re: A data type for a wider integer than the compiler supports Bartc <bc@freeuk.com> - 2015-01-29 18:24 +0000
                Re: A data type for a wider integer than the compiler supports Richard Heathfield <invalid@see.sig.invalid> - 2015-01-29 18:42 +0000
            Re: A data type for a wider integer than the compiler supports "James Harris" <james.harris.1@gmail.com> - 2015-01-30 09:56 +0000
              Re: A data type for a wider integer than the compiler supports Richard Heathfield <invalid@see.sig.invalid> - 2015-01-30 10:13 +0000
                Re: A data type for a wider integer than the compiler supports "James Harris" <james.harris.1@gmail.com> - 2015-01-30 13:21 +0000
                Re: A data type for a wider integer than the compiler supports Greg Martin <greg.at.softsprocket@dot.com> - 2015-01-30 14:16 +0000
                Re: A data type for a wider integer than the compiler supports Thomas Richter <thor@math.tu-berlin.de> - 2015-02-01 08:54 +0100
            Re: A data type for a wider integer than the compiler supports Richard Heathfield <invalid@see.sig.invalid> - 2015-01-30 10:17 +0000
  Re: A data type for a wider integer than the compiler supports BartC <bc@freeuk.com> - 2014-12-18 10:13 +0000
    Re: A data type for a wider integer than the compiler supports BartC <bc@freeuk.com> - 2014-12-18 12:34 +0000
    Re: A data type for a wider integer than the compiler supports "James Harris" <james.harris.1@gmail.com> - 2014-12-18 15:06 +0000
  Re: A data type for a wider integer than the compiler supports Nobody <nobody@nowhere.invalid> - 2014-12-18 10:27 +0000
    Re: A data type for a wider integer than the compiler supports Robert Wessel <robertwessel2@yahoo.com> - 2014-12-18 04:44 -0600
      Re: A data type for a wider integer than the compiler supports "James Harris" <james.harris.1@gmail.com> - 2014-12-18 15:21 +0000
        Re: A data type for a wider integer than the compiler supports Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-12-18 20:33 +0000
          Re: A data type for a wider integer than the compiler supports "James Harris" <james.harris.1@gmail.com> - 2014-12-22 16:25 +0000
            Re: A data type for a wider integer than the compiler supports Robert Wessel <robertwessel2@yahoo.com> - 2014-12-22 14:38 -0600
              Re: A data type for a wider integer than the compiler supports Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-12-22 21:14 +0000
              Re: A data type for a wider integer than the compiler supports "James Harris" <james.harris.1@gmail.com> - 2014-12-23 02:42 +0000
                Re: A data type for a wider integer than the compiler supports Robert Wessel <robertwessel2@yahoo.com> - 2014-12-22 22:52 -0600
                Re: A data type for a wider integer than the compiler supports "James Harris" <james.harris.1@gmail.com> - 2014-12-23 11:00 +0000
                Re: A data type for a wider integer than the compiler supports Les Cargill <lcargill99@comcast.com> - 2014-12-23 14:46 -0600
                Re: A data type for a wider integer than the compiler supports Robert Wessel <robertwessel2@yahoo.com> - 2014-12-24 05:21 -0600
                Re: A data type for a wider integer than the compiler supports David Brown <david.brown@hesbynett.no> - 2014-12-23 08:13 +0100
            Re: A data type for a wider integer than the compiler supports Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-12-22 20:02 +0000
              Re: A data type for a wider integer than the compiler supports "James Harris" <james.harris.1@gmail.com> - 2014-12-23 02:33 +0000
                Re: A data type for a wider integer than the compiler supports Robert Wessel <robertwessel2@yahoo.com> - 2014-12-22 23:05 -0600
                Re: A data type for a wider integer than the compiler supports Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-12-23 09:57 +0000
                Re: A data type for a wider integer than the compiler supports "James Harris" <james.harris.1@gmail.com> - 2014-12-23 10:49 +0000
            Re: A data type for a wider integer than the compiler supports Kaz Kylheku <kaz@kylheku.com> - 2014-12-22 21:18 +0000
    Re: A data type for a wider integer than the compiler supports Keith Thompson <kst-u@mib.org> - 2014-12-18 10:12 -0800
  Re: A data type for a wider integer than the compiler supports Vincenzo Mercuri <nomail@yahoo.it> - 2014-12-18 18:52 +0100
    Re: A data type for a wider integer than the compiler supports "James Harris" <james.harris.1@gmail.com> - 2014-12-18 18:17 +0000

csiph-web