Mail Archives: djgpp/2007/04/15/02:52:47
simnav AT gmail DOT com kirjoitti:
> On 14 Apr, 19:11, Andris Pavenis <andris DOT pave DOT DOT DOT AT iki DOT fi> 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
- Raw text -