From: SF/projects/mingw n. l. <min...@li...> - 2010-10-10 12:00:46
|
Bugs item #3084661, was opened at 2010-10-10 14:27 Message generated for change (Comment added) made by puchuu You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3084661&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: gcc Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: puchuu (puchuu) Assigned to: Nobody/Anonymous (nobody) Summary: g++ cant see sdl-config Initial Comment: Host Operating System: Windows 7 x86 6.1 build 7600 G++ Version: Using built-in specs. COLLECT_GCC=C:\\MinGW\\bin\\g++.exe COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.5.0/lto-wrapper.exe Target: mingw32 Configured with: ../gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --disable-werror --build=mingw32 --prefix=/mingw Thread model: win32 gcc version 4.5.0 (GCC) Binutils Version: GNU ld (GNU Binutils) 2.20.51.20100613 MinGW Version: mingw-get-inst-20100909 Build Environment: MINGW32_NT-6.1 ANDREWPC 1.0.15(0.47/3/2) 2010-07-06 22:04 i686 Msys Minimal Self-Contained Test Case: 1) install sdl from sourcres http://www.libsdl.org/extras/win32/mingw32/README.txt 2) install zlib libjpeg libpng giflib libtiff 3) install sdl_image from sources 4) unpack test source arhive from http://files.myopera.com/puchuu/files/test.7z 5) do such commands: http://clip2net.com/clip/m46295/1286704997-clip-31kb.png how to fix this bug? g++ -O3 -c \'sdl-config --cflags\' test.cpp g++.exe: sdl-config --cflags: no such file or directory ---------------------------------------------------------------------- >Comment By: puchuu (puchuu) Date: 2010-10-10 15:00 Message: The bug is that sh dont work correctly! I make sh script mmake: #!/bin/sh g++ -O3 -c `sdl-config --cflags` test.cpp g++ -O3 -o test test.o `sdl-config --libs` -lSDL_image and all work great! why it dont work at main console window??? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3084661&group_id=2435 |