Re: R: Building DLLs on C++ version code failed, but okay on C version code.

2010-07-06 Thread Larry Hall (Cygwin)
On 7/5/2010 2:13 AM, ke...@ca wrote: thank you all. You all are right. I got the desired dlls. Now I know I was misleaded by the statement that GCC is a collection of compilers and it automatically use a compiler according to a programming language. It does this for the frontend, not the

Re: R: Building DLLs on C++ version code failed, but okay on C version code.

2010-07-05 Thread ke...@ca
-- View this message in context: http://old.nabble.com/Building-DLLs-on-C%2B%2B-version-code-failed%2C-but-okay-on-C-version-code.-tp29068199p29073093.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ

Building DLLs on C++ version code failed, but okay on C version code.

2010-07-04 Thread ke...@ca
++. # hello.cpp ### #include iostream using namespace std ; void hello() {cout Hello. endl ;} Then, I used the commands above to built DLL, but it failed. Why did it fail? -- View this message in context: http://old.nabble.com/Building-DLLs-on-C%2B%2B-version-code-failed%2C-but-okay-on-C

Re: Building DLLs on C++ version code failed, but okay on C version code.

2010-07-04 Thread ke...@ca
, hello.dll. Then, I rewrote it in c++. # hello.cpp ### #include iostream using namespace std ; void hello() {cout Hello. endl ;} Then, I used the commands above to built DLL, but it failed. Why did it fail? -- View this message in context: http://old.nabble.com/Building

Re: Building DLLs on C++ version code failed, but okay on C version code.

2010-07-04 Thread Bengt-Arne Fjellner
On 2010-07-04 12:27 PM, ke...@ca wrote: Forgot to attach error information. hello.o:hello.cpp:(.text+0xd): undefined reference to `std::basic_stringchar, std::char_traitschar, std::allocatorchar ::size() const' hello.o:hello.cpp:(.text+0x60): undefined reference to

Re: Building DLLs on C++ version code failed, but okay on C version code.

2010-07-04 Thread Greg Chicares
On 2010-07-04 10:24Z, ke...@ca wrote: $gcc -c hello.c $gcc -shared -o hello.dll hello.o I successufully built it as DLL, hello.dll. Here, the C runtime library is automatically linked. Then, I rewrote it in c++. [...] Then, I used the commands above to built DLL, but it failed. Why did

R: Building DLLs on C++ version code failed, but okay on C version code.

2010-07-04 Thread Marco Atzeri
--- Dom 4/7/10, ke...@ca ha scritto: Hi there, I wrote a file, hello.c. It has only one function: print a message like hello!. # hello.c # #include stdio.h void hello() { printf( Hello.\n ) ; } $gcc -c hello.c $gcc -shared -o hello.dll hello.o I successufully built

Re: building DLLs?

2007-12-14 Thread Corinna Vinschen
On Dec 14 14:19, [EMAIL PROTECTED] wrote: Hi, When I download winsup from CVS it only builds the executables and 3 dlls. I'd need to build cygintl-8.dll and cygiconv-2.dll. How can I build them? Should I get the intl package from CVS (I tried, but it said that it doesn't exist, also when

Re: building DLLs?

2007-12-14 Thread Oszkar . Ambrus
Thanks, that works! Oszkar Corinna Vinschen [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/14/2007 03:44 PM Please respond to cygwin@cygwin.com To cygwin@cygwin.com cc Subject Re: building DLLs? On Dec 14 14:19, [EMAIL PROTECTED] wrote: Hi, When I download winsup from CVS

building DLLs?

2007-12-14 Thread Oszkar . Ambrus
Hi, When I download winsup from CVS it only builds the executables and 3 dlls. I'd need to build cygintl-8.dll and cygiconv-2.dll. How can I build them? Should I get the intl package from CVS (I tried, but it said that it doesn't exist, also when web-browsing the CVS folder, it is there)

Building DLLs from libs

2004-01-01 Thread Yaakov S
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, I googled for this one but I didn't find a clear answer, so forgive me if this is already known to the list. I'm trying now to package some programs which include libs and includes. The preferred way AFAIK is to make three packages, foo with

Re: Building DLLs from libs

2004-01-01 Thread Gerrit P. Haase
Hallo Yaakov, Am Donnerstag, 1. Januar 2004 um 09:59 schriebst du: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, I googled for this one but I didn't find a clear answer, so forgive me if this is already known to the list. I'm trying now to package some programs which include libs and

Re: Building DLLs from libs

2004-01-01 Thread Gerrit P. Haase
Hallo Gerrit, replying myself Am Donnerstag, 1. Januar 2004 um 11:14 schriebst du: Hallo Yaakov, Am Donnerstag, 1. Januar 2004 um 09:59 schriebst du: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, I googled for this one but I didn't find a clear answer, so forgive me if this is

Re: Building DLLs to be loaded from Visual Basic

2003-04-01 Thread Mader, Alexander
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hallo, Max Bowsher schrieb: | -mno-cygwin ... |usefull to use -fnative-struct (no more available/nessesary in | |^^^ ^ | | Incorrect. Still necessary if that is what you want. Now | called

Re: Building DLLs to be loaded from Visual Basic

2003-04-01 Thread Mader, Alexander
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hallo, Massimiliano Mirra schrieb: | Mader, Alexander [EMAIL PROTECTED] writes: | | |- is anybody today successfully building DLLs with cygwin (not | mingw32) and loading them from Visual Basic (or other languages)? | |I have to provide DLLs for VB

Building DLLs to be loaded from Visual Basic

2003-03-31 Thread Massimiliano Mirra
it difficult to pull together a present picture. My questions: - is anybody today successfully building DLLs with cygwin (not mingw32) and loading them from Visual Basic (or other languages)? - is documentation about the process available? Thanks Massimiliano -- Unsubscribe info: http

Re: Building DLLs to be loaded from Visual Basic

2003-03-31 Thread Mader, Alexander
Hallo, Massimiliano Mirra schrieb: My questions: - is anybody today successfully building DLLs with cygwin (not mingw32) and loading them from Visual Basic (or other languages)? I have to provide DLLs for VB and do so by using Cygwin but with -mnocygwin, which is more or less using mingw32

Re: Building DLLs to be loaded from Visual Basic

2003-03-31 Thread Massimiliano Mirra
Mader, Alexander [EMAIL PROTECTED] writes: - is anybody today successfully building DLLs with cygwin (not mingw32) and loading them from Visual Basic (or other languages)? I have to provide DLLs for VB and do so by using Cygwin but with -mnocygwin, which is more or less using mingw32

Re: Building DLLs to be loaded from Visual Basic

2003-03-31 Thread Max Bowsher
Massimiliano Mirra wrote: Mader, Alexander [EMAIL PROTECTED] writes: - is anybody today successfully building DLLs with cygwin (not mingw32) and loading them from Visual Basic (or other languages)? I have to provide DLLs for VB and do so by using Cygwin but with -mnocygwin, which is more