RE: libstdc++ for building setup.exe
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Charles Wilson > Sent: Thursday, 13 June 2002 10:15 AM > To: Jan Nieuwenhuizen > Cc: [EMAIL PROTECTED] > Subject: Re: libstdc++ for building setup.exe > > > You can also download this: > > http://www.neuro.gatech.edu/users/cwilson/cygutils/testing/rel > ease/mingw-extra/mingw-extra-2.95.3_20011106-2.tar.bz2 > > and unpack it in the obvious place. It contains those libraries from > mingw's gcc package. You might also want to manually run the > "postinstall" script. You could also just drop this in a dir somewhere, run setup and tell it that dir is your local package dir. It should pick it up and allow an install automagically. Rob
RE: libstdc++ for building setup.exe
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Jan Nieuwenhuizen > Sent: Thursday, 13 June 2002 9:25 AM > To: [EMAIL PROTECTED] > Subject: libstdc++ for building setup.exe > > > Hi, > > I haven't been able to build the new setup (since it moved in cvs), > but that may be due to the fact that the mingw package was dropped. > > At > > http://sources.redhat.com/cygwin-apps/setup.html > >it says: > >To successfully build such a setup you will need a mingw >libstdc++.a file for the cross-compiler to link against. One can >be found in the mingw gcc binary > >Is libstdc++.a the only mingw library that's needed, and do you have >an url for it? Previously, untarring the mingw and mingw-runtime >packages was sufficient. You may need a libgcc.a It depends on exactly what is in your cygwin libgcc.a. I suggest using a mingw libgcc.a, and will adjust the website accordingly at some point soon. No URL, but it's been addressed in other messages to you :}. Rob
Re: libstdc++ for building setup.exe
Charles Wilson <[EMAIL PROTECTED]> writes: > You can also download this: > > >http://www.neuro.gatech.edu/users/cwilson/cygutils/testing/release/mingw-extra/mingw-extra-2.95.3_20011106-2.tar.bz2 > > and unpack it in the obvious place. It contains those libraries from > mingw's gcc package. You might also want to manually run the > "postinstall" script. Thanks a lot. It would be helpful to add some pointers to setup's application page. However, when I said 'build', I really meant cross-build. Anyway, I'm almost there now. I've no clue whether I'm using incorrect header files, incorrect libraries, or just need an extra library. This is on a cygwin-1.3.10 based cross-install. Jan. 12:29:17 fred@peder:~/cvs/cygwin/cygwin-apps/setup-build $ g++ -mno-cygwin -Werror -Winline -Wall -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wcomments -g -O2 -o setup.exe -mwindows archive.o archive_tar.o archive_tar_file.o autoload.o category.o choose.o cistring.o compress.o compress_bz.o compress_gz.o concat.o cygpackage.o desktop.o dialog.o diskfull.o download.o Exception.o find.o FindVisitor.o filemanip.o fromcwd.o geturl.o hash.o ini.o IniDBBuilder.o IniDBBuilderPackage.o inilex.o iniparse.o IniParseFeedback.o IniParseFindVisitor.o install.o io_stream.o io_stream_cygfile.o io_stream_file.o io_stream_memory.o localdir.o log.o LogFile.o LogSingleton.o main.o md5.o MD5++.o mkdir.o mklink2.o mount.o msg.o net.o netio.o nio-ie5.o nio-file.o nio-ftp.o nio-http.o package_db.o package_meta.o package_source.o package_version.o PickCategoryLine.o PickLine.o PickPackageLine.o PickView.o postinstall.o proppage.o propsheet.o rfc1738.o root.o ScanFindVisitor.o script.o setup_version.o simpsock.o site.o source.o splash.o state.o String++.o threebar.o version.o win32.o window.o res.o -L/home/fred/usr/src/cygwin/cygwin-1.3.10/usr/lib/mingw -L/home/fred/usr/src/cygwin/cygwin-1.3.10/linux-cygwin/usr/i686-pc-cygwin/lib/mingw zlib/libzcygw.a bz2lib/libbz2.a libgetopt++/.libs/libgetopt++.a -lstdc++ -luser32 -lkernel32 -lcomctl32 -lole32 -lwsock32 -lnetapi32 -ladvapi32 -luuid -lmingw32 Warning: resolving __ctype_ by linking to __imp___ctype_ (auto-import) bz2lib/libbz2.a(bzlib.o): In function `bzopen_or_bzdopen': /home/fred/cvs/cygwin/cygwin-apps/setup-build/bz2lib/../../setup/bz2lib/bzlib.c:1424: variable '_ctype_' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. LogFile.o: In function `_tf8_IO_FILE': /home/fred/cvs/cygwin/cygwin-apps/setup-build/../setup/LogFile.cc(.data$_vt$12strstreambuf+0x34): undefined reference to `streambuf::xsputn(char const *, long)'/home/fred/cvs/cygwin/cygwin-apps/setup-build/../setup/LogFile.cc(.data$_vt$12strstreambuf+0x3c): undefined reference to `streambuf::xsgetn(char *, long)' /home/fred/cvs/cygwin/cygwin-apps/setup-build/../setup/LogFile.cc(.data$_vt$12strstreambuf+0x6c): undefined reference to `streambuf::sys_read(char *, long)' /home/fred/cvs/cygwin/cygwin-apps/setup-build/../setup/LogFile.cc(.data$_vt$12strstreambuf+0x74): undefined reference to `streambuf::sys_write(char const *, long)' libgetopt++/.libs/libgetopt++.a(OptionSet.o): In function `$_t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0': /home/fred/cvs/cygwin/cygwin-apps/setup-build/libgetopt++/../../setup/libgetopt++/src/OptionSet.cc(.text$__ls__H3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0_R7ostreamRCt12basic_string3ZX01ZX11ZX21_R7ostream+0x18): undefined reference to `ostream::write(char const *, long)' collect2: ld returned 1 exit status -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org
Re: libstdc++ for building setup.exe
You can also download this: http://www.neuro.gatech.edu/users/cwilson/cygutils/testing/release/mingw-extra/mingw-extra-2.95.3_20011106-2.tar.bz2 and unpack it in the obvious place. It contains those libraries from mingw's gcc package. You might also want to manually run the "postinstall" script. --Chuck Jan Nieuwenhuizen wrote: > Hi, > > I haven't been able to build the new setup (since it moved in cvs), > but that may be due to the fact that the mingw package was dropped. > > At > >http://sources.redhat.com/cygwin-apps/setup.html > > it says: > > To successfully build such a setup you will need a mingw > libstdc++.a file for the cross-compiler to link against. One can > be found in the mingw gcc binary > > Is libstdc++.a the only mingw library that's needed, and do you have > an url for it? Previously, untarring the mingw and mingw-runtime > packages was sufficient. > > Last thing I tried was the rather old, but apparently latest mingw gcc > package to contain a libstdc++: > > >ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/gcc-2.95.2/gcc-2.95.2-mingw-extra.tar.gz > > but I still get missing _impure_ptr errors. > > Greetings, > Jan. > >
Re: libstdc++ for building setup.exe
Hi folks, Umm..feeling kind of gun shy today... On 13 Jun 2002 at 1:24, Jan Nieuwenhuizen wrote: > Hi, > > I haven't been able to build the new setup (since it moved in cvs), > but that may be due to the fact that the mingw package was dropped. > > At > > http://sources.redhat.com/cygwin-apps/setup.html > > it says: > > To successfully build such a setup you will need a mingw > libstdc++.a file for the cross-compiler to link against. One can > be found in the mingw gcc binary > > Is libstdc++.a the only mingw library that's needed, and do you have > an url for it? Previously, untarring the mingw and mingw-runtime > packages was sufficient. > > Last thing I tried was the rather old, but apparently latest mingw gcc > package to contain a libstdc++: > > ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/gcc-2.95.2/gcc-2.95.2-mingw-extra.tar.gz The very latest version/release of libstdc++ is available from the mingw project files page as part of the binary archive distribution gcc-2.95.3-20010828.tar.gz: Mingw Files The latest stable version (binaries) is at gcc-2.95.3-20010828.tar.gz The source code is there as well. gcc-2.95.2 for Mingw has been deprecated. Mumits' site is mostly maintained for legacy purposes anymore and no longer is being used by the Mingw development community (see the Mingw Home Page ) except as a legacy resource. If Mumit is watching, I am sure he will clarify if he needs to. Paul G
Re: libstdc++ for building setup.exe
On Thu, Jun 13, 2002 at 01:24:38AM +0200, Jan Nieuwenhuizen wrote: >To successfully build such a setup you will need a mingw >libstdc++.a file for the cross-compiler to link against. One can >be found in the mingw gcc binary > >Is libstdc++.a the only mingw library that's needed, and do you have >an url for it? Previously, untarring the mingw and mingw-runtime >packages was sufficient. "mingw gcc binary" == download the mingw gcc tar file. It's in there. cgf