Mail Archives: djgpp/2005/08/29/13:00:55
"Hans-Bernhard Broeker" <broeker AT physik DOT rwth-aachen DOT de> 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 <this makefile>
> > 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
- Raw text -