X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=MbNFhHbIajAysK3sxuGRE/sndFHPTMFy3YwyGMqJRmE=; b=YtetSydX47kzuiclZNnQoFpYt1FBD+vlEYB6lf8umJGrsaLHHLMREvGt1CIXSAwxfL 5sE2tCNxnF2exgmijgNsw/GAMmdyAaPqeeRkGZex0KBZKDp/ePH0bsiAbcNCRym8wGcL K0UpjPxGTMk9j7UczLhMuuqkY+NX+8jffyDUmyY6qGg04nN3ZguHqXzmuaBXBwgjmzAY zIZOw/k1xPMvIbEaxKUTzLDbEPbCDhqmR2H2gLGsqhN4WYmc5lnmZXdyobrs035ca0Pq y+5v5e/dctQmMbZD/ejDVwnhgdZ4TFhxZVNqTnPKqlhN7HzUZJoDpBvYx9XJtLUYlZZB XrRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:autocrypt:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=MbNFhHbIajAysK3sxuGRE/sndFHPTMFy3YwyGMqJRmE=; b=ERRQNZjQjk0XWcX/2N3nfzqk6W0k6kXBwTlDVYQtnBi1Rmdr/23qUzu3IH+gcx72M1 gUBzHPGkYmExKowMywBQk5l4MOLfL5CC8ct5iN6Fl246dgtf7D8vY/z5VzBIrztCZ0xV TMnsqYgMHXcnvQBmwqnnJsk5kTHeK7tv7FLrgNIYzvYU7I89InHVBh/fxcsrwO4//W7P ScoTiMlEvn6klZjaTxi1jLHv9dTd02V8f+Vg0BFZVrR4tyJjL6bCD+mT21c74ltQaXJm 8RJJGhu8IWQoKKBoUobnEVVfErvcOxnN/Pi0EK7Bh9TZUkcb69sw4CGsHX8jyX3iUeDm IvDA== X-Gm-Message-State: AOAM530jlUL3MwDOO2dpGX8x6TonwfBuM+1Ws2+jxFJUr0hYlsUDM1xM OtGExUjIqPArxvJrARxO9G6gZUZeg0c= X-Google-Smtp-Source: ABdhPJwlW5K2rGLjTnLNi945m1rFdfQ3zhoNtDg3ggKzgfSjGyIctT1FkRaf7/E0zIY992qDeRfR6g== X-Received: by 2002:a1c:48c2:: with SMTP id v185mr7962573wma.5.1598818378551; Sun, 30 Aug 2020 13:12:58 -0700 (PDT) Subject: Re: SIGSEGV when trying to compile helloworld To: djgpp AT delorie DOT com References: <835z90xgab DOT fsf AT gnu DOT org> <833644xdzz DOT fsf AT gnu DOT org> From: "J.W. Jagersma (jwjagersma AT gmail DOT com) [via djgpp AT delorie DOT com]" Autocrypt: addr=jwjagersma AT gmail DOT com; prefer-encrypt=mutual; keydata= mDMEXhi1ExYJKwYBBAHaRw8BAQdA9qbt9Q5t7s4Ovzkz4b/EjJzA01Q3Gc5aw5Ex/jnLcWe0 JEouVy4gSmFnZXJzbWEgPGp3amFnZXJzbWFAZ21haWwuY29tPoiWBBMWCAA+BQkDwmcABQsJ CAcCBhUKCQgLAgQWAgMBAh4BAheAFiEExhhX4zdeugueWF00yAc0TVN7YrQFAl9JfvACGwMA CgkQyAc0TVN7YrR9KwEAmx5Oo3wD6RhbqkJ2zDk9K8dbOViT9Dw24YDfGvdBBFIA/it5Nsen EWx+S8YoyL+1WpaoFMDaeWBXF0LC3qGrE10CuDgEXhi1lRIKKwYBBAGXVQEFAQEHQD8nC6gQ Y2stknYM7V6KD3dpHw/11tvrX7Dj8H18QgdWAwEIB4h+BBgWCAAmFiEExhhX4zdeugueWF00 yAc0TVN7YrQFAl4YtZUCGwwFCQPCZwAACgkQyAc0TVN7YrQoDAEA3i5KP0wJHxqh5q5ZsUvM Ds6WBRZPlUHxx67K3u9us6kBAKuRu2EBXAEUEQut+l43TGtnbOBgybHBm9YeYQj1j4ULuDME X0l+9hYJKwYBBAHaRw8BAQdASfaopq3nAADOJihwCTP2GY8Wmlc4LtPTD5wQpvU//jyI9QQY FggAJhYhBMYYV+M3XroLnlhdNMgHNE1Te2K0BQJfSX72AhsCBQkDwmcAAIEJEMgHNE1Te2K0 diAEGRYIAB0WIQT4wGX4qHoeprF6ZvRDi/gbp1EMVAUCX0l+9gAKCRBDi/gbp1EMVIAsAP4u O4DKKjbP6F4ewv83kOOcqS9U+HuNrDqQRMNc7TxruQEA18lWkwg5S/eB1RvKMaHy7Ljz4Tkw Qi/hFR5kF7zfqA6nqgEA7JaSheUzXWCDzIKD/74yv6PO6fnCgOB9F5EWwkav77EBAJjG8+CN rXhnlIUTUS0PVUWx7N7E8yqfe7d86zMSkZMA Message-ID: <2b91c971-34a6-0f89-8d32-0bba1dddb4f7@gmail.com> Date: Sun, 30 Aug 2020 22:12:56 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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 Precedence: bulk On 2020-08-30 21:02, sleepy_dog AT gmx DOT de [via djgpp AT delorie DOT com] wrote: > Hi, > >> I thought he was running DJGPP under DOSBox and not directly under Windows 7. > > No no, I planned to make the programs run under DOSbox, but compiling is from within windows. > I guess for debugging I would have to use RHIDE within DOSbox, esp. because Graphics modes are involved. > But I'd prefer not to use it as an actual editor. What you'll want to use is a cross-compiler. You can find prebuilt cross- toolchain packages for a number of GNU/Linux distros online, or use a toolchain build script (I maintain one on Github, called build-gcc). >> How about trying some other kind of virtual machine, eg. QEMU or VMWare? > > I was now thinking of running a VirtualBox WinXp32 image on my system, > with a shared folder for the sources, and a build script I trigger manually. > That would be somewhat workable, I guess. > > I have no experience with QEMU or VMWare, and interoperability with > stuff that runs on the host system. I would recommend DOSBox-X, which tries to accurately emulate all the ins and outs of a complete DOS system, and is specifically geared towards development on the platform.