X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: [OT]Compiling STL lib Date: 29 Aug 2005 16:08:52 GMT Lines: 45 Message-ID: <3ngq8kF1f7k6U1@news.dfncis.de> References: <3nghfcF1dl5mU1 AT news DOT dfncis DOT de> X-Trace: news.dfncis.de 5zCxZ97UxgdJvHX55UwLMQ/yJS89z5ZeBOxnc1HAma9EObUY8d8YFXcE1N X-Orig-Path: not-for-mail To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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. 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). -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.