* C++ Compilers : Comparative Performance Testsuite
@ 2003-10-30 15:59 Alex Vinokur
2003-10-30 16:27 ` Gerrit P. Haase
0 siblings, 1 reply; 26+ messages in thread
From: Alex Vinokur @ 2003-10-30 15:59 UTC (permalink / raw)
To: cygwin
An algorithm which computes very long Fibonacci numbers
http://groups.google.com/groups?selm=bnni5p%2412i47o%241%40ID-79865.news.uni-berlin.de
was used as a performance testsuite
to compare speed of the code produced by various compilers.
===========================================================
Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2
Intel(R) Celeron(R) CPU 1.70 GHz
GNU time 1.7 (Cygwin; to get the real time used)
===========================================================
A. Real and processor time used to compute
* Fibonacci[10000],
* Fibonacci[25000],
* Fibonacci[50000]
has been measured.
Here are summary results.
|========================================================================|
| | Opt | Fib-10000 | Fib-25000 | Fib-50000 |
| Compiler | Lev |-------------|-------------|---------------|
| | | Real : CPU | Real : CPU | Real : CPU |
|========================================================================|
| GNU gcc compiler |
|------------------------------------------------------------------------|
| g++ 3.3.1 (Cygwin) | No | 0.45 : 0.41 | 1.86 : 1.81 | 6.63 : 6.58 |
| | O1 | 0.28 : 0.24 | 1.03 : 0.99 | 3.87 : 3.60 |
| | O2 | 0.27 : 0.23 | 1.02 : 0.98 | 3.79 : 3.73 |
| | O3 | 0.27 : 0.24 | 1.02 : 0.98 | 3.81 : 3.74 |
| | | : | : | : |
| g++ 3.3.1 (Cygwin) | No | 0.33 : 0.30 | 1.59 : 1.56 | 5.71 : 5.66 |
| Mingw32 interface | O1 | 0.20 : 0.16 | 0.87 : 0.84 | 3.02 : 2.97 |
| | O2 | 0.19 : 0.16 | 0.85 : 0.82 | 2.97 : 2.91 |
| | O3 | 0.19 : 0.16 | 0.85 : 0.82 | 2.98 : 2.93 |
| | | : | : | : |
| gpp 3.2.1 (DJGPP) | No | 0.37 : 0.24 | 1.99 : 1.92 | 10.53 : 10.42 |
| | O1 | 0.20 : 0.11 | 1.15 : 1.05 | 7.48 : 7.37 |
| | O2 | 0.19 : 0.11 | 1.08 : 0.99 | 7.23 : 7.12 |
| | O3 | 0.19 : 0.11 | 1.08 : 0.99 | 7.25 : 7.12 |
| | | : | : | : |
|------------------------------------------------------------------------|
| Digital Mars C/C++ Compiler, STLport 4.5.3 |
|------------------------------------------------------------------------|
| Version 8.35n | - | 0.20 : 0.16 | 0.84 : 0.80 | 3.82 : 3.74 |
|========================================================================|
B. The names of DLL files on which the programs depend :
* g++ 3.3.1 (Cygwin)
------------------
C:\cygwin\bin\cygwin1.dll
C:\WINNT\System32\KERNEL32.dll
C:\WINNT\System32\NTDLL.DLL
* g++ 3.3.1 (Cygwin, Mingw32 interface)
-------------------------------------
C:\WINNT\System32\msvcrt.dll
C:\WINNT\System32\KERNEL32.dll
C:\WINNT\System32\NTDLL.DLL
* gpp 3.2.1 (DJGPP)
-----------------
DJGPP doesn't support dynamic linking.
* Digital Mars C/C++ 8.35n
------------------------
C:\WINNT\System32\KERNEL32.DLL
C:\WINNT\System32\NTDLL.DLL
C:\WINNT\System32\USER32.DLL
C:\WINNT\System32\GDI32.DLL
C. Notes.
-----------------------------
Note-1. The main() program in
http://groups.google.com/groups?selm=bnni5p%2412i47o%241%40ID-79865.news.uni-berlin.de
was slightly changed to get the processor time used.
// ------ Updated main() : BEGIN ------
#include <time.h> // Added
int main (int argc, char **argv)
{
const string option (check (argc, argv));
if (option.empty())
{
usage (argv);
return 1;
}
const uint N = atoi (argv[2]);
const clock_t clock_start = clock(); // Added
assert (clock_start != clock_t (-1)); // Added
if (option == ALL_FIBS)
{
Fibonacci fib(N);
fib.show_all_numbers();
}
if (option == TH_FIB)
{
Fibonacci fib(N);
fib.show_last_number();
}
if (option == SOME_FIBS)
{
Fibonacci fib;
for (int i = 2; i < argc; i++) fib.show_number (atoi(argv[i]));
}
if (option == RAND_FIBS)
{
const int max_rand_fib = (argc == 3) ? MAX_RAND_FIB : atoi (argv[3]);
Fibonacci fib;
for (uint i = 0; i < N; i++) fib.show_number (rand()%max_rand_fib);
}
// ------ Added : BEGIN ------
const clock_t clock_end = clock();
assert (clock_end != clock_t (-1));
cerr << "CPU time used : " << (double (clock_end - clock_start)/CLOCKS_PER_SEC) << " sec" << endl;
// ------ Added : END --------
return 0;
}
// ------ Updated main() : END --------
-----------------------------
Note-2. To get the real time used the time() utility was used.
--
=====================================
Alex Vinokur
mailto:alexvn@connect.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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-10-30 15:59 C++ Compilers : Comparative Performance Testsuite Alex Vinokur
@ 2003-10-30 16:27 ` Gerrit P. Haase
2003-10-31 15:06 ` Alex Vinokur
2003-11-03 18:50 ` Alex Vinokur
0 siblings, 2 replies; 26+ messages in thread
From: Gerrit P. Haase @ 2003-10-30 16:27 UTC (permalink / raw)
To: Alex Vinokur; +Cc: cygwin
Alex wrote:
> An algorithm which computes very long Fibonacci numbers
>
> http://groups.google.com/groups?selm=bnni5p%2412i47o%241%40ID-79865.news.uni-berlin.de
> was used as a performance testsuite
> to compare speed of the code produced by various compilers.
> |------------------------------------------------------------------------|
> | Digital Mars C/C++ Compiler, STLport 4.5.3
> |------------------------------------------------------------------------|
> | Version 8.35n | - | 0.20 : 0.16 | 0.84 : 0.80 | 3.82 : 3.74 |
> |========================================================================|
Do you think to use STLport with the Cygwin/MinGW compiler would
increase perfomance?
Gerrit
--
=^..^= http://nyckelpiga.de/donate.html
--
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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-10-30 16:27 ` Gerrit P. Haase
@ 2003-10-31 15:06 ` Alex Vinokur
2003-10-31 17:13 ` Gerrit P. Haase
2003-11-03 18:50 ` Alex Vinokur
1 sibling, 1 reply; 26+ messages in thread
From: Alex Vinokur @ 2003-10-31 15:06 UTC (permalink / raw)
To: cygwin
"Gerrit P. Haase" <freeweb@nyckelpiga.de> wrote in message news:157-1772867639.20031030154714@familiehaase.de...
> Alex wrote:
>
> > An algorithm which computes very long Fibonacci numbers
> >
> > http://groups.google.com/groups?selm=bnni5p%2412i47o%241%40ID-79865.news.uni-berlin.de
> > was used as a performance testsuite
> > to compare speed of the code produced by various compilers.
>
> > |------------------------------------------------------------------------|
> > | Digital Mars C/C++ Compiler, STLport 4.5.3
> > |------------------------------------------------------------------------|
> > | Version 8.35n | - | 0.20 : 0.16 | 0.84 : 0.80 | 3.82 : 3.74 |
> > |========================================================================|
>
>
> Do you think to use STLport with the Cygwin/MinGW compiler would
> increase perfomance?
>
[snip]
What is the way to test that?
In other words, is there STLporting with the Cygwin/MinGW compiler?
--
=====================================
Alex Vinokur
mailto:alexvn@connect.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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-10-31 15:06 ` Alex Vinokur
@ 2003-10-31 17:13 ` Gerrit P. Haase
2003-10-31 19:04 ` Alex Vinokur
0 siblings, 1 reply; 26+ messages in thread
From: Gerrit P. Haase @ 2003-10-31 17:13 UTC (permalink / raw)
To: Alex Vinokur; +Cc: cygwin
Alex wrote:
> "Gerrit P. Haase" <freeweb@nyckelpiga.de> wrote in message
> news:157-1772867639.20031030154714@familiehaase.de...
>> Alex wrote:
>>
>> > An algorithm which computes very long Fibonacci numbers
>> >
>> >
>> http://groups.google.com/groups?selm=bnni5p%2412i47o%241%40ID-79865.news.uni-berlin.de
>> > was used as a performance testsuite
>> > to compare speed of the code produced by various compilers.
>>
>> >
>> |------------------------------------------------------------------------|
>> > | Digital Mars C/C++ Compiler, STLport 4.5.3
>> >
>> |------------------------------------------------------------------------|
>> > | Version 8.35n | - | 0.20 : 0.16 | 0.84 : 0.80 | 3.82 : 3.74 |
>> >
>> |========================================================================|
>>
>>
>> Do you think to use STLport with the Cygwin/MinGW compiler would
>> increase perfomance?
>>
> [snip]
> What is the way to test that?
> In other words, is there STLporting with the Cygwin/MinGW compiler?
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?
Gerrit
--
=^..^= http://nyckelpiga.de/donate.html
--
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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-10-31 17:13 ` Gerrit P. Haase
@ 2003-10-31 19:04 ` Alex Vinokur
2003-11-01 0:42 ` Gerrit P. Haase
0 siblings, 1 reply; 26+ messages in thread
From: Alex Vinokur @ 2003-10-31 19:04 UTC (permalink / raw)
To: cygwin
"Gerrit P. Haase" <freeweb@nyckelpiga.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?
=====================================
Alex Vinokur
mailto:alexvn@connect.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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-10-31 19:04 ` Alex Vinokur
@ 2003-11-01 0:42 ` Gerrit P. Haase
2003-11-01 7:14 ` Alex Vinokur
0 siblings, 1 reply; 26+ messages in thread
From: Gerrit P. Haase @ 2003-11-01 0:42 UTC (permalink / raw)
To: Alex Vinokur; +Cc: cygwin
Hallo Alex,
Am Freitag, 31. Oktober 2003 um 19:41 schriebst du:
> "Gerrit P. Haase" <freeweb@nyckelpiga.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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-11-01 0:42 ` Gerrit P. Haase
@ 2003-11-01 7:14 ` Alex Vinokur
2003-11-01 7:25 ` Alex Vinokur
` (3 more replies)
0 siblings, 4 replies; 26+ messages in thread
From: Alex Vinokur @ 2003-11-01 7:14 UTC (permalink / raw)
To: cygwin
Hi Gerrit,
"Gerrit P. Haase" <gp@familiehaase.de> wrote in message news:118743930094.20031101014819@familiehaase.de...
> Hallo Alex,
>
> Am Freitag, 31. Oktober 2003 um 19:41 schriebst du:
>
>
> > "Gerrit P. Haase" <freeweb@nyckelpiga.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@connect.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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-11-01 7:14 ` Alex Vinokur
@ 2003-11-01 7:25 ` Alex Vinokur
2003-11-02 2:12 ` Igor Pechtchanski
2003-11-01 7:36 ` Alex Vinokur
` (2 subsequent siblings)
3 siblings, 1 reply; 26+ messages in thread
From: Alex Vinokur @ 2003-11-01 7:25 UTC (permalink / raw)
To: cygwin
"Alex Vinokur" <alexvn@connect.to> wrote in message news:bnvmhe$um1$1@sea.gmane.org...
[snip]
>
> ===> Note! There is no 'lib' under 'usr'.
>
[snip]
Should I do link ?
Something like :
------------------
$ pwd
/usr
$ ln -s ../lib lib
------------------
--
=====================================
Alex Vinokur
mailto:alexvn@connect.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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-11-01 7:14 ` Alex Vinokur
2003-11-01 7:25 ` Alex Vinokur
@ 2003-11-01 7:36 ` Alex Vinokur
2003-11-01 15:44 ` Brian Ford
2003-11-01 10:08 ` STLport with the Cygwin/MinGW compiler (was :: C++ Compilers : Comparative Performance Testsuite) Alex Vinokur
2003-11-01 15:36 ` C++ Compilers : Comparative Performance Testsuite Brian Ford
3 siblings, 1 reply; 26+ messages in thread
From: Alex Vinokur @ 2003-11-01 7:36 UTC (permalink / raw)
To: cygwin
"Alex Vinokur" <alexvn@connect.to> wrote in message news:bnvmhe$um1$1@sea.gmane.org...
[snip]
> $ 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 ?
[snip]
>
> ===> Note! There is no 'lib' under 'usr'.
>
Also :
$ pwd
/lib/gcc-lib/i686-pc-cygwin
$ ls -l
total 0
drwxr-xr-x 4 Administ None 0 Sep 22 08:32 3.3.1
So,
===> There is no 'bin' under 'i686-pc-cygwin'.
--
=====================================
Alex Vinokur
mailto:alexvn@connect.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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* STLport with the Cygwin/MinGW compiler (was :: C++ Compilers : Comparative Performance Testsuite)
2003-11-01 7:14 ` Alex Vinokur
2003-11-01 7:25 ` Alex Vinokur
2003-11-01 7:36 ` Alex Vinokur
@ 2003-11-01 10:08 ` Alex Vinokur
2003-11-01 11:36 ` STLport with the Cygwin/MinGW compiler Gerrit P. Haase
2003-11-01 15:36 ` C++ Compilers : Comparative Performance Testsuite Brian Ford
3 siblings, 1 reply; 26+ messages in thread
From: Alex Vinokur @ 2003-11-01 10:08 UTC (permalink / raw)
To: cygwin
"Alex Vinokur" <alexvn@connect.to> wrote in message news:bnvmhe$um1$1@sea.gmane.org...
> Hi Gerrit,
>
> "Gerrit P. Haase" <gp@familiehaase.de> wrote in message news:118743930094.20031101014819@familiehaase.de...
> > Hallo Alex,
> >
> > Am Freitag, 31. Oktober 2003 um 19:41 schriebst du:
> >
> >
> > > "Gerrit P. Haase" <freeweb@nyckelpiga.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 ?
>
[snip]
There is some advance.
I put the stlport libraries in /lib.
$ g++ -c -o foo.o foo.cpp
$ g++ -o foo_port.exe foo.o -lstlport
$ g++ -o foo_orig.exe foo.o
$ wc foo*.exe
462 5847 478971 foo_orig.exe
462 5847 478971 foo_port.exe
924 11694 957942 total
$ cygcheck foo*.exe
Found: .\foo_orig.exe
foo_orig.exe
C:\cygwin\bin\cygwin1.dll
C:\WINNT\System32\KERNEL32.dll
C:\WINNT\System32\NTDLL.DLL
Found: .\foo_port.exe
foo_port.exe
C:\cygwin\bin\cygwin1.dll
C:\WINNT\System32\KERNEL32.dll
C:\WINNT\System32\NTDLL.DLL
So, neither wc nor cygcheck see any difference between foo_orig.exe and foo_port.exe.
However,
$ cmp -b foo*.exe
foo_orig.exe foo_port.exe differ: byte 137, line 2 is 167 w 146 f
$ cmp -l foo*.exe
137 167 146
217 52 31
Is foo_port.exe really STLported?
Appendix. Extra info.
$ g++ -v -o foo_orig foo.o
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
Configured with: /netrel/src/gcc-3.3.1-1/configure --enable-languages=c,c++,f77,
java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --wi
thout-included-gettext --enable-interpreter --enable-sjlj-exceptions --disable-v
ersion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-p
c-cygwin --target=i686-pc-cygwin --prefix=/usr --exec-prefix=/usr --sysconfdir=/
etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sbin
Thread model: posix
gcc version 3.3.1 (cygming special)
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/collect2.exe -Bdynamic --dll-search-prefi
x=cyg -o foo_orig.exe /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../crt0.o /usr
/lib/gcc-lib/i686-pc-cygwin/3.3.1/crtbegin.o -L/usr/lib/gcc-lib/i686-pc-cygwin/3
.3.1 -L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../.. foo.o -lstdc++ -lgcc -lcyg
win -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc /usr/lib/gcc-lib/i686-pc-cygw
in/3.3.1/crtend.o
$ g++ -v -o foo_port foo.o -lstlport
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
Configured with: /netrel/src/gcc-3.3.1-1/configure --enable-languages=c,c++,f77,
java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --wi
thout-included-gettext --enable-interpreter --enable-sjlj-exceptions --disable-v
ersion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-p
c-cygwin --target=i686-pc-cygwin --prefix=/usr --exec-prefix=/usr --sysconfdir=/
etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sbin
Thread model: posix
gcc version 3.3.1 (cygming special)
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/collect2.exe -Bdynamic --dll-search-prefi
x=cyg -o foo_port.exe /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../crt0.o /usr
/lib/gcc-lib/i686-pc-cygwin/3.3.1/crtbegin.o -L/usr/lib/gcc-lib/i686-pc-cygwin/3
.3.1 -L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../.. foo.o -lstlport -lstdc++ -
lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc /usr/lib/gcc-lib/i6
86-pc-cygwin/3.3.1/crtend.o
--
=====================================
Alex Vinokur
mailto:alexvn@connect.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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: STLport with the Cygwin/MinGW compiler
2003-11-01 10:08 ` STLport with the Cygwin/MinGW compiler (was :: C++ Compilers : Comparative Performance Testsuite) Alex Vinokur
@ 2003-11-01 11:36 ` Gerrit P. Haase
2003-11-01 20:02 ` Alex Vinokur
0 siblings, 1 reply; 26+ messages in thread
From: Gerrit P. Haase @ 2003-11-01 11:36 UTC (permalink / raw)
To: Alex Vinokur; +Cc: cygwin
Hallo Alex,
> There is some advance.
> I put the stlport libraries in /lib.
> $ g++ -c -o foo.o foo.cpp
> $ g++ -o foo_port.exe foo.o -lstlport
If you use g++ to link, libstdc++ will be linked in automatically,
that was the reason why I wrote:
gcc -o your.exe your.o -L/your/path -lstlport
> $ g++ -o foo_orig.exe foo.o
If you use gcc here as well then you'll need top specify -lstdc++ at
the linkline.
> $ wc foo*.exe
> 462 5847 478971 foo_orig.exe
> 462 5847 478971 foo_port.exe
> 924 11694 957942 total
> $ cygcheck foo*.exe
> Found: .\foo_orig.exe
> foo_orig.exe
> C:\cygwin\bin\cygwin1.dll
> C:\WINNT\System32\KERNEL32.dll
> C:\WINNT\System32\NTDLL.DLL
> Found: .\foo_port.exe
> foo_port.exe
> C:\cygwin\bin\cygwin1.dll
> C:\WINNT\System32\KERNEL32.dll
> C:\WINNT\System32\NTDLL.DLL
> So, neither wc nor cygcheck see any difference between foo_orig.exe and foo_port.exe.
> However,
> $ cmp -b foo*.exe
> foo_orig.exe foo_port.exe differ: byte 137, line 2 is 167 w 146 f
> $ cmp -l foo*.exe
> 137 167 146
> 217 52 31
> Is foo_port.exe really STLported?
No, obviously not. Cygcheck should show stlpot as dependency. There
are some useful switches for the compiler / linker. You can specify
the include directory to be used during compilation with:
-I/path/to/stlport-headers
and the path to the libraries you want to link with:
-L/usr/lib/stlport
Usually there is no need to move the libraries around.
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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-11-01 7:14 ` Alex Vinokur
` (2 preceding siblings ...)
2003-11-01 10:08 ` STLport with the Cygwin/MinGW compiler (was :: C++ Compilers : Comparative Performance Testsuite) Alex Vinokur
@ 2003-11-01 15:36 ` Brian Ford
3 siblings, 0 replies; 26+ messages in thread
From: Brian Ford @ 2003-11-01 15:36 UTC (permalink / raw)
To: Alex Vinokur; +Cc: cygwin
On Sat, 1 Nov 2003, Alex Vinokur wrote:
> $ 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 ?
>
/usr/lib for Cygwin, /usr/lib/mingw32 for mingw, or possibly the
/usr/local variants would be more correct since this is a local addition.
You would then need a -L/usr/local/lib[/mingw], I think. Or, just add the
-L/path/to/where/you/have/them.
> ===> Note! There is no 'lib' under 'usr'.
>
It should be there and be the same as /lib via mount. What does mount -m
say?
ford@fordpc /usr/lib
$ mount -m
mount -f -s -b "G:/cygwin/usr/X11R6/lib/X11/fonts" "/usr/X11R6/lib/X11/fonts"
mount -f -s -b "G:/cygwin/bin" "/usr/bin"
mount -f -s -b "G:/cygwin/lib" "/usr/lib"
mount -f -s -b "G:/cygwin" "/"
mount -s -b --change-cygdrive-prefix "/cygdrive"
Use mount to add it.
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444
--
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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-11-01 7:36 ` Alex Vinokur
@ 2003-11-01 15:44 ` Brian Ford
0 siblings, 0 replies; 26+ messages in thread
From: Brian Ford @ 2003-11-01 15:44 UTC (permalink / raw)
To: Alex Vinokur; +Cc: cygwin
On Sat, 1 Nov 2003, Alex Vinokur wrote:
> Also :
>
> $ pwd
> /lib/gcc-lib/i686-pc-cygwin
>
> $ ls -l
> total 0
> drwxr-xr-x 4 Administ None 0 Sep 22 08:32 3.3.1
>
> So,
> ===> There is no 'bin' under 'i686-pc-cygwin'.
>
That is by design. This is an internal place the compiler looks for
programs, "fixed headers", crt objects, libs, etc.
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444
--
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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: STLport with the Cygwin/MinGW compiler
2003-11-01 11:36 ` STLport with the Cygwin/MinGW compiler Gerrit P. Haase
@ 2003-11-01 20:02 ` Alex Vinokur
2003-11-01 20:10 ` Alex Vinokur
2003-11-02 9:47 ` Gerrit P. Haase
0 siblings, 2 replies; 26+ messages in thread
From: Alex Vinokur @ 2003-11-01 20:02 UTC (permalink / raw)
To: cygwin
"Gerrit P. Haase" <gp@familiehaase.de> wrote in message news:75783230946.20031101124319@familiehaase.de...
[snip]
> There are some useful switches for the compiler / linker. You can specify
> the include directory to be used during compilation with:
>
> -I/path/to/stlport-headers
>
> and the path to the libraries you want to link with:
>
> -L/usr/lib/stlport
>
> Usually there is no need to move the libraries around.
>
[snip]
The program with STLport has been compiled.
However running the program causes some problem.
Here are details.
=======================================
Windows 2000 Professional
CYGWIN_NT-5.0 1.5.4(0.94/3/2)
GNU gcc version 3.3.1 (cygming special)
=======================================
====== 1. Relevant Environment : BEGIN ======
$ cd /STLport-4.5.3/stlport
$ ls -l
total 205
drwxr-xr-x 4 Administ None 0 Nov 1 15:01 BC50
-rw-r--r-- 1 Administ None 1374 Jan 26 2001 algorithm
-rw-r--r-- 1 Administ None 2024 Jan 26 2001 bitset
-rw-r--r-- 1 Administ None 1057 Jan 10 2002 cassert
-rw-r--r-- 1 Administ None 1922 Jan 26 2001 cctype
-rw-r--r-- 1 Administ None 1273 Jan 10 2002 cerrno
-rw-r--r-- 1 Administ None 1149 Jan 26 2001 cfloat
-rw-r--r-- 1 Administ None 1207 Jan 26 2001 climits
-rw-r--r-- 1 Administ None 1356 Jan 10 2002 clocale
-rw-r--r-- 1 Administ None 2460 Sep 17 2001 cmath
-rw-r--r-- 1 Administ None 1534 Feb 5 2001 complex
drwxr-xr-x 3 Administ None 0 Nov 1 15:01 config
-rw-r--r-- 1 Administ None 1386 Jan 26 2001 csetjmp
-rw-r--r-- 1 Administ None 1328 Jan 26 2001 csignal
-rw-r--r-- 1 Administ None 1170 Jan 26 2001 cstdarg
-rw-r--r-- 1 Administ None 1528 Jan 10 2002 cstddef
-rw-r--r-- 1 Administ None 3515 Jan 10 2002 cstdio
-rw-r--r-- 1 Administ None 3258 Aug 23 2001 cstdlib
-rw-r--r-- 1 Administ None 1162 Jan 26 2001 cstring
-rw-r--r-- 1 Administ None 1663 Jan 10 2002 ctime
-rw-r--r-- 1 Administ None 1048 Jan 26 2001 ctype.h
-rw-r--r-- 1 Administ None 8536 Jan 10 2002 cwchar
-rw-r--r-- 1 Administ None 2314 Feb 2 2002 cwctype
-rw-r--r-- 1 Administ None 1205 Jul 31 2001 deque
-rw-r--r-- 1 Administ None 5706 Jul 5 2001 exception
-rw-r--r-- 1 Administ None 1279 Aug 31 2001 exception.h
-rw-r--r-- 1 Administ None 876 Sep 17 2001 export
-rw-r--r-- 1 Administ None 821 Sep 17 2001 export.sun
-rw-r--r-- 1 Administ None 1506 Feb 5 2001 fstream
-rw-r--r-- 1 Administ None 1386 Aug 24 2001 fstream.h
-rw-r--r-- 1 Administ None 1120 Jan 26 2001 functional
-rw-r--r-- 1 Administ None 982 Jan 26 2001 hash_map
-rw-r--r-- 1 Administ None 982 Jan 26 2001 hash_set
-rw-r--r-- 1 Administ None 4981 May 15 2001 iomanip
-rw-r--r-- 1 Administ None 1676 Oct 9 2001 iomanip.h
-rw-r--r-- 1 Administ None 1072 Jan 26 2001 ios
-rw-r--r-- 1 Administ None 1341 Aug 24 2001 ios.h
-rw-r--r-- 1 Administ None 1305 Feb 5 2001 iosfwd
-rw-r--r-- 1 Administ None 2517 Feb 28 2001 iostream
-rw-r--r-- 1 Administ None 2701 Aug 24 2001 iostream.h
-rw-r--r-- 1 Administ None 1189 Feb 5 2001 istream
-rw-r--r-- 1 Administ None 1610 Mar 18 2001 istream.h
-rw-r--r-- 1 Administ None 1327 May 25 2001 iterator
-rw-r--r-- 1 Administ None 999 Jan 26 2001 limits
-rw-r--r-- 1 Administ None 1199 Jul 31 2001 list
-rw-r--r-- 1 Administ None 4198 Jan 26 2001 locale
-rw-r--r-- 1 Administ None 1048 Jan 26 2001 locale.h
-rw-r--r-- 1 Administ None 1156 Jul 31 2001 map
-rw-r--r-- 1 Administ None 1365 Jul 25 2001 math.h
-rw-r--r-- 1 Administ None 1303 Jan 26 2001 mem.h
-rw-r--r-- 1 Administ None 1512 Jan 26 2001 memory
-rw-r--r-- 1 Administ None 22 Dec 7 2000 mmemory.h
-rw-r--r-- 1 Administ None 3230 Jan 10 2002 new
-rw-r--r-- 1 Administ None 1275 Aug 31 2001 new.h
-rw-r--r-- 1 Administ None 1099 Jan 26 2001 numeric
drwxr-xr-x 2 Administ None 0 Nov 1 15:01 old_hp
-rw-r--r-- 1 Administ None 1092 Feb 5 2001 ostream
-rw-r--r-- 1 Administ None 1351 Aug 24 2001 ostream.h
-rw-r--r-- 1 Administ None 1146 Feb 2 2002 pthread.h
-rw-r--r-- 1 Administ None 1117 Jan 26 2001 pthread_alloc
-rw-r--r-- 1 Administ None 1188 Jan 26 2001 queue
-rw-r--r-- 1 Administ None 301 May 21 2001 rlocks.h
-rw-r--r-- 1 Administ None 907 Jan 26 2001 rope
-rw-r--r-- 1 Administ None 1156 Jul 31 2001 set
-rw-r--r-- 1 Administ None 1074 Jan 26 2001 setjmp.h
-rw-r--r-- 1 Administ None 1048 Jan 26 2001 signal.h
-rw-r--r-- 1 Administ None 1034 Jul 31 2001 slist
-rw-r--r-- 1 Administ None 1312 Feb 5 2001 sstream
-rw-r--r-- 1 Administ None 1204 Jul 31 2001 stack
-rw-r--r-- 1 Administ None 1048 Jan 26 2001 stdarg.h
-rw-r--r-- 1 Administ None 973 Jan 26 2001 stddef.h
-rw-r--r-- 1 Administ None 4350 May 21 2001 stdexcept
-rw-r--r-- 1 Administ None 1205 Jan 26 2001 stdio.h
-rw-r--r-- 1 Administ None 3842 Jan 10 2002 stdio_streambuf
-rw-r--r-- 1 Administ None 320 May 21 2001 stdiostream.h
-rw-r--r-- 1 Administ None 1046 Jan 26 2001 stdlib.h
drwxr-xr-x 4 Administ None 0 Nov 1 15:01 stl
-rw-r--r-- 1 Administ None 7536 Nov 29 2001 stl_user_config.h
-rw-r--r-- 1 Administ None 1101 Feb 5 2001 streambuf
-rw-r--r-- 1 Administ None 1490 Aug 24 2001 streambuf.h
-rw-r--r-- 1 Administ None 1390 Mar 21 2001 string
-rw-r--r-- 1 Administ None 1052 Sep 29 2001 string.h
-rw-r--r-- 1 Administ None 1433 Jan 26 2001 strstream
-rw-r--r-- 1 Administ None 1650 Aug 24 2001 strstream.h
-rw-r--r-- 1 Administ None 1079 Jan 10 2002 time.h
-rw-r--r-- 1 Administ None 2108 Jan 10 2002 typeinfo
-rw-r--r-- 1 Administ None 1587 May 18 2001 typeinfo.h
drwxr-xr-x 3 Administ None 0 Nov 1 15:01 using
-rw-r--r-- 1 Administ None 1465 Jan 26 2001 utility
-rw-r--r-- 1 Administ None 1060 Jul 31 2001 valarray
-rw-r--r-- 1 Administ None 1264 Jan 26 2001 vector
-rw-r--r-- 1 Administ None 1436 Sep 29 2001 wchar.h
-rw-r--r-- 1 Administ None 1048 Jan 26 2001 wctype.h
drwxr-xr-x 3 Administ None 0 Nov 1 15:01 wrap_std
$ cd /bin
$ ls -l *stl*
-rwxr-xr-x 1 Administ None 1242370 Oct 31 20:15 libstlport-45.dll
-rwxr-xr-x 1 Administ None 7431381 Oct 31 20:23 libstlport_stldebug-45.dll
// Note. I put those DLLs in /bin
====== 1. Relevant Environment : END ========
########################################
# File foo.cpp can be seen in attachment
########################################
====== 2. File foo.cpp -> Ordinary Compilation : BEGIN ======
$ g++ -o foo_orig.exe foo.cpp
$ wc foo_orig.exe
462 5847 478971 foo_orig.exe
$ cygcheck foo_orig.exe
Found: .\foo_orig.exe
foo_orig.exe
C:\cygwin\bin\cygwin1.dll
C:\WINNT\System32\KERNEL32.dll
C:\WINNT\System32\NTDLL.DLL
====== 2. File foo.cpp -> Ordinary Compilation : END ========
====== 3. File foo.cpp -> Compilation with STLport : BEGIN ======
$ g++ -o foo_port.exe foo.cpp -I/STLport-4.5.3/stlport -L/STLport-4.5.3/lib -lstlport
Info: resolving _STL::cout by linking to __imp___ZN4_STL4coutE (auto-import)
Info: resolving _STL::cerr by linking to __imp___ZN4_STL4cerrE (auto-import)
Info: resolving _STL::ios_base::goodbit by linking to __imp___ZN4_STL8ios_base7goodbitE (auto-import)
Info: resolving _STL::ios_base::badbit by linking to __imp___ZN4_STL8ios_base6badbitE (auto-import)
Info: resolving _STL::ctype<char>::id by linking to __imp___ZN4_STL5ctypeIcE2idE (auto-import)
Info: resolving _STL::numpunct<char>::id by linking to __imp___ZN4_STL8numpunctIcE2idE (auto-import)
Info: resolving vtable for _STL::basic_streambuf<char, _STL::char_traits<char> >by linking to
__imp___ZTVN4_STL15basic_streambufIcNS_11char_traitsIcEEEE (auto-import)
$ wc foo_port.exe
97 1595 136981 foo_port.exe
$ cygcheck foo_port.exe
Found: .\foo_port.exe
foo_port.exe
C:\cygwin\bin\libstlport-45.dll
C:\cygwin\bin\cygwin1.dll
C:\WINNT\System32\KERNEL32.dll
C:\WINNT\System32\NTDLL.DLL
====== 3. File foo.cpp -> Compilation with STLport : END ========
====== 4. File foo.cpp -> Run : BEGIN ======
$ foo_orig
USAGE :
foo_orig all <N> ---> Fibonacci [0 - N]
foo_orig th <N> ---> Fibonacci [N]
foo_orig some <N1> [<N2> ...] ---> Fibonacci [N1], Fibonacci [N2], ...
foo_orig rand <K> [<M>] ---> K random Fibonacci numbers ( < M; Default = 25000 )
$ foo_orig th 5000
Fib [5000] = 3878968454388325633701916308325905312082127714646245106160597214895
55013904403709701082291646221066947929345285888297381348310200895498294036143015
69114789383642165639441069102145056341337065586562382546567007125259299038549338
13928836378347518908762970712033337052923107693008518093849801803847813996748881
76555465378829164426891298038461377896902150229308247566634622492307188332480328
03750391303529033045058427011476352422702109346376991040067141748832984228914912
73104054328753298044273676822977244987749874555691907703880637046832794811358973
73999311010621930814901857081539785437919530561751076105307568878376603366735544
52588448862416192105534574936758978490279882343510235998446639348532564119522218
59563060475364645470760330902420806382584929156452876291575759142343809142302917
49108898415520985443248659407979357131684169286803954530954538869811466508206686
28974206393234384884652409887423958738019769938203171742089322654688793640026307
97780058759129671389634214252579116872755600360311370547754724604639987588046985
178408674382863125
CPU time used : 0.16 sec
$ foo_port
USAGE :
foo_port all <N> ---> Fibonacci [0 - N]
foo_port th <N> ---> Fibonacci [N]
foo_port some <N1> [<N2> ...] ---> Fibonacci [N1], Fibonacci [N2], ...
foo_port rand <K> [<M>] ---> K random Fibonacci numbers ( < M; Default =
$ foo_port th 5000
CPU time used : Fib [
====== 4. File foo.cpp -> Run : END ========
Here is another (very simple) program.
######### File bar.cpp ######
#include <iostream>
using namespace std;
#define PARAM1 "ABCD"
#define PARAM2 12345
#define PARAM3 "XYZ"
int main ()
{
cout << "PARAM1 = (" << PARAM1 << ")" << endl;
cout << "PARAM2 = (" << PARAM2 << ")" << endl;
cout << "PARAM3 = (" << PARAM3 << ")" << endl;
return 0;
}
#############################
====== 5. File bar.cpp -> Ordinary Compilation : BEGIN ======
$ g++ -o bar_orig.exe bar.cpp
$ wc bar_orig.exe
357 5098 400591 bar_orig.exe
$ cygcheck bar_orig.exe
Found: .\bar_orig.exe
bar_orig.exe
C:\cygwin\bin\cygwin1.dll
C:\WINNT\System32\KERNEL32.dll
C:\WINNT\System32\NTDLL.DLL
====== 5. File bar.cpp -> Ordinary Compilation : END ========
====== 6. File bar.cpp -> Compilation with STLport : BEGIN ======
$ g++ -o bar_port.exe bar.cpp -I/STLport-4.5.3/stlport -L/STLport-4.5.3/lib -lstlport
Info: resolving _STL::cout by linking to __imp___ZN4_STL4coutE (auto-import)
$ wc bar_port.exe
34 611 48287 bar_port.exe
$ cygcheck bar_port.exe
Found: .\bar_port.exe
bar_port.exe
C:\cygwin\bin\libstlport-45.dll
C:\cygwin\bin\cygwin1.dll
C:\WINNT\System32\KERNEL32.dll
C:\WINNT\System32\NTDLL.DLL
====== 6. File bar.cpp -> Compilation with STLport : END ========
====== 7. File bar.cpp -> Run : BEGIN ======
$ bar_orig
PARAM1 = (ABCD)
PARAM2 = (12345)
PARAM3 = (XYZ)
$ bar_port
PARAM1 = (ABCD)
PARAM2 = (
====== 7. File bar.cpp -> Run : END ========
--
=====================================
Alex Vinokur
mailto:alexvn@connect.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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: STLport with the Cygwin/MinGW compiler
2003-11-01 20:02 ` Alex Vinokur
@ 2003-11-01 20:10 ` Alex Vinokur
2003-11-02 9:47 ` Gerrit P. Haase
1 sibling, 0 replies; 26+ messages in thread
From: Alex Vinokur @ 2003-11-01 20:10 UTC (permalink / raw)
To: cygwin
"Alex Vinokur" <alexvn@connect.to> wrote in message news:bo13h2$am9$1@sea.gmane.org...
>
[snip]
> ########################################
> # File foo.cpp can be seen in attachment
> ########################################
[snip]
File foo.cpp can be seen in attachment to _this_ posting.
Sorry.
--
=====================================
Alex Vinokur
mailto:alexvn@connect.to
http://mathforum.org/library/view/10978.html
news://news.gmane.org/gmane.comp.lang.c++.perfometer
=====================================
begin 666 foo.cpp
M+R\@(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(PT*+R\@6T,K*UT@0V]M<'5T:6YG('9E<GD@;&]N9R!&:6)O;F%C8VD@;G5M
M8F5R<PT*+R\@(" @(" @5F5R<VEO;B R+C4N,2 H=VET:"!P97)F;W)M86YC
M92!T97-T*0T*+R\@+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM
M+2TM+2TM+2TM+0T*+R\@0W)E871E9"!B>2!!;&5X(%9I;F]K=7(-"B\O(&AT
M=' Z+R]U<"YT;R]A;&5X=FX-"B\O(",C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,-"@T*(VEN8VQU9&4@/'-T9&QI8BYH/@T*
M(VEN8VQU9&4@/&%S<V5R="YH/@T*(VEN8VQU9&4@/'-T<FEN9SX-"B-I;F-L
M=61E(#QS<W1R96%M/@T*(VEN8VQU9&4@/'9E8W1O<CX-"B-I;F-L=61E(#QI
M;W-T<F5A;3X-"B-I;F-L=61E(#QI;VUA;FEP/@T*(VEN8VQU9&4@/&%L9V]R
M:71H;3X-"G5S:6YG(&YA;65S<&%C92!S=&0[#0H-"@T*(V1E9FEN92!-05A?
M5D%,544H>"QY*2 @*"AX*2 ^("AY*2 _("AX*2 Z("AY*2D-"B-D969I;F4@
M05-315)4*'@I#0HO+R C9&5F:6YE($%34T525"AX*2 @("!A<W-E<G0H>"D-
M"@T*#0HC9&5F:6YE($U!6%]53DE47U9!3%5%(" H54Q/3D=?34%8(#X^(#(I
M#0HC9&5F:6YE($)!4T4Q(" Q, T*(V1E9FEN92!"05-%,B @,3 P,# P,# P
M," @("\O($)!4T4Q("HJ("A"05-%,2 M(#$I#0H-"B-I9B H0D%313(@/CT@
M34%87U5.251?5D%,544I#0HC97)R;W(@0V]M<&EL871I;VX@17)R;W(M,2 Z
M("A"05-%,B ^/2!-05A?54Y)5%]604Q512D-"B-E;F1I9@T*#0HC:68@*"$H
M0D%313$@*B H0D%313(O0D%313$@*R Q*2 \($U!6%]53DE47U9!3%5%*2D-
M"B-E<G)O<B!#;VUP:6QA=&EO;B!%<G)O<BTR(#H@*"$H0D%313$@*B H0D%3
M13(O0D%313$@*R Q*2 \($U!6%]53DE47U9!3%5%*2D-"B-E;F1I9@T*#0H-
M"G1Y<&5D968@=6YS:6=N960@:6YT("!U:6YT.PT*='EP961E9B!U;G-I9VYE
M9"!L;VYG('5L;VYG.PT*#0HO+R ]/3T]/3T]/3T-"F-L87-S($)I9TEN= T*
M+R\@/3T]/3T]/3T]#0I[#0IF<FEE;F0@;W-T<F5A;28@;W!E<F%T;W(\/" H
M;W-T<F5A;28@;W,L(&-O;G-T($)I9TEN="8@:6YS7VDI.PT*#0H@('!R:79A
M=&4@.@T*(" @('-T871I8R!U;&]N9R @:&5A9%]S.PT*(" @('9E8W1O<CQU
M;&]N9SX@=6YI='-?.PT*#0H@('!U8FQI8R Z#0H@(" @0FEG26YT("AU;&]N
M9R!U;FET7VDI( T*(" @('L-"B @(" @($%34T525" H=6YI=%]I(#P@0D%3
M13(I.PT*(" @(" @=6YI='-?+G!U<VA?8F%C:R H=6YI=%]I*3L-"B @("!]
M#0H-"B @("!":6=);G0@*$)I9TEN="!B:6<Q7VDL($)I9TEN="!B:6<R7VDI
M( T*(" @('L@#0H@(" @("!C;VYS="!U;&]N9R!M87A?<VEZ92 ]($U!6%]6
M04Q512 H8FEG,5]I+G5N:71S7RYS:7IE("@I+"!B:6<R7VDN=6YI='-?+G-I
M>F4@*"DI.PT*#0H@(" @("!B:6<Q7VDN=6YI='-?+G)E<VEZ92AM87A?<VEZ
M92D[#0H@(" @("!B:6<R7VDN=6YI='-?+G)E<VEZ92AM87A?<VEZ92D[#0H@
M(" @("!U;FET<U\N<F5S:7IE*&UA>%]S:7IE*3L-"@T*(" @(" @:&5A9%]S
M(#T@,#L-"B @(" @('1R86YS9F]R;2 H8FEG,5]I+G5N:71S7RYB96=I;B@I
M+"!B:6<Q7VDN=6YI='-?+F5N9"@I+"!B:6<R7VDN=6YI='-?+F)E9VEN*"DL
M('5N:71S7RYB96=I;B@I+" J=&AI<RD[#0H-"B @(" @(&EF("AH96%D7W,I
M('5N:71S7RYP=7-H7V)A8VL@*&AE861?<RD[#0H-"B @("!]#0H-"B @("!U
M;&]N9R!O<&5R871O<B@I("AC;VYS="!U;&]N9R!N,2P@8V]N<W0@=6QO;F<@
M;C(I#0H@(" @>PT*(" @(" @8V]N<W0@=6QO;F<@=F%L=64@/2!N,2 K(&XR
M("L@:&5A9%]S.PT*(" @(" @:&5A9%]S(#T@=F%L=64O0D%313([#0H@(" @
M("!R971U<FX@*'9A;'5E)4)!4T4R*3L-"B @("!]#0H-"GT[#0H-"@T*+R\@
M+2TM+2TM+2TM+2TM+2T-"FEN;&EN92!O<W1R96%M)B!O<&5R871O<CP\("AO
M<W1R96%M)B!O<RP@8V]N<W0@0FEG26YT)B!I;G-?:2D-"GL-"B @05-315)4
M("@A:6YS7VDN=6YI='-?+F5M<'1Y("@I*3L-"B @9F]R("AU;&]N9R!I(#T@
M*&EN<U]I+G5N:71S7RYS:7IE("@I("T@,2D[(&D[("TM:2D@#0H@('L-"B @
M("!O<R \/"!I;G-?:2YU;FET<U\@6VE=(#P\('-E='<@*$)!4T4Q("T@,2D@
M/#P@<V5T9FEL;" H)S G*3L-"B @?0T*("!R971U<FX@;W,@/#P@:6YS7VDN
M=6YI='-?(%LP73L-"GT-"@T*#0HO+R ]/3T]/3T]/3T]/3T-"F-L87-S($9I
M8F]N86-C:0T*+R\@/3T]/3T]/3T]/3T]#0I[#0H@('!R:79A=&4@.@T*(" @
M('9E8W1O<CQ":6=);G0^(" @9FEB<U\[#0H@(" @0FEG26YT(" @(" @(" @
M("!G971?;G5M8F5R("AU:6YT(&Y?:2 ](# I.PT*#0H@('!U8FQI8R Z#0H@
M(" @=F]I9" @(" @(" @(" @("!S:&]W7V%L;%]N=6UB97)S("@I(&-O;G-T
M.PT*(" @('9O:60@(" @(" @(" @(" @<VAO=U]L87-T7VYU;6)E<B H*2!C
M;VYS=#L-"B @("!V;VED(" @(" @(" @(" @('-H;W=?;G5M8F5R("AU;&]N
M9R!N7VDI.PT*#0H@(" @1FEB;VYA8V-I("AU:6YT(&Y?:2 ](# I('L@9V5T
M7VYU;6)E<B H;E]I*3L@?0T*(" @('Y&:6)O;F%C8VD@*"D@>WT-"@T*?3L-
M"@T*#0HO+R M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+0T*0FEG26YT($9I8F]N
M86-C:3HZ9V5T7VYU;6)E<B H=6EN="!N7VDI#0I[#0IC;VYS="!U:6YT(&-U
M<E]S:7IE(#T@9FEB<U\N<VEZ92 H*3L-"@T*("!F;W(@*'5I;G0@:2 ](&-U
M<E]S:7IE.R!I(#P](&Y?:3L@*RMI*0T*("![#0H@(" @<W=I=&-H("AI*0T*
M(" @('L-"B @(" @(&-A<V4@," Z#0H@(" @(" @(&9I8G-?+G!U<VA?8F%C
M:R H0FEG26YT*# I*3L-"B @(" @(" @8G)E86L[#0H-"B @(" @(&-A<V4@
M,2 Z#0H@(" @(" @(&EF("AF:6)S7RYE;7!T>2 H*2D@9FEB<U\N<'5S:%]B
M86-K("A":6=);G0@*# I*3L-"B @(" @(" @9FEB<U\N<'5S:%]B86-K*$)I
M9TEN=" H,2DI.PT*(" @(" @("!B<F5A:SL-"@T*(" @(" @9&5F875L=" Z
M#0H@(" @(" @(&9I8G-?+G!U<VA?8F%C:R H0FEG26YT("AG971?;G5M8F5R
M("AI("T@,BDL(&=E=%]N=6UB97(@*&D@+2 Q*2DI.PT*(" @(" @("!B<F5A
M:SL-"B @("!]#0H@('T-"@T*("!!4U-%4E0@*&Y?:2 \(&9I8G-?+G-I>F4H
M*2D[#0H@(')E='5R;B!F:6)S7R!;;E]I73L-"@T*?0T*#0H-"B\O("TM+2TM
M+2TM+2TM+2TM+2TM+2TM+2TM#0IV;VED($9I8F]N86-C:3HZ<VAO=U]A;&Q?
M;G5M8F5R<R H*2!C;VYS= T*>PT*;W-T<FEN9W-T<F5A;2 @(&]S<SL-"@T*
M("!F;W(@*'5I;G0@:2 ](# [(&D@/"!F:6)S7RYS:7IE("@I.R K*VDI#0H@
M('L-"B @("!O<W,@/#P@(D9I8B!;(B \/"!I(#P\(")=(#T@(B \/"!F:6)S
M7R!;:5T@/#P@(EQN(CL-"B @?0T*("!C;W5T(#P\(&]S<RYS='(H*3L@#0I]
M#0H-"@T*+R\@+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2T-"G9O:60@1FEB;VYA
M8V-I.CIS:&]W7VQA<W1?;G5M8F5R("@I(&-O;G-T#0I[#0IO<W1R:6YG<W1R
M96%M(" @;W-S.PT*#0H@(&]S<R \/" B1FEB(%LB(#P\("AF:6)S7RYS:7IE
M*"D@+2 Q*2 \/" B72 ]("(@/#P@9FEB<U\N8F%C:R@I(#P\(")<;B([#0H-
M"B @8V]U=" \/"!O<W,N<W1R*"D[( T*?0T*#0H-"@T*+R\@+2TM+2TM+2TM
M+2TM+2TM+2TM+2TM+2T-"G9O:60@1FEB;VYA8V-I.CIS:&]W7VYU;6)E<B H
M=6QO;F<@;E]I*0T*>PT*;W-T<FEN9W-T<F5A;2 @(&]S<SL-"@T*("!I9B H
M(2AN7VD@/"!F:6)S7RYS:7IE*"DI*2!G971?;G5M8F5R("AN7VDI.PT*#0H@
M(&]S<R \/" B1FEB(%LB(#P\(&Y?:2 \/" B72 ]("(@/#P@9FEB<U];;E]I
M72 \/" B7&XB.PT*#0H@(&-O=70@/#P@;W-S+G-T<B@I.R -"GT-"@T*+R\@
M+2TM+2TM+2TM+2TM+2TM+2TM+0T*=6QO;F<@0FEG26YT.CIH96%D7W,@*# I
M.PT*#0H-"@T*#0HO+R ]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T-
M"B-D969I;F4@04Q,7T9)0E,@(")A;&PB#0HC9&5F:6YE(%1(7T9)0B @(" B
M=&@B#0HC9&5F:6YE(%-/345?1DE"4R B<V]M92(-"B-D969I;F4@4D%.1%]&
M24)3(")R86YD(@T*#0HC9&5F:6YE($U!6%]204Y$7T9)0B @(#(U,# P#0H-
M"B-D969I;F4@4T545S$@(" @(" T#0H-"B\O("TM+2TM+2TM+2TM+2TM+2TM
M+2TM+0T*=F]I9"!U<V%G92 H8VAA<B J*F%R9W8I#0I[#0H@(&-E<G(@/#P@
M(E5304=%(#H@(B -"B @(" @(" \/"!E;F1L#0H-"B @(" @(" \/" B(" B
M( T*(" @(" @(#P\(&%R9W9;,%T@#0H@(" @(" @/#P@(B B( T*(" @(" @
M(#P\('-E='<@*%-%5%<Q*0T*(" @(" @(#P\('-T9#HZ;&5F= T*(" @(" @
M(#P\($%,3%]&24)3(" @#0H@(" @(" @/#P@(B \3CX@(" @(" @(" @(" @
M("TM+3X@1FEB;VYA8V-I(%LP("T@3ETB( T*(" @(" @(#P\(&5N9&P-"@T*
M(" @(" @(#P\("(@("(@#0H@(" @(" @/#P@87)G=ELP72 -"B @(" @(" \
M/" B("(@#0H@(" @(" @/#P@<W1D.CIL969T#0H@(" @(" @/#P@<V5T=R H
M4T545S$I#0H@(" @(" @/#P@5$A?1DE"( T*(" @(" @(#P\("(@/$X^(" @
M(" @(" @(" @(" M+2T^($9I8F]N86-C:2!;3ETB( T*(" @(" @(#P\(&5N
M9&P-"@T*(" @(" @(#P\("(@("(@#0H@(" @(" @/#P@87)G=ELP72 -"B @
M(" @(" \/" B("(@#0H@(" @(" @/#P@<W1D.CIL969T#0H@(" @(" @/#P@
M<V5T=R H4T545S$I#0H@(" @(" @/#P@4T]-15]&24)3(" -"B @(" @(" \
M/" B(#Q.,3X@6SQ.,CX@+BXN72 @+2TM/B!&:6)O;F%C8VD@6TXQ72P@1FEB
M;VYA8V-I(%M.,ETL("XN+B(@#0H@(" @(" @/#P@96YD; T*#0H@(" @(" @
M/#P@(B @(B -"B @(" @(" \/"!A<F=V6S!=( T*(" @(" @(#P\("(@(B -
M"B @(" @(" \/"!S=&0Z.FQE9G0-"B @(" @(" \/"!S971W("A31517,2D-
M"B @(" @(" \/"!204Y$7T9)0E,@( T*(" @(" @(#P\("(@/$L^("!;/$T^
M72 @(" @(" M+2T^($L@<F%N9&]M($9I8F]N86-C:2!N=6UB97)S("@@/"!-
M.R!$969A=6QT(#T@(B -"B @(" @(" \/"!-05A?4D%.1%]&24(@#0H@(" @
M(" @/#P@(B I(B -"B @(" @(" \/"!E;F1L.PT*?0T*#0H-"B\O("TM+2TM
M+2TM+2TM+2TM+2TM+2TM+0T*<W1R:6YG(&-H96-K("AI;G0@87)G8RP@8VAA
M<B J*F%R9W8I#0I[#0H-"B @:68@*&%R9V,@/" S*2!R971U<FX@<W1R:6YG
M*"D[#0H-"F-O;G-T('-T<FEN9R!S='(@*&%R9W9;,5TI.PT*("!I9B H#0H@
M(" @(" @*'-T<B ]/2!!3$Q?1DE"4RD@#0H@(" @(" @?'P@#0H@(" @(" @
M*'-T<B ]/2!42%]&24(I( T*(" @(" @('Q\( T*(" @(" @("AS='(@/3T@
M4T]-15]&24)3*2 -"B @(" @("!\?" -"B @(" @(" H<W1R(#T](%)!3D1?
M1DE"4RD-"B @(" @*0T*("![#0H@(" @<F5T=7)N('-T<CL-"B @?0T*("!R
M971U<FX@<W1R:6YG*"D[#0H-"GT-"@T*#0HO+R M+2TM+2TM+2TM+2TM+2TM
M+2TM+2T-"B-I;F-L=61E(#QT:6UE+F@^#0II;G0@;6%I;B H:6YT(&%R9V,L
M(&-H87(@*BIA<F=V*0T*>PT*8V]N<W0@<W1R:6YG(&]P=&EO;B H8VAE8VL@
M*&%R9V,L(&%R9W8I*3L-"B @:68@*&]P=&EO;BYE;7!T>2@I*0T*("![#0H@
M(" @=7-A9V4@*&%R9W8I.PT*(" @(')E='5R;B Q.PT*("!]#0H-"F-O;G-T
M('5I;G0@3B ](&%T;VD@*&%R9W9;,ETI.PT*#0IC;VYS="!C;&]C:U]T(&-L
M;V-K7W-T87)T(#T@8VQO8VLH*3L-"B @87-S97)T("AC;&]C:U]S=&%R=" A
M/2!C;&]C:U]T("@M,2DI.PT*#0H@(&EF("AO<'1I;VX@/3T@04Q,7T9)0E,I
M( T*("![( T*(" @($9I8F]N86-C:2!F:6(H3BD[#0H@(" @9FEB+G-H;W=?
M86QL7VYU;6)E<G,H*3L@#0H@('T-"@T*("!I9B H;W!T:6]N(#T](%1(7T9)
M0BD@(" -"B @>R -"B @("!&:6)O;F%C8VD@9FEB*$XI.PT*(" @(&9I8BYS
M:&]W7VQA<W1?;G5M8F5R*"D[( T*("!]#0H-"B @:68@*&]P=&EO;B ]/2!3
M3TU%7T9)0E,I#0H@('L-"B @("!&:6)O;F%C8VD@9FEB.PT*(" @(&9O<B H
M:6YT(&D@/2 R.R!I(#P@87)G8SL@:2LK*2!F:6(N<VAO=U]N=6UB97(@*&%T
M;VDH87)G=EMI72DI.PT*("!]#0H-"B @:68@*&]P=&EO;B ]/2!204Y$7T9)
M0E,I#0H@('L-"B @("!C;VYS="!I;G0@;6%X7W)A;F1?9FEB(#T@*&%R9V,@
M/3T@,RD@/R!-05A?4D%.1%]&24(@.B!A=&]I("AA<F=V6S-=*3L-"B @("!&
M:6)O;F%C8VD@9FEB.PT*(" @(&9O<B H=6EN="!I(#T@,#L@:2 \($X[(&DK
M*RD@9FEB+G-H;W=?;G5M8F5R("AR86YD*"DE;6%X7W)A;F1?9FEB*3L-"B @
M?0T*#0IC;VYS="!C;&]C:U]T(&-L;V-K7V5N9" ](&-L;V-K*"D[#0H@(&%S
M<V5R=" H8VQO8VM?96YD("$](&-L;V-K7W0@*"TQ*2D[#0H-"B @8V5R<B \
M/" B0U!5("!T:6UE('5S960@.B B(#P\("AD;W5B;&4@*&-L;V-K7V5N9" M
M(&-L;V-K7W-T87)T*2]#3$]#2U-?4$527U-%0RD@/#P@(B!S96,B(#P\(&5N
;9&P[#0H-"B @<F5T=7)N(# [#0I]#0H-"@T*
`
end
--
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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-11-01 7:25 ` Alex Vinokur
@ 2003-11-02 2:12 ` Igor Pechtchanski
0 siblings, 0 replies; 26+ messages in thread
From: Igor Pechtchanski @ 2003-11-02 2:12 UTC (permalink / raw)
To: Alex Vinokur; +Cc: cygwin
On Sat, 1 Nov 2003, Alex Vinokur wrote:
> "Alex Vinokur" <alexvn@connect.to> wrote in message news:bnvmhe$um1$1@sea.gmane.org...
> [snip]
> >
> > ===> Note! There is no 'lib' under 'usr'.
> >
> [snip]
>
> Should I do link ?
>
> Something like :
> ------------------
> $ pwd
> /usr
>
> $ ln -s ../lib lib
> ------------------
"man mount".
"/usr/lib" is a mount of "/lib" (to make them the same). If the lack of
"lib" in "ls /usr" bothers you, simply "mkdir /cygdrive/c/cygwin/usr/lib".
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: STLport with the Cygwin/MinGW compiler
2003-11-01 20:02 ` Alex Vinokur
2003-11-01 20:10 ` Alex Vinokur
@ 2003-11-02 9:47 ` Gerrit P. Haase
2003-11-02 13:03 ` Alex Vinokur
1 sibling, 1 reply; 26+ messages in thread
From: Gerrit P. Haase @ 2003-11-02 9:47 UTC (permalink / raw)
To: Alex Vinokur; +Cc: cygwin
Hallo Alex,
I've recompiled the STLport library now, it seems that it doesn't work
with the DLL, when I link against the static library it works:
> ====== 7. File bar.cpp -> Run : BEGIN ======
> $ bar_orig
> PARAM1 = (ABCD)
> PARAM2 = (12345)
> PARAM3 = (XYZ)
> $ bar_port
> PARAM1 = (ABCD)
> PARAM2 = (
> ====== 7. File bar.cpp -> Run : END ========
$ g++ -o bar_stl.o -c bar.cpp -Istlport
$ g++ -o bar_stl bar_stl.o ./lib/libstlport_cygwin.a
$ ./bar_stl
PARAM1 = (ABCD)
PARAM2 = (12345)
PARAM3 = (XYZ)
Since libstdc++ is also static, it will be a fair race if both
times the static archive is used.
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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: STLport with the Cygwin/MinGW compiler
2003-11-02 9:47 ` Gerrit P. Haase
@ 2003-11-02 13:03 ` Alex Vinokur
2003-11-02 14:40 ` Gerrit P. Haase
0 siblings, 1 reply; 26+ messages in thread
From: Alex Vinokur @ 2003-11-02 13:03 UTC (permalink / raw)
To: cygwin
Hi Gerrit,
"Gerrit P. Haase" <gp@familiehaase.de> wrote in message news:46863102485.20031102105431@familiehaase.de...
> Hallo Alex,
>
> I've recompiled the STLport library now, it seems that it doesn't work
> with the DLL, when I link against the static library it works:
>
>
> > ====== 7. File bar.cpp -> Run : BEGIN ======
>
> > $ bar_orig
> > PARAM1 = (ABCD)
> > PARAM2 = (12345)
> > PARAM3 = (XYZ)
>
> > $ bar_port
> > PARAM1 = (ABCD)
> > PARAM2 = (
>
> > ====== 7. File bar.cpp -> Run : END ========
>
> $ g++ -o bar_stl.o -c bar.cpp -Istlport
> $ g++ -o bar_stl bar_stl.o ./lib/libstlport_cygwin.a
> $ ./bar_stl
> PARAM1 = (ABCD)
> PARAM2 = (12345)
> PARAM3 = (XYZ)
>
> Since libstdc++ is also static, it will be a fair race if both
> times the static archive is used.
>
[snip]
Thanks.
libstlport_cygwin.a works fine.
I tried to do the same thing with mingw.
* libstlport.a (libstlport_mingw.a) and libstlport_stldebug.a have been created with no errors
* Creating libstlport.dll.a failed (See Log-1).
I tried to compile bar.cpp with libstlport_mingw.a, but that compilation failed as well (See Log-2).
------ Log-1. Creating libstlport libraries for mingw : BEGIN ------
$ diff Makefile.cyg Makefile.mng
5c5
< CXX = c++
---
> CXX = c++ -mno-cygwin
7c7
< COMP = cygwin
---
> COMP = mingw
27c27
< COMP=cygwin
---
> COMP=mingw
$ make -f Makefile.mng
mkdir -p ../lib/obj/mingw/Release
c++ -mno-cygwin -I../stlport -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -O2 dll_main.cpp -c -o ../lib/obj/mingw/Release/dll
_main.o
[---omitted---]
ar crv ../lib/libstlport.a ../lib/obj/mingw/Release/dll_main.o ../lib/obj/mingw/Release/fstream.o ../lib/obj/mingw/Release/strstrea
m.o ../lib/obj/mingw/Release/sstream.o ../lib/obj/mingw/Release/ios.o ../lib/obj/mingw/Release/streambuf.o ../lib/obj/mingw/Release/
stdio_streambuf.o ../lib/obj/mingw/Release/istream.o ../lib/obj/mingw/Release/ostream.o ../lib/obj/mingw/Release/iostream.o ../lib/o
bj/mingw/Release/codecvt.o ../lib/obj/mingw/Release/collate.o ../lib/obj/mingw/Release/ctype.o ../lib/obj/mingw/Release/monetary.o .
./lib/obj/mingw/Release/num_get.o ../lib/obj/mingw/Release/num_put.o ../lib/obj/mingw/Release/num_get_float.o ../lib/obj/mingw/Relea
se/num_put_float.o ../lib/obj/mingw/Release/numpunct.o ../lib/obj/mingw/Release/time_facets.o ../lib/obj/mingw/Release/messages.o ..
/lib/obj/mingw/Release/locale_impl.o ../lib/obj/mingw/Release/locale.o ../lib/obj/mingw/Release/locale_catalog.o ../lib/obj/mingw/Re
lease/facets_byname.o ../lib/obj/mingw/Release/c_locale.o ../lib/obj/mingw/Release/c_locale_stub.o ../lib/obj/mingw/Release/complex.
o ../lib/obj/mingw/Release/complex_exp.o ../lib/obj/mingw/Release/complex_io.o ../lib/obj/mingw/Release/complex_trig.o ../lib/obj/mi
ngw/Release/complex_io_w.o ../lib/obj/mingw/Release/string_w.o
a - ../lib/obj/mingw/Release/dll_main.o
a - ../lib/obj/mingw/Release/fstream.o
a - ../lib/obj/mingw/Release/strstream.o
a - ../lib/obj/mingw/Release/sstream.o
a - ../lib/obj/mingw/Release/ios.o
a - ../lib/obj/mingw/Release/streambuf.o
a - ../lib/obj/mingw/Release/stdio_streambuf.o
a - ../lib/obj/mingw/Release/istream.o
a - ../lib/obj/mingw/Release/ostream.o
a - ../lib/obj/mingw/Release/iostream.o
a - ../lib/obj/mingw/Release/codecvt.o
a - ../lib/obj/mingw/Release/collate.o
a - ../lib/obj/mingw/Release/ctype.o
a - ../lib/obj/mingw/Release/monetary.o
a - ../lib/obj/mingw/Release/num_get.o
a - ../lib/obj/mingw/Release/num_put.o
a - ../lib/obj/mingw/Release/num_get_float.o
a - ../lib/obj/mingw/Release/num_put_float.o
a - ../lib/obj/mingw/Release/numpunct.o
a - ../lib/obj/mingw/Release/time_facets.o
a - ../lib/obj/mingw/Release/messages.o
a - ../lib/obj/mingw/Release/locale_impl.o
a - ../lib/obj/mingw/Release/locale.o
a - ../lib/obj/mingw/Release/locale_catalog.o
a - ../lib/obj/mingw/Release/facets_byname.o
a - ../lib/obj/mingw/Release/c_locale.o
a - ../lib/obj/mingw/Release/c_locale_stub.o
a - ../lib/obj/mingw/Release/complex.o
a - ../lib/obj/mingw/Release/complex_exp.o
a - ../lib/obj/mingw/Release/complex_io.o
a - ../lib/obj/mingw/Release/complex_trig.o
a - ../lib/obj/mingw/Release/complex_io_w.o
a - ../lib/obj/mingw/Release/string_w.o
mkdir -p ../lib/obj/mingw/DebugSTL
c++ -mno-cygwin -I../stlport -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -O -g -D_STLP_DEBUG dll_main.cpp -c -o ../lib/obj/m
ingw/DebugSTL/dll_main.o
[---omitted---]
[---omitted---]
c++ -shared -o ../lib/libstlport-45.dll -I../stlport -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -O2 -D_STLP_USE_DYNAMIC_LIB
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,-d -Wl,--out-implib,../lib/libstlport.dll.a -Wl,--whole-archive ../lib/obj/m
ingw/ReleaseD/dll_main.o ../lib/obj/mingw/ReleaseD/fstream.o ../lib/obj/mingw/ReleaseD/strstream.o ../lib/obj/mingw/ReleaseD/sstream
.o ../lib/obj/mingw/ReleaseD/ios.o ../lib/obj/mingw/ReleaseD/streambuf.o ../lib/obj/mingw/ReleaseD/stdio_streambuf.o ../lib/obj/ming
w/ReleaseD/istream.o ../lib/obj/mingw/ReleaseD/ostream.o ../lib/obj/mingw/ReleaseD/iostream.o ../lib/obj/mingw/ReleaseD/codecvt.o ..
/lib/obj/mingw/ReleaseD/collate.o ../lib/obj/mingw/ReleaseD/ctype.o ../lib/obj/mingw/ReleaseD/monetary.o ../lib/obj/mingw/ReleaseD/n
um_get.o ../lib/obj/mingw/ReleaseD/num_put.o ../lib/obj/mingw/ReleaseD/num_get_float.o ../lib/obj/mingw/ReleaseD/num_put_float.o ../
lib/obj/mingw/ReleaseD/numpunct.o ../lib/obj/mingw/ReleaseD/time_facets.o ../lib/obj/mingw/ReleaseD/messages.o ../lib/obj/mingw/Rele
aseD/locale_impl.o ../lib/obj/mingw/ReleaseD/locale.o ../lib/obj/mingw/ReleaseD/locale_catalog.o ../lib/obj/mingw/ReleaseD/facets_by
name.o ../lib/obj/mingw/ReleaseD/c_locale.o ../lib/obj/mingw/ReleaseD/c_locale_stub.o ../lib/obj/mingw/ReleaseD/complex.o ../lib/obj
/mingw/ReleaseD/complex_exp.o ../lib/obj/mingw/ReleaseD/complex_io.o ../lib/obj/mingw/ReleaseD/complex_trig.o ../lib/obj/mingw/Relea
seD/complex_io_w.o ../lib/obj/mingw/ReleaseD/string_w.o -Wl,--no-whole-archive
Creating library file: ../lib/libstlport.dll.a
../lib/obj/mingw/ReleaseD/dll_main.o(.text$_ZN4_STL18__stl_debug_engineIbE8_MessageEPKcz+0x15):dll_main.cpp: undefined reference to
`__imp___iob'
../lib/obj/mingw/ReleaseD/fstream.o(.text+0xf2):fstream.cpp: undefined reference to `__imp____pioinfo'
../lib/obj/mingw/ReleaseD/iostream.o(.text+0x459):iostream.cpp: undefined reference to `__imp___iob'
../lib/obj/mingw/ReleaseD/iostream.o(.text+0x4b1):iostream.cpp: undefined reference to `__imp___iob'
../lib/obj/mingw/ReleaseD/iostream.o(.text+0x50f):iostream.cpp: undefined reference to `__imp___iob'
../lib/obj/mingw/ReleaseD/iostream.o(.text+0x56a):iostream.cpp: undefined reference to `__imp___iob'
../lib/obj/mingw/ReleaseD/iostream.o(.text+0x6a5):iostream.cpp: undefined reference to `__imp___iob'
../lib/obj/mingw/ReleaseD/iostream.o(.text+0x6c4):iostream.cpp: more undefined references to `__imp___iob' follow
../lib/obj/mingw/ReleaseD/num_put_float.o(.text+0x2bf):num_put_float.cpp: undefined reference to `__fpclass'
../lib/obj/mingw/ReleaseD/num_put_float.o(.text+0x36c):num_put_float.cpp: undefined reference to `__fpclass'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x45a):time_facets.cpp: undefined reference to `__Locale_abbrev_dayofweek'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x4cb):time_facets.cpp: undefined reference to `__Locale_full_dayofweek'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x547):time_facets.cpp: undefined reference to `__Locale_abbrev_monthname'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x5c7):time_facets.cpp: undefined reference to `__Locale_full_monthname'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x62e):time_facets.cpp: undefined reference to `__Locale_am_str'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x67f):time_facets.cpp: undefined reference to `__Locale_pm_str'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x6d0):time_facets.cpp: undefined reference to `__Locale_t_fmt'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x721):time_facets.cpp: undefined reference to `__Locale_d_fmt'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x772):time_facets.cpp: undefined reference to `__Locale_d_t_fmt'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x7c3):time_facets.cpp: undefined reference to `__Locale_long_d_fmt'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x814):time_facets.cpp: undefined reference to `__Locale_long_d_t_fmt'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x1a0e):time_facets.cpp: undefined reference to `__Locale_d_fmt'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x9b7):locale_catalog.cpp: undefined reference to `__Locale_extract_ctype_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x9d6):locale_catalog.cpp: undefined reference to `__Locale_extract_numeric_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x9f5):locale_catalog.cpp: undefined reference to `__Locale_extract_time_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa14):locale_catalog.cpp: undefined reference to `__Locale_extract_collate_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa39):locale_catalog.cpp: undefined reference to `__Locale_extract_monetary_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa58):locale_catalog.cpp: undefined reference to `__Locale_extract_messages_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa96):locale_catalog.cpp: undefined reference to `__Locale_compose_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x2696):locale_catalog.cpp: undefined reference to `__Locale_ctype_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x2bb6):locale_catalog.cpp: undefined reference to `__Locale_numeric_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x3146):locale_catalog.cpp: undefined reference to `__Locale_time_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x38c6):locale_catalog.cpp: undefined reference to `__Locale_collate_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x3c16):locale_catalog.cpp: undefined reference to `__Locale_monetary_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x4336):locale_catalog.cpp: undefined reference to `__Locale_messages_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x5):locale_catalog.cpp: undefined reference to `__Locale_ctype_create'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x15):locale_catalog.cpp: undefined reference to `__Locale_numeric_create'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x25):locale_catalog.cpp: undefined reference to `__Locale_time_create'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x35):locale_catalog.cpp: undefined reference to `__Locale_collate_create'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x45):locale_catalog.cpp: undefined reference to `__Locale_monetary_create'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x55):locale_catalog.cpp: undefined reference to `__Locale_messages_create'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x65):locale_catalog.cpp: undefined reference to `__Locale_ctype_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x75):locale_catalog.cpp: undefined reference to `__Locale_numeric_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x85):locale_catalog.cpp: undefined reference to `__Locale_time_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x95):locale_catalog.cpp: undefined reference to `__Locale_collate_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa5):locale_catalog.cpp: undefined reference to `__Locale_monetary_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xb5):locale_catalog.cpp: undefined reference to `__Locale_messages_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xc5):locale_catalog.cpp: undefined reference to `__Locale_ctype_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xd5):locale_catalog.cpp: undefined reference to `__Locale_numeric_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xe5):locale_catalog.cpp: undefined reference to `__Locale_time_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xf5):locale_catalog.cpp: undefined reference to `__Locale_collate_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x105):locale_catalog.cpp: undefined reference to `__Locale_monetary_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x115):locale_catalog.cpp: undefined reference to `__Locale_messages_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x125):locale_catalog.cpp: undefined reference to `__Locale_ctype_destroy'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x135):locale_catalog.cpp: undefined reference to `__Locale_numeric_destroy'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x145):locale_catalog.cpp: undefined reference to `__Locale_time_destroy'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x155):locale_catalog.cpp: undefined reference to `__Locale_collate_destroy'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x165):locale_catalog.cpp: undefined reference to `__Locale_monetary_destroy'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x175):locale_catalog.cpp: undefined reference to `__Locale_messages_destroy'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xa5):facets_byname.cpp: undefined reference to `__Locale_ctype_table'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1e5):facets_byname.cpp: undefined reference to `__Locale_ctype_table'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4bb):facets_byname.cpp: undefined reference to `__Locale_toupper'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4eb):facets_byname.cpp: undefined reference to `__Locale_tolower'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x531):facets_byname.cpp: undefined reference to `__Locale_toupper'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x581):facets_byname.cpp: undefined reference to `__Locale_tolower'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x978):facets_byname.cpp: undefined reference to `__Locale_wchar_ctype'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x9c4):facets_byname.cpp: undefined reference to `__Locale_wchar_ctype'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xa78):facets_byname.cpp: undefined reference to `__Locale_wchar_toupper'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xabe):facets_byname.cpp: undefined reference to `__Locale_wchar_toupper'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xae8):facets_byname.cpp: undefined reference to `__Locale_wchar_tolower'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xb2e):facets_byname.cpp: undefined reference to `__Locale_wchar_tolower'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xf99):facets_byname.cpp: undefined reference to `__Locale_strxfrm'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x105c):facets_byname.cpp: undefined reference to `__Locale_strxfrm'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x168e):facets_byname.cpp: undefined reference to `__Locale_strwxfrm'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x174c):facets_byname.cpp: undefined reference to `__Locale_strwxfrm'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1dc4):facets_byname.cpp: undefined reference to `__Locale_wctomb'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1e51):facets_byname.cpp: undefined reference to `__Locale_mbtowc'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1ed6):facets_byname.cpp: undefined reference to `__Locale_unshift'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1f26):facets_byname.cpp: undefined reference to `__Locale_is_stateless'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1f3a):facets_byname.cpp: undefined reference to `__Locale_mb_cur_max'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1f47):facets_byname.cpp: undefined reference to `__Locale_mb_cur_min'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2054):facets_byname.cpp: undefined reference to `__Locale_true'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x20e2):facets_byname.cpp: undefined reference to `__Locale_false'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2304):facets_byname.cpp: undefined reference to `__Locale_true'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2392):facets_byname.cpp: undefined reference to `__Locale_false'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2760):facets_byname.cpp: undefined reference to `__Locale_decimal_point'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2780):facets_byname.cpp: undefined reference to `__Locale_thousands_sep'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x27d3):facets_byname.cpp: undefined reference to `__Locale_grouping'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x28d4):facets_byname.cpp: undefined reference to `__Locale_true'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x28e5):facets_byname.cpp: undefined reference to `__Locale_false'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2b14):facets_byname.cpp: undefined reference to `__Locale_true'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2b25):facets_byname.cpp: undefined reference to `__Locale_false'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2f00):facets_byname.cpp: undefined reference to `__Locale_decimal_point'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2f20):facets_byname.cpp: undefined reference to `__Locale_thousands_sep'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2f73):facets_byname.cpp: undefined reference to `__Locale_grouping'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3006):facets_byname.cpp: undefined reference to `__Locale_p_sign_posn'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3037):facets_byname.cpp: undefined reference to `__Locale_p_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x304b):facets_byname.cpp: undefined reference to `__Locale_p_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3064):facets_byname.cpp: undefined reference to `__Locale_n_sign_posn'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3097):facets_byname.cpp: undefined reference to `__Locale_n_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x30a7):facets_byname.cpp: undefined reference to `__Locale_n_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x30f8):facets_byname.cpp: undefined reference to `__Locale_n_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3124):facets_byname.cpp: undefined reference to `__Locale_n_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3133):facets_byname.cpp: undefined reference to `__Locale_n_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3171):facets_byname.cpp: undefined reference to `__Locale_n_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x31a4):facets_byname.cpp: undefined reference to `__Locale_n_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x31c4):facets_byname.cpp: undefined reference to `__Locale_n_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3218):facets_byname.cpp: undefined reference to `__Locale_p_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3244):facets_byname.cpp: undefined reference to `__Locale_p_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3253):facets_byname.cpp: undefined reference to `__Locale_p_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3291):facets_byname.cpp: undefined reference to `__Locale_p_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x32c4):facets_byname.cpp: undefined reference to `__Locale_p_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x32e4):facets_byname.cpp: undefined reference to `__Locale_p_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3720):facets_byname.cpp: undefined reference to `__Locale_mon_decimal_point'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3740):facets_byname.cpp: undefined reference to `__Locale_mon_thousands_sep'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3799):facets_byname.cpp: undefined reference to `__Locale_mon_grouping'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3839):facets_byname.cpp: undefined reference to `__Locale_int_curr_symbol'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x38d9):facets_byname.cpp: undefined reference to `__Locale_positive_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3979):facets_byname.cpp: undefined reference to `__Locale_negative_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x39e0):facets_byname.cpp: undefined reference to `__Locale_int_frac_digits'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3e00):facets_byname.cpp: undefined reference to `__Locale_mon_decimal_point'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3e20):facets_byname.cpp: undefined reference to `__Locale_mon_thousands_sep'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3e79):facets_byname.cpp: undefined reference to `__Locale_mon_grouping'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3f19):facets_byname.cpp: undefined reference to `__Locale_currency_symbol'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3fb9):facets_byname.cpp: undefined reference to `__Locale_positive_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4059):facets_byname.cpp: undefined reference to `__Locale_negative_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x40c0):facets_byname.cpp: undefined reference to `__Locale_frac_digits'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x44e0):facets_byname.cpp: undefined reference to `__Locale_mon_decimal_point'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4500):facets_byname.cpp: undefined reference to `__Locale_mon_thousands_sep'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4559):facets_byname.cpp: undefined reference to `__Locale_mon_grouping'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x45f6):facets_byname.cpp: undefined reference to `__Locale_int_curr_symbol'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x47b6):facets_byname.cpp: undefined reference to `__Locale_positive_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4976):facets_byname.cpp: undefined reference to `__Locale_negative_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4b00):facets_byname.cpp: undefined reference to `__Locale_int_frac_digits'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4f20):facets_byname.cpp: undefined reference to `__Locale_mon_decimal_point'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4f40):facets_byname.cpp: undefined reference to `__Locale_mon_thousands_sep'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4f99):facets_byname.cpp: undefined reference to `__Locale_mon_grouping'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x5036):facets_byname.cpp: undefined reference to `__Locale_currency_symbol'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x51f6):facets_byname.cpp: undefined reference to `__Locale_positive_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x53b6):facets_byname.cpp: undefined reference to `__Locale_negative_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x5540):facets_byname.cpp: undefined reference to `__Locale_frac_digits'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x616d):facets_byname.cpp: undefined reference to `__Locale_catopen'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x6204):facets_byname.cpp: undefined reference to `__Locale_catgets'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x63b7):facets_byname.cpp: undefined reference to `__Locale_catgets'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x6402):facets_byname.cpp: undefined reference to `__Locale_catgets'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x6638):facets_byname.cpp: undefined reference to `__Locale_catclose'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xf1f):facets_byname.cpp: undefined reference to `__Locale_strcmp'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x161a):facets_byname.cpp: undefined reference to `__Locale_strwcmp'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1fbe):facets_byname.cpp: undefined reference to `__Locale_mb_cur_max'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access
_iterator_tagE+0x3e):facets_byname.cpp: undefined reference to `__Locale_wchar_ctype'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access
_iterator_tagE+0x5f):facets_byname.cpp: undefined reference to `__Locale_wchar_ctype'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access
_iterator_tagE+0x80):facets_byname.cpp: undefined reference to `__Locale_wchar_ctype'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access
_iterator_tagE+0xa1):facets_byname.cpp: undefined reference to `__Locale_wchar_ctype'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access
_iterator_tagE+0xef):facets_byname.cpp: undefined reference to `__Locale_wchar_ctype'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access
_iterator_tagE+0x10c):facets_byname.cpp: more undefined references to `__Locale_wchar_ctype' follow
collect2: ld returned 1 exit status
make: *** [../lib/libstlport-45.dll] Error 1
------ Log-1. Creating libstlport libraries for mingw : END --------
------ Log-2. Compilation of bar.cpp with libstlport_mingw.a : BEGIN ------
$ g++ -mno-cygwin -o bar_stl.exe bar.cpp -I/STLport-4.5.3/stlport /lib/libstlport_mingw.a
/lib/libstlport_mingw.a(time_facets.o)(.text+0x45a):time_facets.cpp: undefined reference to `_Locale_abbrev_dayofweek'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x4cb):time_facets.cpp: undefined reference to `_Locale_full_dayofweek'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x547):time_facets.cpp: undefined reference to `_Locale_abbrev_monthname'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x5c7):time_facets.cpp: undefined reference to `_Locale_full_monthname'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x62e):time_facets.cpp: undefined reference to `_Locale_am_str'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x67f):time_facets.cpp: undefined reference to `_Locale_pm_str'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x6d0):time_facets.cpp: undefined reference to `_Locale_t_fmt'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x721):time_facets.cpp: undefined reference to `_Locale_d_fmt'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x772):time_facets.cpp: undefined reference to `_Locale_d_t_fmt'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x7c3):time_facets.cpp: undefined reference to `_Locale_long_d_fmt'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x814):time_facets.cpp: undefined reference to `_Locale_long_d_t_fmt'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x1a0e):time_facets.cpp: undefined reference to `_Locale_d_fmt'
------ Log-2. Compilation of bar.cpp with libstlport_mingw.a : END --------
--
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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: STLport with the Cygwin/MinGW compiler
2003-11-02 13:03 ` Alex Vinokur
@ 2003-11-02 14:40 ` Gerrit P. Haase
2003-11-02 15:02 ` Gerrit P. Haase
0 siblings, 1 reply; 26+ messages in thread
From: Gerrit P. Haase @ 2003-11-02 14:40 UTC (permalink / raw)
To: Alex Vinokur; +Cc: cygwin
Hallo Alex,
>> Since libstdc++ is also static, it will be a fair race if both
>> times the static archive is used.
> libstlport_cygwin.a works fine.
> I tried to do the same thing with mingw.
[...]
> c++ -shared -o ...
This is wrong, you must also link with -mno-cygwin flag to get the
right libstdc++ in /usr/lib/mingw.
Add it to DYN_LINK:
DYN_LINK=c++ -mno-cygwin -shared -o
However, the link to the static archive also fails, maybe because the
MinGW version of gcc was built without --disable-nls?
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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: STLport with the Cygwin/MinGW compiler
2003-11-02 14:40 ` Gerrit P. Haase
@ 2003-11-02 15:02 ` Gerrit P. Haase
2003-11-02 18:33 ` Alex Vinokur
0 siblings, 1 reply; 26+ messages in thread
From: Gerrit P. Haase @ 2003-11-02 15:02 UTC (permalink / raw)
To: Alex Vinokur; +Cc: Gerrit @ cygwin
Hallo Alex,
>>> Since libstdc++ is also static, it will be a fair race if both
>>> times the static archive is used.
>> libstlport_cygwin.a works fine.
>> I tried to do the same thing with mingw.
> [...]
>> c++ -shared -o ...
> This is wrong, you must also link with -mno-cygwin flag to get the
> right libstdc++ in /usr/lib/mingw.
> Add it to DYN_LINK:
> DYN_LINK=c++ -mno-cygwin -shared -o
> However, the link to the static archive also fails, maybe because the
> MinGW version of gcc was built without --disable-nls?
Wanted to say: ^^^^^^^ with --disable-nls
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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: STLport with the Cygwin/MinGW compiler
2003-11-02 15:02 ` Gerrit P. Haase
@ 2003-11-02 18:33 ` Alex Vinokur
0 siblings, 0 replies; 26+ messages in thread
From: Alex Vinokur @ 2003-11-02 18:33 UTC (permalink / raw)
To: cygwin
Hi Gerrit,
"Gerrit P. Haase" <gp@familiehaase.de> wrote in message news:140881953562.20031102160842@familiehaase.de...
> Hallo Alex,
>
> >>> Since libstdc++ is also static, it will be a fair race if both
> >>> times the static archive is used.
>
> >> libstlport_cygwin.a works fine.
>
>
> >> I tried to do the same thing with mingw.
>
> > [...]
>
>
> >> c++ -shared -o ...
>
> > This is wrong, you must also link with -mno-cygwin flag to get the
> > right libstdc++ in /usr/lib/mingw.
>
> > Add it to DYN_LINK:
> > DYN_LINK=c++ -mno-cygwin -shared -o
>
>
> > However, the link to the static archive also fails, maybe because the
> > MinGW version of gcc was built without --disable-nls?
> Wanted to say: ^^^^^^^ with --disable-nls
>
[snip]
I have added -mno-cygwin to DYN_LINK.
That didn't help.
So, most probably 'STLporting to MinGW version of gcc' is problematic.
------ Makefile: BEGIN ------
$ diff Makefile.cyg Makefile.mng
5c5
< CXX = c++
---
> CXX = c++ -mno-cygwin
7c7
< COMP = cygwin
---
> COMP = mingw
19c19
< DYN_LINK=c++ -shared -o
---
> DYN_LINK=c++ -mno-cygwin -shared -o
27c27
< COMP=cygwin
---
> COMP=mingw
------ Makefile: END --------
------ Log-1. Creating libstlport libraries for mingw : BEGIN ------
$ make -f Makefile.mng
[---omitted---]
c++ -mno-cygwin -shared -o ../lib/libstlport-45.dll -I../stlport -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -O2 -D_STLP_USE
_DYNAMIC_LIB -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,-d -Wl,--out-implib,../lib/libstlport.dll.a -Wl,--whole-archive
../lib/obj/mingw/ReleaseD/dll_main.o ../lib/obj/mingw/ReleaseD/fstream.o ../lib/obj/mingw/ReleaseD/strstream.o ../lib/obj/mingw/Rele
aseD/sstream.o ../lib/obj/mingw/ReleaseD/ios.o ../lib/obj/mingw/ReleaseD/streambuf.o ../lib/obj/mingw/ReleaseD/stdio_streambuf.o ../
lib/obj/mingw/ReleaseD/istream.o ../lib/obj/mingw/ReleaseD/ostream.o ../lib/obj/mingw/ReleaseD/iostream.o ../lib/obj/mingw/ReleaseD/
codecvt.o ../lib/obj/mingw/ReleaseD/collate.o ../lib/obj/mingw/ReleaseD/ctype.o ../lib/obj/mingw/ReleaseD/monetary.o ../lib/obj/ming
w/ReleaseD/num_get.o ../lib/obj/mingw/ReleaseD/num_put.o ../lib/obj/mingw/ReleaseD/num_get_float.o ../lib/obj/mingw/ReleaseD/num_put
_float.o ../lib/obj/mingw/ReleaseD/numpunct.o ../lib/obj/mingw/ReleaseD/time_facets.o ../lib/obj/mingw/ReleaseD/messages.o ../lib/ob
j/mingw/ReleaseD/locale_impl.o ../lib/obj/mingw/ReleaseD/locale.o ../lib/obj/mingw/ReleaseD/locale_catalog.o ../lib/obj/mingw/Releas
eD/facets_byname.o ../lib/obj/mingw/ReleaseD/c_locale.o ../lib/obj/mingw/ReleaseD/c_locale_stub.o ../lib/obj/mingw/ReleaseD/complex.
o ../lib/obj/mingw/ReleaseD/complex_exp.o ../lib/obj/mingw/ReleaseD/complex_io.o ../lib/obj/mingw/ReleaseD/complex_trig.o ../lib/obj
/mingw/ReleaseD/complex_io_w.o ../lib/obj/mingw/ReleaseD/string_w.o -Wl,--no-whole-archive
Creating library file: ../lib/libstlport.dll.a
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x45a):time_facets.cpp: undefined reference to `_Locale_abbrev_dayofweek'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x4cb):time_facets.cpp: undefined reference to `_Locale_full_dayofweek'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x547):time_facets.cpp: undefined reference to `_Locale_abbrev_monthname'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x5c7):time_facets.cpp: undefined reference to `_Locale_full_monthname'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x62e):time_facets.cpp: undefined reference to `_Locale_am_str'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x67f):time_facets.cpp: undefined reference to `_Locale_pm_str'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x6d0):time_facets.cpp: undefined reference to `_Locale_t_fmt'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x721):time_facets.cpp: undefined reference to `_Locale_d_fmt'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x772):time_facets.cpp: undefined reference to `_Locale_d_t_fmt'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x7c3):time_facets.cpp: undefined reference to `_Locale_long_d_fmt'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x814):time_facets.cpp: undefined reference to `_Locale_long_d_t_fmt'
../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x1a0e):time_facets.cpp: undefined reference to `_Locale_d_fmt'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x9b7):locale_catalog.cpp: undefined reference to `_Locale_extract_ctype_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x9d6):locale_catalog.cpp: undefined reference to `_Locale_extract_numeric_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x9f5):locale_catalog.cpp: undefined reference to `_Locale_extract_time_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa14):locale_catalog.cpp: undefined reference to `_Locale_extract_collate_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa39):locale_catalog.cpp: undefined reference to `_Locale_extract_monetary_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa58):locale_catalog.cpp: undefined reference to `_Locale_extract_messages_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa96):locale_catalog.cpp: undefined reference to `_Locale_compose_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x2696):locale_catalog.cpp: undefined reference to `_Locale_ctype_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x2bb6):locale_catalog.cpp: undefined reference to `_Locale_numeric_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x3146):locale_catalog.cpp: undefined reference to `_Locale_time_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x38c6):locale_catalog.cpp: undefined reference to `_Locale_collate_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x3c16):locale_catalog.cpp: undefined reference to `_Locale_monetary_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x4336):locale_catalog.cpp: undefined reference to `_Locale_messages_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x5):locale_catalog.cpp: undefined reference to `_Locale_ctype_create'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x15):locale_catalog.cpp: undefined reference to `_Locale_numeric_create'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x25):locale_catalog.cpp: undefined reference to `_Locale_time_create'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x35):locale_catalog.cpp: undefined reference to `_Locale_collate_create'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x45):locale_catalog.cpp: undefined reference to `_Locale_monetary_create'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x55):locale_catalog.cpp: undefined reference to `_Locale_messages_create'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x65):locale_catalog.cpp: undefined reference to `_Locale_ctype_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x75):locale_catalog.cpp: undefined reference to `_Locale_numeric_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x85):locale_catalog.cpp: undefined reference to `_Locale_time_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x95):locale_catalog.cpp: undefined reference to `_Locale_collate_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa5):locale_catalog.cpp: undefined reference to `_Locale_monetary_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xb5):locale_catalog.cpp: undefined reference to `_Locale_messages_name'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xc5):locale_catalog.cpp: undefined reference to `_Locale_ctype_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xd5):locale_catalog.cpp: undefined reference to `_Locale_numeric_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xe5):locale_catalog.cpp: undefined reference to `_Locale_time_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xf5):locale_catalog.cpp: undefined reference to `_Locale_collate_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x105):locale_catalog.cpp: undefined reference to `_Locale_monetary_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x115):locale_catalog.cpp: undefined reference to `_Locale_messages_default'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x125):locale_catalog.cpp: undefined reference to `_Locale_ctype_destroy'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x135):locale_catalog.cpp: undefined reference to `_Locale_numeric_destroy'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x145):locale_catalog.cpp: undefined reference to `_Locale_time_destroy'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x155):locale_catalog.cpp: undefined reference to `_Locale_collate_destroy'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x165):locale_catalog.cpp: undefined reference to `_Locale_monetary_destroy'
../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x175):locale_catalog.cpp: undefined reference to `_Locale_messages_destroy'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xa5):facets_byname.cpp: undefined reference to `_Locale_ctype_table'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1e5):facets_byname.cpp: undefined reference to `_Locale_ctype_table'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4bb):facets_byname.cpp: undefined reference to `_Locale_toupper'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4eb):facets_byname.cpp: undefined reference to `_Locale_tolower'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x531):facets_byname.cpp: undefined reference to `_Locale_toupper'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x581):facets_byname.cpp: undefined reference to `_Locale_tolower'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x978):facets_byname.cpp: undefined reference to `_Locale_wchar_ctype'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x9c4):facets_byname.cpp: undefined reference to `_Locale_wchar_ctype'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xa78):facets_byname.cpp: undefined reference to `_Locale_wchar_toupper'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xabe):facets_byname.cpp: undefined reference to `_Locale_wchar_toupper'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xae8):facets_byname.cpp: undefined reference to `_Locale_wchar_tolower'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xb2e):facets_byname.cpp: undefined reference to `_Locale_wchar_tolower'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xf99):facets_byname.cpp: undefined reference to `_Locale_strxfrm'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x105c):facets_byname.cpp: undefined reference to `_Locale_strxfrm'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x168e):facets_byname.cpp: undefined reference to `_Locale_strwxfrm'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x174c):facets_byname.cpp: undefined reference to `_Locale_strwxfrm'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1dc4):facets_byname.cpp: undefined reference to `_Locale_wctomb'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1e51):facets_byname.cpp: undefined reference to `_Locale_mbtowc'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1ed6):facets_byname.cpp: undefined reference to `_Locale_unshift'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1f26):facets_byname.cpp: undefined reference to `_Locale_is_stateless'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1f3a):facets_byname.cpp: undefined reference to `_Locale_mb_cur_max'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1f47):facets_byname.cpp: undefined reference to `_Locale_mb_cur_min'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2054):facets_byname.cpp: undefined reference to `_Locale_true'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x20e2):facets_byname.cpp: undefined reference to `_Locale_false'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2304):facets_byname.cpp: undefined reference to `_Locale_true'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2392):facets_byname.cpp: undefined reference to `_Locale_false'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2760):facets_byname.cpp: undefined reference to `_Locale_decimal_point'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2780):facets_byname.cpp: undefined reference to `_Locale_thousands_sep'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x27d3):facets_byname.cpp: undefined reference to `_Locale_grouping'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x28d4):facets_byname.cpp: undefined reference to `_Locale_true'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x28e5):facets_byname.cpp: undefined reference to `_Locale_false'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2b14):facets_byname.cpp: undefined reference to `_Locale_true'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2b25):facets_byname.cpp: undefined reference to `_Locale_false'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2f00):facets_byname.cpp: undefined reference to `_Locale_decimal_point'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2f20):facets_byname.cpp: undefined reference to `_Locale_thousands_sep'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2f73):facets_byname.cpp: undefined reference to `_Locale_grouping'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3006):facets_byname.cpp: undefined reference to `_Locale_p_sign_posn'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3037):facets_byname.cpp: undefined reference to `_Locale_p_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x304b):facets_byname.cpp: undefined reference to `_Locale_p_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3064):facets_byname.cpp: undefined reference to `_Locale_n_sign_posn'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3097):facets_byname.cpp: undefined reference to `_Locale_n_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x30a7):facets_byname.cpp: undefined reference to `_Locale_n_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x30f8):facets_byname.cpp: undefined reference to `_Locale_n_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3124):facets_byname.cpp: undefined reference to `_Locale_n_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3133):facets_byname.cpp: undefined reference to `_Locale_n_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3171):facets_byname.cpp: undefined reference to `_Locale_n_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x31a4):facets_byname.cpp: undefined reference to `_Locale_n_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x31c4):facets_byname.cpp: undefined reference to `_Locale_n_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3218):facets_byname.cpp: undefined reference to `_Locale_p_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3244):facets_byname.cpp: undefined reference to `_Locale_p_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3253):facets_byname.cpp: undefined reference to `_Locale_p_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3291):facets_byname.cpp: undefined reference to `_Locale_p_sep_by_space'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x32c4):facets_byname.cpp: undefined reference to `_Locale_p_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x32e4):facets_byname.cpp: undefined reference to `_Locale_p_cs_precedes'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3720):facets_byname.cpp: undefined reference to `_Locale_mon_decimal_point'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3740):facets_byname.cpp: undefined reference to `_Locale_mon_thousands_sep'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3799):facets_byname.cpp: undefined reference to `_Locale_mon_grouping'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3839):facets_byname.cpp: undefined reference to `_Locale_int_curr_symbol'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x38d9):facets_byname.cpp: undefined reference to `_Locale_positive_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3979):facets_byname.cpp: undefined reference to `_Locale_negative_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x39e0):facets_byname.cpp: undefined reference to `_Locale_int_frac_digits'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3e00):facets_byname.cpp: undefined reference to `_Locale_mon_decimal_point'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3e20):facets_byname.cpp: undefined reference to `_Locale_mon_thousands_sep'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3e79):facets_byname.cpp: undefined reference to `_Locale_mon_grouping'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3f19):facets_byname.cpp: undefined reference to `_Locale_currency_symbol'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3fb9):facets_byname.cpp: undefined reference to `_Locale_positive_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4059):facets_byname.cpp: undefined reference to `_Locale_negative_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x40c0):facets_byname.cpp: undefined reference to `_Locale_frac_digits'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x44e0):facets_byname.cpp: undefined reference to `_Locale_mon_decimal_point'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4500):facets_byname.cpp: undefined reference to `_Locale_mon_thousands_sep'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4559):facets_byname.cpp: undefined reference to `_Locale_mon_grouping'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x45f6):facets_byname.cpp: undefined reference to `_Locale_int_curr_symbol'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x47b6):facets_byname.cpp: undefined reference to `_Locale_positive_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4976):facets_byname.cpp: undefined reference to `_Locale_negative_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4b00):facets_byname.cpp: undefined reference to `_Locale_int_frac_digits'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4f20):facets_byname.cpp: undefined reference to `_Locale_mon_decimal_point'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4f40):facets_byname.cpp: undefined reference to `_Locale_mon_thousands_sep'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4f99):facets_byname.cpp: undefined reference to `_Locale_mon_grouping'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x5036):facets_byname.cpp: undefined reference to `_Locale_currency_symbol'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x51f6):facets_byname.cpp: undefined reference to `_Locale_positive_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x53b6):facets_byname.cpp: undefined reference to `_Locale_negative_sign'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x5540):facets_byname.cpp: undefined reference to `_Locale_frac_digits'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x616d):facets_byname.cpp: undefined reference to `_Locale_catopen'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x6204):facets_byname.cpp: undefined reference to `_Locale_catgets'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x63b7):facets_byname.cpp: undefined reference to `_Locale_catgets'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x6402):facets_byname.cpp: undefined reference to `_Locale_catgets'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x6638):facets_byname.cpp: undefined reference to `_Locale_catclose'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xf1f):facets_byname.cpp: undefined reference to `_Locale_strcmp'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x161a):facets_byname.cpp: undefined reference to `_Locale_strwcmp'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1fbe):facets_byname.cpp: undefined reference to `_Locale_mb_cur_max'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access
_iterator_tagE+0x3e):facets_byname.cpp: undefined reference to `_Locale_wchar_ctype'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access
_iterator_tagE+0x5f):facets_byname.cpp: undefined reference to `_Locale_wchar_ctype'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access
_iterator_tagE+0x80):facets_byname.cpp: undefined reference to `_Locale_wchar_ctype'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access
_iterator_tagE+0xa1):facets_byname.cpp: undefined reference to `_Locale_wchar_ctype'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access
_iterator_tagE+0xef):facets_byname.cpp: undefined reference to `_Locale_wchar_ctype'
../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access
_iterator_tagE+0x10c):facets_byname.cpp: more undefined references to `_Locale_wchar_ctype' follow
make: *** [../lib/libstlport-45.dll] Error 1
------ Log-1. Creating libstlport libraries for mingw : END --------
------ Log-2. Compilation of bar.cpp with libstlport_mingw.a : BEGIN ------
$ g++ -mno-cygwin -o bar_stl.exe bar.cpp -I/STLport-4.5.3/stlport /lib/libstlport_mingw.a
/lib/libstlport_mingw.a(time_facets.o)(.text+0x45a):time_facets.cpp: undefined reference to `_Locale_abbrev_dayofweek'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x4cb):time_facets.cpp: undefined reference to `_Locale_full_dayofweek'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x547):time_facets.cpp: undefined reference to `_Locale_abbrev_monthname'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x5c7):time_facets.cpp: undefined reference to `_Locale_full_monthname'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x62e):time_facets.cpp: undefined reference to `_Locale_am_str'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x67f):time_facets.cpp: undefined reference to `_Locale_pm_str'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x6d0):time_facets.cpp: undefined reference to `_Locale_t_fmt'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x721):time_facets.cpp: undefined reference to `_Locale_d_fmt'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x772):time_facets.cpp: undefined reference to `_Locale_d_t_fmt'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x7c3):time_facets.cpp: undefined reference to `_Locale_long_d_fmt'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x814):time_facets.cpp: undefined reference to `_Locale_long_d_t_fmt'
/lib/libstlport_mingw.a(time_facets.o)(.text+0x1a0e):time_facets.cpp: undefined reference to `_Locale_d_fmt'
------ Log-2. Compilation of bar.cpp with libstlport_mingw.a : BEGIN ------
Thanks,
=====================================
Alex Vinokur
mailto:alexvn@connect.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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-10-30 16:27 ` Gerrit P. Haase
2003-10-31 15:06 ` Alex Vinokur
@ 2003-11-03 18:50 ` Alex Vinokur
2003-11-03 19:58 ` Christopher Faylor
2003-11-04 15:08 ` Re[2]: " Gerrit P. Haase
1 sibling, 2 replies; 26+ messages in thread
From: Alex Vinokur @ 2003-11-03 18:50 UTC (permalink / raw)
To: cygwin
"Gerrit P. Haase" <freeweb@nyckelpiga.de> wrote in message news:157-1772867639.20031030154714@familiehaase.de...
> Alex wrote:
>
> > An algorithm which computes very long Fibonacci numbers
> >
> > http://groups.google.com/groups?selm=bnni5p%2412i47o%241%40ID-79865.news.uni-berlin.de
> > was used as a performance testsuite
> > to compare speed of the code produced by various compilers.
>
> > |------------------------------------------------------------------------|
> > | Digital Mars C/C++ Compiler, STLport 4.5.3
> > |------------------------------------------------------------------------|
> > | Version 8.35n | - | 0.20 : 0.16 | 0.84 : 0.80 | 3.82 : 3.74 |
> > |========================================================================|
>
>
> Do you think to use STLport with the Cygwin/MinGW compiler would
> increase perfomance?
>
[snip]
New report which contains STLport with the Cygwin has been posted to news:gmane.os.cygwin under title "C++ Compilers : Comparative
Performance Measurement".
See :
* news://news.gmane.org/bo66qu$eo1$1@sea.gmane.org
* http://article.gmane.org/gmane.os.cygwin/40086.
--
=====================================
Alex Vinokur
mailto:alexvn@connect.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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-11-03 18:50 ` Alex Vinokur
@ 2003-11-03 19:58 ` Christopher Faylor
2003-11-04 15:08 ` Re[2]: " Gerrit P. Haase
1 sibling, 0 replies; 26+ messages in thread
From: Christopher Faylor @ 2003-11-03 19:58 UTC (permalink / raw)
To: cygwin
On Mon, Nov 03, 2003 at 08:44:16PM +0200, Alex Vinokur wrote:
>New report which contains STLport with the Cygwin has been posted to
>news:gmane.os.cygwin under title "C++ Compilers : Comparative
>Performance Measurement".
Have you missed the fact that the cygwin mailing list is the same thing
as gmane.os.cygwin? There's no reason to notify the mailing list about
this.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam@sourceware.org
and be permanently blocked from mailing lists at sources.redhat.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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re[2]: C++ Compilers : Comparative Performance Testsuite
2003-11-03 18:50 ` Alex Vinokur
2003-11-03 19:58 ` Christopher Faylor
@ 2003-11-04 15:08 ` Gerrit P. Haase
2003-11-04 15:18 ` Lapo Luchini
1 sibling, 1 reply; 26+ messages in thread
From: Gerrit P. Haase @ 2003-11-04 15:08 UTC (permalink / raw)
To: Alex Vinokur; +Cc: cygwin
Hello Alex,
Monday, November 3, 2003, 7:44:16 PM, you wrote:
> "Gerrit P. Haase" <freeweb@nyckelpiga.de> wrote in message
> news:157-1772867639.20031030154714@familiehaase.de...
>> Alex wrote:
>>
>> > An algorithm which computes very long Fibonacci numbers
>> >
>> >
>> http://groups.google.com/groups?selm=bnni5p%2412i47o%241%40ID-79865.news.uni-berlin.de
>> > was used as a performance testsuite
>> > to compare speed of the code produced by various compilers.
>>
>> >
>> |------------------------------------------------------------------------|
>> > | Digital Mars C/C++ Compiler, STLport 4.5.3
>> >
>> |------------------------------------------------------------------------|
>> > | Version 8.35n | - | 0.20 : 0.16 | 0.84 : 0.80 | 3.82 : 3.74 |
>> >
>> |========================================================================|
>>
>>
>> Do you think to use STLport with the Cygwin/MinGW compiler would
>> increase perfomance?
> [snip]
> New report which contains STLport with the Cygwin has been posted
> to news:gmane.os.cygwin under title "C++ Compilers : Comparative
> Performance Measurement".
> See :
> * news://news.gmane.org/bo66qu$eo1$1@sea.gmane.org
> * http://article.gmane.org/gmane.os.cygwin/40086.
Interesting, it is really a little faster when libstdc++ is directly
compared with the STLport library. So it would make sense to use it when
performance is an issue.
--
Best regards,
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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-11-04 15:08 ` Re[2]: " Gerrit P. Haase
@ 2003-11-04 15:18 ` Lapo Luchini
2003-11-04 16:00 ` Gerrit P. Haase
0 siblings, 1 reply; 26+ messages in thread
From: Lapo Luchini @ 2003-11-04 15:18 UTC (permalink / raw)
To: CygWin
Gerrit P. Haase wrote:
>Interesting, it is really a little faster when libstdc++ is directly
>compared with the STLport library. So it would make sense to use it when
>performance is an issue.
>
>
I guess it is smaller, too, the stdlibc++ not being shared.
(or it is, now? I forgot to check before clicking "send" ;) )
--
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)
--
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/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: C++ Compilers : Comparative Performance Testsuite
2003-11-04 15:18 ` Lapo Luchini
@ 2003-11-04 16:00 ` Gerrit P. Haase
0 siblings, 0 replies; 26+ messages in thread
From: Gerrit P. Haase @ 2003-11-04 16:00 UTC (permalink / raw)
To: Lapo Luchini; +Cc: CygWin
Hello Lapo,
Tuesday, November 4, 2003, 4:18:00 PM, you wrote:
> Gerrit P. Haase wrote:
>>Interesting, it is really a little faster when libstdc++ is directly
>>compared with the STLport library. So it would make sense to use it when
>>performance is an issue.
>>
>>
> I guess it is smaller, too, the stdlibc++ not being shared.
> (or it is, now? I forgot to check before clicking "send" ;) )
Unfortunately the shared STLport library doesn't work, at least in this
case.
--
Best regards,
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/
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2003-11-04 16:00 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-30 15:59 C++ Compilers : Comparative Performance Testsuite Alex Vinokur
2003-10-30 16:27 ` Gerrit P. Haase
2003-10-31 15:06 ` Alex Vinokur
2003-10-31 17:13 ` Gerrit P. Haase
2003-10-31 19:04 ` Alex Vinokur
2003-11-01 0:42 ` Gerrit P. Haase
2003-11-01 7:14 ` Alex Vinokur
2003-11-01 7:25 ` Alex Vinokur
2003-11-02 2:12 ` Igor Pechtchanski
2003-11-01 7:36 ` Alex Vinokur
2003-11-01 15:44 ` Brian Ford
2003-11-01 10:08 ` STLport with the Cygwin/MinGW compiler (was :: C++ Compilers : Comparative Performance Testsuite) Alex Vinokur
2003-11-01 11:36 ` STLport with the Cygwin/MinGW compiler Gerrit P. Haase
2003-11-01 20:02 ` Alex Vinokur
2003-11-01 20:10 ` Alex Vinokur
2003-11-02 9:47 ` Gerrit P. Haase
2003-11-02 13:03 ` Alex Vinokur
2003-11-02 14:40 ` Gerrit P. Haase
2003-11-02 15:02 ` Gerrit P. Haase
2003-11-02 18:33 ` Alex Vinokur
2003-11-01 15:36 ` C++ Compilers : Comparative Performance Testsuite Brian Ford
2003-11-03 18:50 ` Alex Vinokur
2003-11-03 19:58 ` Christopher Faylor
2003-11-04 15:08 ` Re[2]: " Gerrit P. Haase
2003-11-04 15:18 ` Lapo Luchini
2003-11-04 16:00 ` Gerrit P. Haase
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).