Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20040829212630.32357.qmail@web40414.mail.yahoo.com> Date: Sun, 29 Aug 2004 16:26:30 -0500 (CDT) From: Reply-To: sengtsongpa-cygwin001 AT yahoo DOT com Subject: Re: BUG gcc-mingw 20040810-1 library search path To: "Gerrit @ cygwin" , sengtsongpa-cygwin001 AT yahoo DOT com Cc: cygwin AT cygwin DOT com In-Reply-To: <14810259248.20040829195031@familiehaase.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit --- "Gerrit P. Haase" escribió: > Hallo sengtsongpa-cygwin001, > > Am Sonntag, 29. August 2004 um 17:20 schriebst du: > > > In previous versions of the mingw backend > distributed > > with Cygwin's gcc port, the frontend drivers would > > append both /usr/include/lib/mingw *and* > > /usr/lib/w32api to the linker's path. This happens > no > > more with the latter. > > Simple testcase please. What is the actual search > path? > What was the link command? More details, please. > Here is a compelling case on practical grounds: 1. Grab a copy of Cygwin Setup sources from CVS (the stable source bundle idstributed with the net installer will do equally well). You need a copy of libgetopt++ from a parallel directory. 2. Bootstrap and configure: bash-2.05b-$ ./configure CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" --target=mingw32 --build=mingw32 3. Watch the build belly up at the linking stage: mkdir .libs g++ -mno-cygwin -Werror -Wall -Wpointer-arith -Wcomments -Wcast-align -Wwrite-st rings -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o setup.exe -mwindows Ant iVirus.o 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 ConnectionSetting.o Control Adjuster.o cygpackage.o desktop.o dialog.o diskfull.o download.o Exception.o fin d.o FindVisitor.o FilterVisitor.o filemanip.o fromcwd.o geturl.o hash.o ini.o In iDBBuilder.o IniDBBuilderPackage.o inilex.o iniparse.o IniParseFeedback.o IniPar seFindVisitor.o install.o io_stream.o io_stream_cygfile.o io_stream_file.o io_st ream_memory.o localdir.o log.o LogFile.o LogSingleton.o main.o md5.o MD5++.o mkd ir.o mklink2.o mount.o msg.o net.o netio.o nio-ie5.o nio-file.o nio-ftp.o nio-ht tp.o package_db.o package_meta.o package_source.o package_version.o PackageSpeci fication.o PickCategoryLine.o PickLine.o PickPackageLine.o PickView.o postinstal l.o proppage.o propsheet.o rfc1738.o root.o ScanFindVisitor.o script.o setup_ver sion.o simpsock.o site.o source.o SourceSetting.o splash.o state.o String++.o th reebar.o UserSetting.o UserSettings.o version.o win32.o window.o res.o zlib/lib zcygw.a bz2lib/libbz2.a libgetopt++/.libs/libgetopt++.a -luser32 -lkernel32 -lco mctl32 -lole32 -lwsock32 -lnetapi32 -ladvapi32 -luuid -lmingw32 mklink2.o(.text+0x4e): In function `make_link_2': /home/dradul/cachecvs/cygwin-apps/setup/mklink2.cc:25: undefined reference to `_ IID_IPersistFile' collect2: ld returned 1 exit status make[2]: *** [setup.exe] Error 1 make[2]: Leaving directory `/cygdrive/d/cvscache/cygwin-apps/setup' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/d/cvscache/cygwin-apps/setup' make: *** [all] Error 2 The symbol _IID_IPersistFile is in libuuid. This worked fine with previous cygmin comnpilers. _________________________________________________________ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/