Re: [sigc] Re: [gtkmm] Re: Building libsigc++ under Win32 for use with Intel C++ Compiler 6.0



Cedric Gustin wrote:

> At 06:39 PM 11/6/2002 +0100, Dirk Gerrits wrote:
>
> > $ g++ test.cpp -o test `pkg-config gtkmm-2.0 --cflags --libs`
> > C:/cygwin/lib/libstdc++.a(vterminate.o)(.text+0xf1): undefined reference
> > to `_impure_ptr'
> > C:/cygwin/lib/libstdc++.a(vterminate.o)(.text+0x136): undefined
> > reference to `_impure_ptr'
> > C:/cygwin/lib/libstdc++.a(cxa_demangle.o)(.text+0x4ae7): undefined
> > reference to `_impure_ptr'
> > C:/cygwin/lib/libstdc++.a(cxa_demangle.o)(.text+0x4b0f): undefined
> > reference to `_impure_ptr'
> >
> > Ok, still the same linking to the wrong stdlibc++ problem. /MinGW/bin is
> > really the very first thing in "echo $PATH".
>
>
> Send me the output of g++ -v test.cpp -o test `pkg-config gtkmm-2.0
> --cflags --libs`
> (with the -v flag !!!).

Here it is, sorry for the wordwrapping:

$ g++ -v test.cpp -o test `pkg-config gtkmm-2.0 --cflags --libs`
Reading specs from c:/MinGW/bin/../lib/gcc-lib/mingw32/3.2/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as
--host=
mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls
--enable
-languages=f77,c++,objc,ada --disable-win32-registry --disable-shared
Thread model: win32
gcc version 3.2 (mingw special 20020817-1)
  c:\MinGW\bin\..\lib\gcc-lib\mingw32\3.2\cc1plus.exe -v
-IC:/cygwin/include/gtkm
m-2.0 -IC:/cygwin/lib/gtkmm-2.0/include -IC:/cygwin/include/gtk-2.0
-IC:/cygwin/
lib/sigc++-1.2/include -IC:/cygwin/include/sigc++-1.2
-IC:/cygwin/include/glib-2
.0 -IC:/cygwin/lib/glib-2.0/include -IC:/cygwin/lib/gtk-2.0/include
-IC:/cygwin/
include/pango-1.0 -IC:/cygwin/include/atk-1.0 -iprefix
c:\MinGW\bin\../lib/gcc-l
ib/mingw32/3.2/ -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=0
-D__GXX_
ABI_VERSION=102 -D_WIN32 -D__WIN32 -D__WIN32__ -DWIN32 -D__MINGW32__
-D__MSVCRT_
_ -DWINNT -D_X86_=1 -D_WIN32 -D__WIN32 -D__WIN32__ -D__WIN32__
-D__MINGW32__ -D_
_MSVCRT__ -D__WINNT__ -D_X86_=1 -D__WIN32 -D__WINNT -Asystem=winnt
-D__NO_INLINE
__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386
-D__i386__ -D__
tune_i586__ -D__tune_pentium__ -D__stdcall=__attribute__((__stdcall__))
-D__cdec
l=__attribute__((__cdecl__)) -D__fastcall=__attribute__((__fastcall__))
-D_stdca
ll=__attribute__((__stdcall__)) -D_cdecl=__attribute__((__cdecl__))
-D_fastcall=
__attribute__((__fastcall__)) -D__declspec(x)=__attribute__((x))
test.cpp -D__GN
UG__=3 -D__DEPRECATED -D__EXCEPTIONS -quiet -dumpbase test.cpp -version
-o c:\DO
CUME~1\s020401\LOCALS~1\Temp/ccUvaaaa.s
GNU CPP version 3.2 (mingw special 20020817-1) (cpplib) (80386, BSD syntax)
GNU C++ version 3.2 (mingw special 20020817-1) (mingw32)
         compiled by GNU C version 3.2.
ignoring nonexistent directory "c:/MinGW/mingw32/include"
ignoring nonexistent directory "/mingw/mingw32/include"
ignoring nonexistent directory "/usr/local/mingw32/include"
#include "..." search starts here:
#include <...> search starts here:
  C:/cygwin/include/gtkmm-2.0
  C:/cygwin/lib/gtkmm-2.0/include
  C:/cygwin/include/gtk-2.0
  C:/cygwin/lib/sigc++-1.2/include
  C:/cygwin/include/sigc++-1.2
  C:/cygwin/include/glib-2.0
  C:/cygwin/lib/glib-2.0/include
  C:/cygwin/lib/gtk-2.0/include
  C:/cygwin/include/pango-1.0
  C:/cygwin/include/atk-1.0
  c:/MinGW/include/c++/3.2
  c:/MinGW/include/c++/3.2/mingw32
  c:/MinGW/include/c++/3.2/backward
  c:/MinGW/include
  c:/MinGW/lib/gcc-lib/mingw32/3.2/include
  /mingw/include/c++/3.2
  /mingw/include/c++/3.2/mingw32
  /mingw/include/c++/3.2/backward
  /mingw/include
  /mingw/include
  /mingw/lib/gcc-lib/mingw32/3.2/include
End of search list.
  c:\MinGW\bin\..\lib\gcc-lib\mingw32\3.2\..\..\..\..\mingw32\bin\as.exe
-o c:\DO
CUME~1\s020401\LOCALS~1\Temp/ccERaaaa.o
c:\DOCUME~1\s020401\LOCALS~1\Temp/ccUvaa
aa.s
  c:\MinGW\bin\..\lib\gcc-lib\mingw32\3.2\..\..\..\..\mingw32\bin\ld.exe
-Bdynami
c -o test.exe c:/MinGW/bin/../lib/gcc-lib/mingw32/3.2/../../../crt2.o
c:/MinGW/b
in/../lib/gcc-lib/mingw32/3.2/crtbegin.o -LC:/cygwin/lib
-Lc:/MinGW/bin/../lib/g
cc-lib/mingw32/3.2 -Lc:/MinGW/bin/../lib/gcc-lib
-L/mingw/lib/gcc-lib/mingw32/3.
2 -Lc:/MinGW/bin/../lib/gcc-lib/mingw32/3.2/../../../../mingw32/lib
-L/mingw/lib
/gcc-lib/mingw32/3.2/../../../../mingw32/lib
-Lc:/MinGW/bin/../lib/gcc-lib/mingw
32/3.2/../../.. -L/mingw/lib/gcc-lib/mingw32/3.2/../../..
c:\DOCUME~1\s020401\LO
CALS~1\Temp/ccERaaaa.o --export-dynamic -lgtkmm-2.0 -lgdkmm-2.0
-latkmm-1.0 -lgt
k-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lgdk-win32-2.0
-latk-1.0 -lgd
k_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -l
glib-2.0 -lintl -liconv -lstdc++ -lmingw32 -lgcc -lmoldname -lmingwex
-lmsvcrt -
luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname
-lmingwex -lm
svcrt c:/MinGW/bin/../lib/gcc-lib/mingw32/3.2/crtend.o
C:/cygwin/lib/libstdc++.a(vterminate.o)(.text+0xf1): undefined reference
to `_im
pure_ptr'
C:/cygwin/lib/libstdc++.a(vterminate.o)(.text+0x136): undefined
reference to `_i
mpure_ptr'
C:/cygwin/lib/libstdc++.a(cxa_demangle.o)(.text+0x4ae7): undefined
reference to
`_impure_ptr'
C:/cygwin/lib/libstdc++.a(cxa_demangle.o)(.text+0x4b0f): undefined
reference to
`_impure_ptr'

Dirk





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]