delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2013/12/15/07:05:40

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Message-ID: <52AD9B08.1040501@iki.fi>
Date: Sun, 15 Dec 2013 14:05:28 +0200
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Attempts to build GCC under DOSEMU
Reply-To: djgpp-workers AT delorie DOT com

I'm trying to build gcc-4.8.2 under DOSEMU (in Fedora 19 x86_64)

1) The first problem was that top level configure script failed
when trying to run config.status. Narrowed down the problem to
the starting sed:

simplified example:

sed -e 's:foo:bar:g' </dev/null

worked OK (empty output) in DOS session under Windows Vista,
but outputed garbage under Dosemu. Rebuilding sed using
current DJGPP CVS version did not help. However upgrading
FreeDOS image to FreeDOS-1.1 did, so after that top level
configure finished OK

2) The second problem was creating config.status in gcc
subdirectory. In this case

awk 'BEGIN {getline < "/dev/null"}'

gets stuck (with FreeDOS-1.1). One can try one of the following:
echo "" | awk 'BEGIN  {getline < "/dev/null"}'
awk 'BEGIN  {getline < "/dev/null"}' </dev/null

Perhaps the next step would be to rebuild awk and try
to debug the problem.

I do not know whether one have similar problems when
using FreeDOS 1.1 directly or in virtual machine.

Andris

- Raw text -


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