X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Newsgroups: comp.os.msdos.djgpp References: <3nghfcF1dl5mU1 AT news DOT dfncis DOT de> <3ngq8kF1f7k6U1 AT news DOT dfncis DOT de> Subject: Re: [OT]Compiling STL lib Lines: 62 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.3790.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Message-ID: Date: Mon, 29 Aug 2005 16:55:54 GMT NNTP-Posting-Host: 82.54.144.40 X-Complaints-To: "Please send abuse reports to abuse AT tin DOT it and technical notifications to newsmaster AT tin DOT it" X-Trace: news4.tin.it 1125334554 82.54.144.40 (Mon, 29 Aug 2005 18:55:54 MET DST) NNTP-Posting-Date: Mon, 29 Aug 2005 18:55:54 MET DST Organization: TIN To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Hans-Bernhard Broeker" ha scritto nel messaggio news:3ngq8kF1f7k6U1 AT news DOT dfncis DOT de... > MisterNO AT x DOT x wrote: > > [Note: I fixed line wraps for legibility] > > > C:\STLport-4.6.2\src>C:\Mydir\Djgpp\bin\make \ > > --file C:\STLport-4.6.2\src\djgpp.mak prepare > > You shouldn't have to type in the full path to make like that. > I.e. typing > > make -f djgpp.mak prepare > > instead of the above should work just as well. If it produces > different behaviour, your DJGPP installation is probably unusable as > it is. In particular, there could be other compiler packages > preceding c:\mydir\djgpp\bin on the PATH, which are bad news in this > situation. > > [...] > > "To build and use STLport iostreams, please do : make -f > > all." > [...] > > > C:\STLPOR~1.2\src>copy C:\STLport-4.6.2\src\djgpp.mak > > c:\STLport-4.6.2\src\makefile > > Why copy it? It didn't tell you to do so in the instructions. OK > > And again, typing in full path names is unlikely to improve things in any > way, compared to the simpler and more obvious > > copy djgpp.mak makefile > > > gcc -I../stlport -W -Wno-sign-compare -Wno-unused -Wno-uninitialized \ > > -ftemplate-depth-32 -mbnu210 -O2 dll_main.cpp -c \ > > -o ../lib/obj/DJGPP/Release/dll_main.o > > cc1plus.exe: error: invalid option 'bnu210' > > The error is clearly in that makefile. '-mbnu210' is not a valid > option in the version of GCC you have installed (and I don't think it > ever was, in any version). I have installed gcc 4.0 . C:\Mydir\Djgpp\bin>gcc -v Using built-in specs. Target: djgpp Configured with: /gnu/gcc-4.00/configure djgpp --prefix=/dev/env/DJDIR --disabl -nls --disable-werror --disable-checking --enable-languages=c,ada,c++,f95,ob jc Thread model: single gcc version 4.0.0 Thanks