Development > Newbie Coding

(log) Actually got new build system to (partially) work on Windows 7

<< < (5/13) > >>

Muton:
I have a small problem with radiant and libstdc++ libgcc_s_dw2
The exe and dll always request this dlls
even if i add -static-libgcc

While using C::B and -static-libgcc result in static linked lib
what do i miss ?

and where do i add -Wall to see ld output ?

thx

Mattn:
type "make Q=" to show all commands that are used to compile and/or link

dwarf2 is the exception handling that the tdm gcc mingw build uses by default afair. make sure to use this for every lib you are using. you may not mix them.

Muton:
radiant.exe and brushexport.dll are requesting those dlls
none of the gtk or glib libs

Mattn:
please check that g++ is used for linking radiant

Muton:
no cc does linking

--- Code: ---src/tools/radiant/libs/generic/static.h:97:14: warning: inlining failed in call to 'static void
CountedStatic<Type, Context>::release() [with Type = TypeSystemInitialiser, Context = Null]': call
is unlikely and code size would grow
src/tools/radiant/libs/generic/static.h:124:3: warning: called from here
In file included from D:/temp/TMP_CO~2/UFOAIW~1/MinGW/include/gtk-2.0/gdk/gdkscreen.h:31:0,
                 from D:/temp/TMP_CO~2/UFOAIW~1/MinGW/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from D:/temp/TMP_CO~2/UFOAIW~1/MinGW/include/gtk-2.0/gdk/gdk.h:32,
                 from D:/temp/TMP_CO~2/UFOAIW~1/MinGW/include/gtk-2.0/gtk/gtk.h:32,
                 from src/tools/radiant/plugins/brushexport/support.h:1,
                 from src/tools/radiant/plugins/brushexport/support.cpp:1:
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/include/cairo/cairo.h:1976:26: warning: comma at end of enumerator list
===> LD [radiant/plugins/brushexport.dll]
cc -DHAVE_CONFIG_H -ggdb -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arit
h -Wno-long-long -pedantic -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type
-Wwrite-strings -DSHARED_EXT=\"dll\" -DGETTEXT_STATIC -DWINVER=0x501 -O2 -ffast-math -funroll-loops
-D_FORTIFY_SOURCE=2 -DNDEBUG -falign-loops=2 -falign-jumps=2 -falign-functions=2
-fno-strict-aliasing   
release-mingw32-i386/uforadiant-brushexport/tools/radiant/plugins/brushexport/callbacks.cpp.o
release-mingw32-i386/uforadiant-brushexport/tools/radiant/plugins/brushexport/export.cpp.o
release-mingw32-i386/uforadiant-brushexport/tools/radiant/plugins/brushexport/interface.cpp.o
release-mingw32-i386/uforadiant-brushexport/tools/radiant/plugins/brushexport/plugin.cpp.o
release-mingw32-i386/uforadiant-brushexport/tools/radiant/plugins/brushexport/support.cpp.o   
-static-libgcc -static-libstdc++ -shared `pkg-config --libs gtk+-2.0 2> /dev/null || ( if [ -z ""
]; then echo "-lgtk+-2.0"; else echo "-l"; fi )` `pkg-config --libs glib-2.0 2> /dev/null || ( if [
-z "" ]; then echo "-lglib-2.0"; else echo "-l"; fi )` -lstdc++ -lm -o
radiant/plugins/brushexport.dll
Info: resolving std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_Rep::_S_empty_rep_storage by linking to __imp___ZNSs4_Rep20_S_empty_rep_storageE (auto-import)
Info: resolving vtable for __cxxabiv1::__si_class_type_info by linking to
__imp___ZTVN10__cxxabiv120__si_class_type_infoE (auto-import)
Info: resolving vtable for __cxxabiv1::__class_type_info by linking to
__imp___ZTVN10__cxxabiv117__class_type_infoE (auto-import)
Info: resolving vtable for __cxxabiv1::__vmi_class_type_info by linking to
__imp___ZTVN10__cxxabiv121__vmi_class_type_infoE
(auto-importd:/temp/tmp_co~2/ufoaiw~1/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld
.exe: warning: auto-importing has been activated without --enable-auto-import specified on the
command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.)

cc.exe: unrecognized option '-static-libstdc++'

--- End code ---

btw
export CC=gcc
does not work
/bin/sh: cc: command not found

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version