delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/12/02/19:15:17

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.66.17.234 with SMTP id r10mr1787092pad.40.1386028490578;
Mon, 02 Dec 2013 15:54:50 -0800 (PST)
X-Received: by 10.49.49.232 with SMTP id x8mr131069qen.13.1386028490527; Mon,
02 Dec 2013 15:54:50 -0800 (PST)
Newsgroups: comp.os.msdos.djgpp
Date: Mon, 2 Dec 2013 15:54:50 -0800 (PST)
In-Reply-To: <90bff299-a8c0-42fc-a7ca-1eee4ab49085@googlegroups.com>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
NNTP-Posting-Host: 65.13.115.246
References: <90bff299-a8c0-42fc-a7ca-1eee4ab49085 AT googlegroups DOT com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a150652e-4cb6-4e23-88d6-25a3daf156dc@googlegroups.com>
Subject: Re: Bugs in compilator...
From: rugxulo AT gmail DOT com
Injection-Date: Mon, 02 Dec 2013 23:54:50 +0000
Bytes: 3132
Lines: 42
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi,

On Sunday, December 1, 2013 7:21:12 AM UTC-6, MIkael Ljungberg wrote:
>
> I have DJGPP in my DOS Box,

Which host OS are you talking about? "DOSBox" is a software emulator
(486 DX2) with a fake DOS, so it's not really recommended for using
DJGPP there. DOSEMU is sometimes called "DOS in a box", and even
NTVDM was often called "the DOS box", but these are entirely
different things.

> I did install gcc473b.zip and gpp473b.zip.

From Zip Picker (/current/), I presume? (/beta/ has 4.8.2.)

> But I wrote a little C program, and did got internal compiler error.
> So I did think a little about that problem.

Make sure to read README.1ST as you may have configured it incorrectly.
At minimum, you need gcc*b.zip, bnu*b.zip, djdev*.zip and have to set
%PATH% and %DJGPP% environment variables. And latest GCCs are somewhat
picky about which BinUtils they support, so make sure you're using an
appropriate version (presumably latest).

> Then to the internet
> computer and downloaded gcc323b.zip and gpp323b.zip, burned them on a
> CD. Copied files to my DOS Box, and zipped up them and overwrite the
> other. And now can I compile my C++ or C program, there is not allways
> the newest versions who is the best. So now can I make programms with
> my DJGPP GNU software in my DOS box, it's fun can I say.

I hate to always harp on this, but there just aren't a lot of volunteers
for DJGPP anymore. So there may be regressions, it's totally possible.
And I personally can't recommend one single GCC version as a panacea
for all programming needs. But you can always install more than one
(as I do) and use both for different needs. (4.2.3 was last to still
have some /backward/ headers, IIRC.)

However, without knowing any project examples or specific source snippets
or knowing more about your environment, it's impossible to know what
you did wrong or what doesn't work. I don't really think "current"'s
4.7.3 is broken, so I think you should try again.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019