OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: snk4ever on February 10, 2006, 11:38:58 am
-
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.
-
for pdaxrom see:
http://mail.pdaxrom.org/contrib/docs/OnBoardDevelopment.html (http://mail.pdaxrom.org/contrib/docs/OnBoardDevelopment.html)
-
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?
-
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.
-
Thanks for that . Less space sounds like a good enough reason, I'll have a try with it
-
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 ?
-
pcre 5.0:
Cxxxx feed (http://mail.pdaxrom.org/1.1.0beta1/Zaurus-C1000-C3100/feed/) or Cxxx feed (http://mail.pdaxrom.org/1.1.0beta1/Zaurus-7x0-860/feed/) or
6000 feed (http://mail.pdaxrom.org/1.1.0beta1/Zaurus-SL6000/feed/) or
5x00 feed (http://mail.pdaxrom.org/1.1.0beta1/Zaurus-5000D-5500/feed/)
-
And is the gcc img from release 12 still OK with 1.1.0beta1 ?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=114688\")
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 [a href=\"http://www.pdaxrom.org/index.php?showid=33&menuid=11]http://www.pdaxrom.org/index.php?showid=33&menuid=11[/url] ) links to a native SDK for 1.1.0beta1 that is zgcc 3.4.5.
Armagon
-
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?
-
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119314\"][{POST_SNAPBACK}][/a][/div]
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.
-
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119317\"][{POST_SNAPBACK}][/a][/div]
Thanks.