delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/31/19:42:15

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
Date: Sat, 1 Nov 2003 01:48:19 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit @ cygwin" <cygwin AT cygwin DOT com>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <118743930094.20031101014819@familiehaase.de>
To: "Alex Vinokur" <alexvn AT connect DOT to>
CC: cygwin AT cygwin DOT com
Subject: Re: C++ Compilers : Comparative Performance Testsuite
In-Reply-To: <bnuacn$6iu$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>
MIME-Version: 1.0

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


Gerrit
-- 
=^..^=


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019