![]() ![]() |
Feb 10 2006, 08:38 AM
Post
#1
|
|
|
Group: Members Posts: 52 Joined: 12-November 05 From: France Member No.: 8,522 |
Hello !
I'm a student and I search what package I need to install to have all the standard libraries like stdlib, string, math, signal and others... I code little programes using this and would like to be able to code on the go. |
|
|
|
Feb 10 2006, 08:57 AM
Post
#2
|
|
![]() Group: Members Posts: 1,099 Joined: 17-December 03 From: Athens, Greece Member No.: 1,210 |
for pdaxrom see:
http://mail.pdaxrom.org/contrib/docs/OnBoardDevelopment.html |
|
|
|
Feb 13 2006, 01:13 AM
Post
#3
|
|
|
Group: Members Posts: 191 Joined: 28-August 05 From: Leeds, England Member No.: 7,969 |
I installed binutils, lib headers, gcc and make from the feed and it seems to work - is this not a good idea for some reason?
|
|
|
|
Feb 13 2006, 01:20 AM
Post
#4
|
|
![]() Group: Members Posts: 1,099 Joined: 17-December 03 From: Athens, Greece Member No.: 1,210 |
QUOTE I installed binutils, lib headers, gcc and make from the feed and it seems to work - is this not a good idea for some reason? no, it's just easier and takes less space to use the zgcc image. |
|
|
|
Feb 13 2006, 03:24 AM
Post
#5
|
|
|
Group: Members Posts: 191 Joined: 28-August 05 From: Leeds, England Member No.: 7,969 |
Thanks for that
|
|
|
|
Feb 13 2006, 01:21 PM
Post
#6
|
|
|
Group: Members Posts: 52 Joined: 12-November 05 From: France Member No.: 8,522 |
thanks, the only problem is I don't know where to find the pcre ?
It doesn't look like it is in the feed... And is the gcc img from release 12 still OK with 1.1.0beta1 ? |
|
|
|
Feb 13 2006, 02:21 PM
Post
#7
|
|
|
Group: Members Posts: 320 Joined: 5-December 04 From: Paris, France Member No.: 5,776 |
|
|
|
|
Feb 14 2006, 01:29 PM
Post
#8
|
|
![]() Group: Members Posts: 106 Joined: 19-October 05 From: Cardston, AB, Canada Member No.: 8,348 |
QUOTE(snk4ever @ Feb 13 2006, 01:21 PM) I was just about to second your question, when I think I found the answer. The pdaXrom "Tools for developers" page ( in the upper left or pdaxrom.org, click on Downloads | Dev Tools, or just go to http://www.pdaxrom.org/index.php?showid=33&menuid=11 ) links to a native SDK for 1.1.0beta1 that is zgcc 3.4.5. Armagon |
|
|
|
Mar 19 2006, 08:02 PM
Post
#9
|
|
|
Group: Members Posts: 104 Joined: 2-August 05 Member No.: 7,764 |
Another novice programmer here:
I am trying to natively compile some programs that include <iostream>. I have tried <iostream.h>, "iostream.h", and "iostream" with no luck. I am attempting to use the cout command. I have zgcc-3.4.4 on rc12. Can someone point a newbie in the right direction? Where do I get the iostream library? How do I find out what libraries are included with zgcc? Is cout part of another library? |
|
|
|
Mar 19 2006, 08:45 PM
Post
#10
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(apink @ Mar 20 2006, 02:02 PM) Another novice programmer here: I am trying to natively compile some programs that include <iostream>. I have tried <iostream.h>, "iostream.h", and "iostream" with no luck. I am attempting to use the cout command. I have zgcc-3.4.4 on rc12. Can someone point a newbie in the right direction? Where do I get the iostream library? How do I find out what libraries are included with zgcc? Is cout part of another library? are you trying to compile c++ code with a c compiler? gcc is a c compiler. to compile c++ code, you need to use g++ also, <iostream.h> is an older c++ interface. <iostream> is the newer one and you should try using it instead of iostream.h unless you are trying to compile older programs. you should also not mix the two. a note on the <iostream> vs "iostream". If the header file is in the default include directory, then you use <iostream>. you would use "iostream" if it was a custom header file which is located locally with the source code, ie the same directories as your .cpp files. |
|
|
|
Mar 20 2006, 07:14 AM
Post
#11
|
|
|
Group: Members Posts: 104 Joined: 2-August 05 Member No.: 7,764 |
QUOTE(Meanie @ Mar 19 2006, 08:45 PM) are you trying to compile c++ code with a c compiler? gcc is a c compiler. to compile c++ code, you need to use g++ also, <iostream.h> is an older c++ interface. <iostream> is the newer one and you should try using it instead of iostream.h unless you are trying to compile older programs. you should also not mix the two. a note on the <iostream> vs "iostream". If the header file is in the default include directory, then you use <iostream>. you would use "iostream" if it was a custom header file which is located locally with the source code, ie the same directories as your .cpp files. Thanks. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 05:32 PM |