From: Jinglei H. <jin...@gm...> - 2009-07-19 17:40:21
|
Hi MinGWers, especially gcc users, As c++ is becoming more popular and its easy-to-use feature, more and more people start using gcc for scientific computing. Due to many free libraries, it is possible for the c++ programs to have near-Fortran performance. So it occurs to me that it would be very nice and useful to get a collection of such free libraries. Some libraries are already compiled for MinGW, some can be used without any compilation or modification, others need to be compiled by ourselves. Why not do it now? If you happen to have such c++ libraries or are interested to give contribution, just reply this post. To name a few, Eigen2(no need to compile), Blitz++, boost(already done), tvmet, etc. Cheers, hu |
From: Greg C. <gch...@sb...> - 2009-07-19 21:06:07
|
[Please configure your email program to wrap long lines. Thanks.] On 2009-07-19 17:40Z, Jinglei Hu wrote: > > As c++ is becoming more popular and its easy-to-use feature, > more and more people start using gcc for scientific computing. > Due to many free libraries, it is possible for the c++ programs > to have near-Fortran performance. > > So it occurs to me that it would be very nice and useful to get > a collection of such free libraries. [...] > To name a few, Eigen2(no need to compile), Blitz++, boost >(already done), tvmet, etc. I use PETE to write simple vector arithmetic tersely (e.g., A += B / C; for vectors A, B, and C) with good run-time performance. We compared PETE to eight other libraries for this purpose: http://lists.nongnu.org/archive/html/lmi/2005-08/msg00043.html http://lists.nongnu.org/archive/html/lmi/2005-09/msg00000.html With gcc-4.x, it approaches the performance of hand-coded C: http://lists.nongnu.org/archive/html/lmi/2008-09/msg00009.html (and, as that message indicates, so does libstdc++'s valarray). PETE is now part of FreePOOMA: http://www.nongnu.org/freepooma/ |
From: Colin S. <col...@ya...> - 2009-07-20 09:34:47
|
Hello, I am trying to get mingw working on my laptop which runs Windows XP. I read the web page, and I downloaded stuff from sourceforge: binutils-2.19.1-mingw32-bin.tar gcc-core-3.4.5-20060117-3.tar gcc-full-4.4.0-mingw32-bin-2.tar gcc-g++-3.4.5-20060117-3.tar gcc-objc-3.4.5-20060117-3.tar mingwrt-3.15.2-mingw32-dll.tar w32api-3.13-mingw32-dev.tar These are the tar files after I unzipped them. I opened the archives to C:\MinGW, and added C:\MinGW\bin to my PATH. I wrote a little test program, hello.c: #include<stdio> int main() { printf("Hello World\n"); return 0; } When I entered the command: gcc hello.c I received the error message: C:\MinGW>gcc hello.c hello.c:1:16 stdio: No such file or directory. I would be grateful if somebody can tell me what is going wrong? I have used gcc on my Sun UNIX boxes without problems. Thanks in advance, Colin. |
From: Mark <mar...@gm...> - 2009-07-20 09:42:54
|
Colin Sharpe wrote: > #include<stdio> > int main() { > printf("Hello World\n"); > return 0; > } > I know the answer to that :) [at least I hope that is all that is wrong] #include <stdio.h> > hello.c:1:16 stdio: No such file or directory. > Best regards Mark http://www.halloit.com Key ID 046B65CF |
From: Colin S. <col...@ya...> - 2009-07-20 09:54:12
|
--- On Mon, 7/20/09, Mark <mar...@gm...> wrote: > From: Mark <mar...@gm...> > Subject: Re: [Mingw-users] Please help a new user. > To: "MinGW Users List" <min...@li...> > Date: Monday, July 20, 2009, 5:42 AM > Colin Sharpe wrote: > > #include<stdio> > > int main() { > > printf("Hello World\n"); > > return 0; > > } > > > I know the answer to that :) > > [at least I hope that is all that is wrong] > > #include <stdio.h> > > hello.c:1:16 stdio: No such file or directory. > > > Best regards > > Mark No such luck. I tried that originally, but got: hello.c:1:18 stdio.h: No such file or directory. I did a search for stdio.h, but could only see stdio. Colin. > http://www.halloit.com > > Key ID 046B65CF > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a > limited time, > vendors submitting new applications to BlackBerry App > World(TM) will have > the opportunity to enter the BlackBerry Developer > Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > MinGW-users mailing list > Min...@li... > > This list observes the Etiquette found at > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. > > Most annoying abuses are: > 1) Top posting > 2) Thread hijacking > 3) HTML/MIME encoded mail > 4) Improper quoting > 5) Improper trimming > _______________________________________________ > You may change your MinGW Account Options or unsubscribe > at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > |
From: Tor L. <tm...@ik...> - 2009-07-20 09:47:28
|
> hello.c:1:16 stdio: No such file or directory. It's <stdio.h>, not <stdio>. Don't confuse C++ and C. It's in C++ where there is a convention is that "standard" headers don't have any file name extension. In C, the standard headers like <stdio.h> and <string.h> always have the.h extension. (And almost universally headers provided by various libraries. I can't think of any exception.) --tml |
From: Colin S. <col...@ya...> - 2009-07-20 10:15:31
|
--- On Mon, 7/20/09, Tor Lillqvist <tm...@ik...> wrote: > From: Tor Lillqvist <tm...@ik...> > Subject: Re: [Mingw-users] Please help a new user. > To: "MinGW Users List" <min...@li...> > Date: Monday, July 20, 2009, 5:47 AM > > hello.c:1:16 stdio: No such file > or directory. > > It's <stdio.h>, not <stdio>. > > Don't confuse C++ and C. It's in C++ where there is a convention is > that "standard" headers don't have any file name extension. In C, the > standard headers like <stdio.h> and <string.h> always have the.h > extension. (And almost universally headers provided by various > libraries. I can't think of any exception.) > > --tml Thanks, but stdio.h is not on my computer. I must be missing a libraries, where can I get them from? Microsoft? Colin. > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a > limited time, > vendors submitting new applications to BlackBerry App > World(TM) will have > the opportunity to enter the BlackBerry Developer > Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > MinGW-users mailing list > Min...@li... > > This list observes the Etiquette found at > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. > > Most annoying abuses are: > 1) Top posting > 2) Thread hijacking > 3) HTML/MIME encoded mail > 4) Improper quoting > 5) Improper trimming > _______________________________________________ > You may change your MinGW Account Options or unsubscribe > at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > |
From: Tor L. <tm...@ik...> - 2009-07-20 10:31:21
|
> Thanks, but stdio.h is not on my computer. You must have forgotten to download and unpack the MinGW tarball that contains it then. It was the mingwrt-*-mingw32-dev one at least in the past. --tml |
From: Colin S. <col...@ya...> - 2009-07-20 13:10:01
|
--- On Mon, 7/20/09, Tor Lillqvist <tm...@ik...> wrote: > You must have forgotten to download and unpack the MinGW tarball that > contains it then. It was the mingwrt-*-mingw32-dev one at least in the > past. Thanks Tor. That is probably it. I will try that this evening and let you know how it works out. The instructions on the MinGW web site are not as clear as they could be. It would help if the exact file names to download from Sourceforge were listed, but I am glad at least there is some help out there. Colin. |
From: Sisyphus <sis...@op...> - 2009-07-20 10:33:39
|
----- Original Message ----- From: "Colin Sharpe" <col...@ya...> To: "MinGW Users List" <min...@li...> Sent: Monday, July 20, 2009 7:34 PM Subject: [Mingw-users] Please help a new user. > > Hello, > > I am trying to get mingw working on my laptop which runs Windows XP. > I read the web page, and I downloaded stuff from sourceforge: > > binutils-2.19.1-mingw32-bin.tar > gcc-core-3.4.5-20060117-3.tar > gcc-full-4.4.0-mingw32-bin-2.tar > gcc-g++-3.4.5-20060117-3.tar > gcc-objc-3.4.5-20060117-3.tar > mingwrt-3.15.2-mingw32-dll.tar > w32api-3.13-mingw32-dev.tar > > These are the tar files after I unzipped them. You have to also extract (untar) the .tar files. Cheers, Rob |
From: dirk - <dd...@gm...> - 2009-07-23 10:11:45
|
try stdio.h 2009/7/20 Colin Sharpe <col...@ya...> > > Hello, > > I am trying to get mingw working on my laptop which runs Windows XP. > I read the web page, and I downloaded stuff from sourceforge: > > binutils-2.19.1-mingw32-bin.tar > gcc-core-3.4.5-20060117-3.tar > gcc-full-4.4.0-mingw32-bin-2.tar > gcc-g++-3.4.5-20060117-3.tar > gcc-objc-3.4.5-20060117-3.tar > mingwrt-3.15.2-mingw32-dll.tar > w32api-3.13-mingw32-dev.tar > > These are the tar files after I unzipped them. > > I opened the archives to C:\MinGW, and added C:\MinGW\bin to my PATH. > I wrote a little test program, hello.c: > > #include<stdio> > int main() { > printf("Hello World\n"); > return 0; > } > > When I entered the command: > > gcc hello.c > > I received the error message: > > C:\MinGW>gcc hello.c > hello.c:1:16 stdio: No such file or directory. > > I would be grateful if somebody can tell me what is going wrong? > > I have used gcc on my Sun UNIX boxes without problems. > > Thanks in advance, > > Colin. > > > > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > MinGW-users mailing list > Min...@li... > > This list observes the Etiquette found at > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. > > Most annoying abuses are: > 1) Top posting > 2) Thread hijacking > 3) HTML/MIME encoded mail > 4) Improper quoting > 5) Improper trimming > _______________________________________________ > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > |
From: John B. <joh...@ho...> - 2009-07-23 08:34:19
|
Colin wrote: > > > Hello, > > I am trying to get mingw working on my laptop which runs Windows XP. I read the web page, and I downloaded stuff from sourceforge: > > binutils-2.19.1-mingw32-bin.tar > gcc-core-3.4.5-20060117-3.tar *******> gcc-full-4.4.0-mingw32-bin-2.tar *********** > gcc-g++-3.4.5-20060117-3.tar > gcc-objc-3.4.5-20060117-3.tar > mingwrt-3.15.2-mingw32-dll.tar > w32api-3.13-mingw32-dev.tar > mingwrt-3.15.2-mingw32-dev.tar.gz is missing. I thought that the gcc-full-xxx package is supposed to be a huge archive that contains everything needed to build programs with gcc 4.4.0, but I could be wrong. > When I entered the command: > > gcc hello.c > > I received the error message: > > C:\MinGW>gcc hello.c > hello.c:1:16 stdio: No such file or directory. > > I would be grateful if somebody can tell me what is going wrong? > stdio.h and friends are in the previously mentioned MinGW runtime package. Regards, Alias John Brown. _________________________________________________________________ NEW mobile Hotmail. Optimized for YOUR phone. Click here. http://windowslive.com/Mobile?ocid=TXT_TAGLM_WL_CS_MB_new_hotmail_072009 |
From: Colin S. <col...@ya...> - 2009-07-23 10:56:19
|
--- On Thu, 7/23/09, John Brown <joh...@ho...> wrote: > > mingwrt-3.15.2-mingw32-dev.tar.gz is missing. I thought that the > gcc-full-xxx package is supposed to be a huge archive that contains > everything needed to build programs with gcc 4.4.0, but I could be > wrong. Thank you John. Tor had already mentioned that this might be the problem, and when I installed that package everything worked like a dream. As I said before, intructions on the MinGW web site concerning what is required could be clearer. Colin. |
From: Keith M. <kei...@us...> - 2009-07-23 16:49:16
|
On Thursday 23 July 2009 11:56:09 Colin Sharpe wrote: > As I said before, intructions on the MinGW web site concerning > what is required could be clearer. Well, those instructions are provided and maintained by you, the users. If you think they can be made clearer, please join in the effort, and make them so. -- Regards, Keith. |
From: Colin S. <col...@ya...> - 2009-07-23 17:05:17
|
--- On Thu, 7/23/09, Keith Marshall <kei...@us...> wrote: > Colin Sharpe wrote: > > As I said before, intructions on the MinGW web site concerning > > what is required could be clearer. > > Well, those instructions are provided and maintained by you, the > users. If you think they can be made clearer, please join in the > effort, and make them so. I can provide a list of the files I downloaded which worked. Would that help? Colin. |
From: Keith M. <kei...@us...> - 2009-07-23 16:47:20
|
On Thursday 23 July 2009 09:34:12 John Brown wrote: > I thought that the > gcc-full-xxx package is supposed to be a huge archive that > contains everything needed to build programs with gcc 4.4.0, but I > could be wrong. You are wrong. If I understand Aaron's packaging strategy correctly, that gcc-full-* package is simply an aggregate of all of the GCC components, for *all* supported languages, (which the majority of users probably don't want). It does *not* include the binutils, nor any of the runtime library components. As you correctly noted, the OP was missing the developer-centric components of the runtime library. -- Regards, Keith. |