X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: LM Newsgroups: comp.os.msdos.djgpp Subject: Re: problems with gnu configure on djgpp Date: Sat, 13 Jun 2009 09:32:19 -0700 (PDT) Organization: http://groups.google.com Lines: 53 Message-ID: <6064859a-14d6-4a65-bd03-cf1665174145@r31g2000prh.googlegroups.com> References: <508a729d-3b21-4140-8da0-c2061e93c559 AT p21g2000prn DOT googlegroups DOT com> <431e1856-7427-437e-9aab-1e19e38905be AT s12g2000yqi DOT googlegroups DOT com> NNTP-Posting-Host: 4.131.105.162 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1244910739 30301 127.0.0.1 (13 Jun 2009 16:32:19 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Sat, 13 Jun 2009 16:32:19 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: r31g2000prh.googlegroups.com; posting-host=4.131.105.162; posting-account=VsNKRQoAAAAMJCkMxg5jb7yaYTEnz5s5 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1),gzip(gfe),gzip(gfe) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: >Install every package in v2gnu, and you should be set up. Didn't install every single package from there, but tried to get every one I thought was relevant. Maybe I missed one that was important? Took down most of them, but did not have the time to download everything. I did not miss installing gcc and gawk though. They are there. Script just can't find them. > The script was not written with portability to DOS/Windows in > mind. Very likely. When I build something that says it has a djgpp port, seems to be working fine. Funny thing, I have a program that I can build with djgpp (and it runs fine) if I borrow the makefiles and some other files from a mingw build, but I could not get djgpp to generate those makefiles on its own. Any tips on porting if configure script was not intended for djgpp? Am trying to stick with cross-platform programs that I've managed to get working on both mingw and Linux gcc, so they theoretically should work on djgpp, unless there's some specific functionality missing. Rugxulo wrote: >"./configure CC=gcc AWK=gawk" Will give it a try, although I did try export 'CC=gcc' in the djgpp bash shell before running. Didn't seem to make a difference. Eli Zaretskii wrote: >Windows XP does not need any Registry settings to support long file >names. The FAQ advice is for older Windows versions. Are you sure about this? Some of the programs I was trying would not build until I switched the registry setting over. I spent a couple of hours debugging and realized it was using the short file name instead of the long one at some point. When it truncated the long file name to 8.3, the tilde-number kept it from finding the file. As soon as I switched the registry setting, it was able to truncate to a meaningful short file name from the long file name in the script and find the files properly. Don't remember exactly which part of the process was having the trouble, but I do know I can't the script to work properly without it. I believe I was having some trouble with cp in bash and long file names as well. Thanks. Sincerely, Laura http://www.distasis.com/cpp