[Wine] Running Turbo C
geoff at dyalog.com
Tue Jul 11 05:59:00 CDT 2006
I suggest you check how compliant Turbo C is with the standards. The first
C standard was ISO 9899:1990 and is normally described as ANSI C. Turbo C
from the period you are talking about may be reasonably compliant with
that. The second C standard is ISO 9899:1999 and I think this is the
current standard. Most C compilers now comply with that (with the notable
exception of Microsoft which does not comply in a number of annoying
things, mostly to do with include files and external library definitions).
A gcc based solution would comply although it is sometimes pedantically
don't do this.
objects to the unclosed quoted string.
extern void foo(void);
static void foo(void)
objects to the change from extern to static. Still objects if the first
line doesn't contain "extern".
At 2006-07-11 11:20 +0200, Legine wrote:
>Dotan Cohen schrieb:
> > On 11/07/06, CptDondo <yan at nsoesipnaemr.com> wrote:
> >> Dotan Cohen wrote:
> >> > Well, I do need to run them under the IDE. Otherwise I could just use
> >> > Kate and gcc.
> >> >
> >> > For that matter, is there not a native linux app that lets one compile
> >> > and run (an IDE)? I've tried Eclipse and Ajunta, but they don't seem
> >> > to do C.
> >> OK, I am confused....
> >> Are you trying to build a dos executable using Turbo C or a linux
> >> executable using gcc?
> > I'm trying to learn C in the university!
> > I don't really care where the program _can_ run, only that I can run
> > it from within the IDE. We're learning pointers and arrays and
> > recursive functions. We are not learning to build GUIs. So I can use
> > whatever compiles ANSI C, so long as it compiles from within the IDE
> > because I'll make five hundred small changes and I need to run after
> > each change.
>Hmm, gcc supports ANSI c if I trust Wikipedia :D. so you should be fine
>with the standrad gcc compiler.
> > So I'd prefer to use Turbo C so that I can be compatable with the rest
> > of the fools in the course who come over to do HW and cry when they
> > see a penguin. However, if there is something _similar_ native to
> > linux that this newbie can install, I'd love to try it.
>I heared a lot of good things about Code::Blocks (www.codeblocks.org)
>A full featured C / C ++ IDE based on gcc, but supports differnet modern
>compilers (MSVC++, Digital Mars, Borland C++ 5.5, Open Watcom), too.
>It can compile code within the IDE and comes with neat features.
>Works on Windows and Linux so there is a change you can confince others
>(your professor? ;) ) to swich to gcc and Code::Blocks.
>Of course all Open Source. :D
>Here you find help setting codeblocks up for your distribution:
>Hope it helps
>wine-users mailing list
>wine-users at winehq.org
More information about the wine-users