X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <4621CB23.1090705@iki.fi> Date: Sun, 15 Apr 2007 09:50:11 +0300 From: Andris Pavenis User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: "DJGPP List (E-mail)" Subject: Re: Please help me compiling GCC/GPP 4.1.2 References: <1176555710 DOT 806593 DOT 33680 AT q75g2000hsh DOT googlegroups DOT com> <4620DC83 DOT 2020905 AT iki DOT fi> <1176568933 DOT 082780 DOT 248870 AT l77g2000hsb DOT googlegroups DOT com> <46210B4C DOT 3070602 AT iki DOT fi> <1176596256 DOT 617728 DOT 149040 AT n76g2000hsh DOT googlegroups DOT com> In-Reply-To: <1176596256.617728.149040@n76g2000hsh.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com simnav AT gmail DOT com kirjoitti: > On 14 Apr, 19:11, Andris Pavenis wrote: > >> Perhaps some binary package is missing. If You run djbuild.sh, then log files >> is created. You may be able to figure out what the problem is from log file. >> >> I'm not completely sure that the list of required packages in readme file is >> accurate (I did not build GCC-4.1.2 in fresh installation). > > Sorry I'm here again... I hope you can still help me... > > Makefile was not generated becauce I had a wrong bash version: > downloading the version indicated by readme I got makefile... but now > another problem comes up ! Executing djmake bootstrap I get this error > > Makefile:371: *** commands commence before first target. Stop. > > Row 371 and subseguents are little after all target definition and > contain > > @if target-libstdc++-v3 > TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++- > v3/.libs: > @endif target-libstdc++-v3 These lines should not be in top level Makefile. Something is wrong when running configure, but I cannot say what. Verify whether You are building on system that supports long file names (Win9X, WinME, Win2K, WinXP is OK, plain MS-DOS not. I don't know about FreeDos wven if it supports LFN) Also make sure that DJGPP bin directory is at the begin of DOS path and remove no needed directories from the path. > > Ident is correctly done by TAB chars. Taken by desperation I've tryed > to delete if and endif rows for this block and other similars, error > disappear but make notify me that all target is defined two times (one > is the target I previous said)... it doesn't seems normal. I used all > utils required by readme but if you say that can be wrong I really > don't know how to fix the problem... I'm considering the idea to > abandon and restart to use an old borland c++ compiler :( Editting generated Makefile is last effort which should not be abused. It will not unless You exactly know what You are doing. Andris PS. Are You using also Linux? If Yes it could be easier to build cross-compiler for required target i386-pc-msdosdjgpp. If the Linux distribution is RPM based, then needed RPMS are available