delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
To: | cygwin AT cygwin DOT com |
From: | "Alex Vinokur" <alexvn AT connect DOT to> |
Subject: | Re: C++ Compilers : Comparative Performance Testsuite |
Date: | Sat, 1 Nov 2003 09:14:58 +0200 |
Lines: | 116 |
Message-ID: | <bnvmhe$um1$1@sea.gmane.org> |
References: | <bnr72n$li9$1 AT sea DOT gmane DOT org> <157-1772867639 DOT 20031030154714 AT familiehaase DOT de> <bntl4h$jci$1 AT sea DOT gmane DOT org> <43-1680745334 DOT 20031031172236 AT familiehaase DOT de> <bnuacn$6iu$1 AT sea DOT gmane DOT org> <118743930094 DOT 20031101014819 AT familiehaase DOT de> |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 6.00.2800.1106 |
X-Mimeole: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
Hi Gerrit, "Gerrit P. Haase" <gp AT familiehaase DOT de> wrote in message news:118743930094 DOT 20031101014819 AT familiehaase DOT de... > Hallo Alex, > > Am Freitag, 31. Oktober 2003 um 19:41 schriebst du: > > > > "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> wrote > > [snip] > >> > >> I posted a Makefile to build a Cygwin version of STLport with DLL's and > >> static archives: http://www.cygwin.com/ml/cygwin/2003-06/msg00790.html > >> > >> If it shows up that using STLport instead of libstdc++ templates > >> increases the speed of the code running, maybe someone volunteers to > >> maintain an STLport package for Cygwin? > >> > > [snip] > > > I have done the following things : > > > $ cd STLport-4.5.3 > > $ ln -s /usr/include/c++/3.3.1 g++-v3 > > $ cd src > > $ make > > [---omitted---] > > $ cd ../lib > > $ ls -1 > > libstlport-45.dll > > libstlport.a > > libstlport.dll.a > > libstlport_stldebug-45.dll > > libstlport_stldebug.a > > libstlport_stldebug.dll.a > > obj > > > > Now I would like to compile file foo.cpp _with stlport libraries_ > > using the Cygwin/MinGW compiler. > > How to do that? > > g++ -c -o foo.o foo.cpp > gcc -o foo -lstlport > > g++ -mno-cygwin -c -o foo.o foo.cpp > gcc -mno-cygwin -o foo -lstlport > > $ g++ -c -o foo.o foo.cpp $ gcc -o foo -lstlport /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -lstlport collect2: ld returned 1 exit status Where should one put stlport libraries ? Extra info : $ pwd / $ ls -l total 2 drwxr-xr-x 2 Administ None 0 Oct 3 2002 bin -rwxr-xr-x 1 Administ None 57 Oct 3 2002 cygwin.bat -rw-r--r-- 1 Administ None 766 Sep 22 08:46 cygwin.ico drwxr-xr-x 18 Administ None 0 Oct 3 2002 etc drwxr-xr-x 3 Administ None 0 Oct 3 2002 home drwxr-xr-x 28 Administ None 0 Oct 3 2002 lib drwxr-xr-x 3 Administ None 0 Oct 3 2002 tmp drwxr-xr-x 20 Administ None 0 Oct 3 2002 usr drwxr-xr-x 9 Administ None 0 Oct 3 2002 var $ cd usr drwxr-xr-x 11 Administ None 0 Oct 3 2002 X11R6 drwxr-xr-x 4 Administ None 0 Sep 13 10:32 autotool drwxr-xr-x 52 Administ None 0 Oct 3 2002 doc drwxr-xr-x 2 Administ None 0 Sep 14 08:53 etc drwxr-xr-x 3 Administ None 0 Sep 13 10:32 i686-pc-cygwin drwxr-xr-x 2 Administ None 0 Sep 22 08:46 i686-pc-mingw32 drwxr-xr-x 33 Administ None 0 Oct 3 2002 include drwxr-xr-x 2 Administ None 0 Oct 3 2002 info drwxr-xr-x 3 Administ None 0 Oct 3 2002 libexec drwxr-xr-x 5 Administ None 0 Oct 3 2002 local drwxr-xr-x 2 Administ None 0 Oct 3 2002 logs drwxr-xr-x 19 Administ None 0 Oct 3 2002 man drwxr-xr-x 5 Administ None 0 Oct 3 2002 sbin drwxr-xr-x 42 Administ None 0 Oct 3 2002 share drwxr-xr-x 5 Administ None 0 Oct 3 2002 src drwxr-xr-x 6 Administ None 0 Sep 13 21:56 ssl drwxr-xr-x 2 Administ None 0 Oct 3 2002 tmp drwxr-xr-x 2 Administ None 0 Oct 3 2002 var ===> Note! There is no 'lib' under 'usr'. -- ===================================== Alex Vinokur mailto:alexvn AT connect DOT to http://mathforum.org/library/view/10978.html news://news.gmane.org/gmane.comp.lang.c++.perfometer ===================================== -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |