Help - Search - Members - Calendar
Full Version: Basic Dev On Zaurus With Gcc
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
snk4ever
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.
pgas
for pdaxrom see:
http://mail.pdaxrom.org/contrib/docs/OnBoardDevelopment.html
chiark
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?
pgas
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.
chiark
Thanks for that smile.gif . Less space sounds like a good enough reason, I'll have a try with it biggrin.gif
snk4ever
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 ?
scheck.r
pcre 5.0:
Cxxxx feed or Cxxx feed or
6000 feed or
5x00 feed
Armagon
QUOTE(snk4ever @ Feb 13 2006, 01:21 PM)
And is the gcc img from release 12 still OK with 1.1.0beta1 ?
*


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
apink
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?
Meanie
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.
apink
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.