OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Linux Applications => Topic started by: snowfarthing on June 19, 2006, 03:33:06 pm
-
I'm currently trying to compile teTeX on my 5500 Zaurus (with OpenZaurus 3.5.4 installed) using the gcc files available from the Opie feed: g++ 3.4.4-r5, g++-sympinks, g++-rc 0.1.9-r1, g77 and etc, gcc and etc, and gcov. I've followed everything according to the teTeX INSTALL instructions (http://www.tug.org/tetex/tetex-src/INSTALL), and when I try compiling, I get:
loading cache ./config.cache
checking whether make sets ${MAKE}... no
checking for gcc... arm-linux-gcc # or whatever I set CC to be
checking whether the C compiler (arm-linux-gcc -O -g) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
I've tried setting CC to gcc, cc, arm-linux-gcc, and g++, and I get the same results every time.
When I tried an even more basic program, hello.cpp, I received the following:
root@collie: /media/card/.../tetex-src-3.0 # gcc -O -g hello.cpp
hello.cpp: 1: 22: iostream.h: No such file or directory
hello.cpp: In function `int main()':
hello.cpp: 5: error: `cout' undeclared (first use of this function)
hello.cpp: 5: error: (Each undeclared identifier is reported only once for each function it appears in.)
hello.cpp: 8: 2: no newline at end of file
Since I get similar results when I try to compile hello.c, I'm certain that I need to set variables for certain paths; unfortunately, I have no idea what those varialbes would be, or what paths I need to set! What do I need to do in order to compile things successfully?
-
hello.cpp: 1: 22: iostream.h: Â No such file or directory
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131874\"][{POST_SNAPBACK}][/a][/div]
You need to install the -dev package that has iostream.h
-
This will certainly help! I've already begun looking for the correct file, except that there are a lot of *-dev files.
Is there any way to figure out which file should have the headers I'm looking for?
-
I guess the minimum would be:
libc6-dev
and
binutils (and binutils-symlinks )
-
I appreciate the information. Unfortunately, I haven't been able to download the things, since I can't network my Zaurus, and I can't manually download anything while EWI is down. Arrrgh!
I hope I can attempt these soon.
-
I appreciate the information. Unfortunately, I haven't been able to download the things, since I can't network my Zaurus, and I can't manually download anything while EWI is down. Arrrgh!
I hope I can attempt these soon.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=132192\")
[a href=\"http://naismith.sakura.ne.jp/feed/354x/]my feed[/url]
There might be insufficient ipk.
-
Unfortunately, they don't work, since they use armv5 format. I've been using the regular format (which, as far as I've been able to discern, is armv4, but that's almost an unspoken discussion). I don't know why there's a difference, but when I've noticed the two, I always went with the "regular" files, and they've worked just fine on my SL5500 Zaurus.
I've had a difficult time finding out the difference between the two; I have the impression it's either a hardware difference (5x00 etc vs 3x00, maybe) or just a new way to compile things. Perhaps I'll start a new thread on it someday. In the meantime, I'm still stuck waiting for Ewi to get back online!
-
pxa2xx machines are arm5, sa11xx are arm4. arm5 machines can run arm4 code but not vice versa.
thats why OZ feeds are built as "arm"
-
pxa2xx machines are arm5, sa11xx are arm4. arm5 machines can run arm4 code but not vice versa.
thats why OZ feeds are built as "arm"
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132529\"][{POST_SNAPBACK}][/a][/div]
so if I want my apps to run really really fast, then I will have to rebuild the whole feed for arm5 with xscale and immxt optimisation enabled right? how long does it take roughly to build the whole feed with say a PII with 512MB RAM (provided I manage to find a spare box and install linux plus OE on it)?
-
3-4 weeks or more
-
3-4 weeks or more
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132553\"][{POST_SNAPBACK}][/a][/div]
oh man, i better get a dual cpu amd64 then with 2GB ram....
-
Have spare one?
-
Have spare one?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132566\"][{POST_SNAPBACK}][/a][/div]
I'll see if my boss will buy me one first, then I will check about a spare
-
Just yesterday I got a laptop (Pentium, 48 Meg, not much else) that I'd like to put DSL Linux on. I was unsuccessful because of floppy drive problems; nonetheless, I realized that I'd rather put Opie on it
To get back on topic, I was finally able to download the above files and install them on my Zaurus. (The feed is finally working again! I really wish I could set up my Zaurus on a network; unfortunately that isn't an option for me right now .) I'd like to note that libc6-dev needed the following dependencies:
linux-libc-headers-dev
glibc-extras-nss
libthread-db1.
For good measure I also installed libsdtc++-dev.
Now hello.cpp gives a lot of errors when I try to compile! So many, I decided to attach them rather than list them here.
I wonder if I need more gcc options to get it to work. I haven't yet tried compiling anything, though, so I don't yet know if I have everything I need. (I think I will also need make).
Ironically, I discovered yesterday that tetex is in the feed. I'll be trying to download those and install them. Even so, I still would like to be able to compile things! In particular, I'd like to install Macaulay 2, and YACAS, and perhaps KSEG (except that KSEG relies too much on regular Qt).
(As you can probably guess, I'm a mathematician. Unfortunately for me, I'm a mathematician who thinks that a Zaurus with a Targus keyboard is the perfect size for a laptop, if only it could run everything.)
-
Oops! The attachment didn't stick. Here it is.