Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com To: Charles Wilson Cc: cygwin-apps AT cygwin DOT com Subject: Re: libstdc++ for building setup.exe References: <87it4onkqx DOT fsf AT peder DOT flower> <3D07E41D DOT 5050108 AT ece DOT gatech DOT edu> Organization: Jan at Appel From: Jan Nieuwenhuizen Date: Thu, 13 Jun 2002 12:40:45 +0200 In-Reply-To: <3D07E41D.5050108@ece.gatech.edu> (Charles Wilson's message of "Wed, 12 Jun 2002 20:15:25 -0400") Message-ID: <87znxzlavm.fsf@peder.flower> Lines: 36 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g5DAf0T28698 Charles Wilson 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 AT 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 | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org