OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: badog on February 07, 2005, 12:10:22 am
-
i want to try development some simply sofeware .
-
Mount the img file as follows:
#mkdir -p /opt/arm/3.3.2-vfp
#mount -o loop,ro -t cramfs /mnt/card/gcc.img /opt/arm/3.3.2-vfp
-
Mount the img file as follows:
#mkdir -p /opt/arm/3.3.2-vfp
#mount -o loop,ro -t cramfs /mnt/card/gcc.img /opt/arm/3.3.2-vfp
[div align=\"right\"][a href=\"index.php?act=findpost&pid=65925\"][{POST_SNAPBACK}][/a][/div]
this for RC5 for RC8-9
see file /etc/profile for path
mkdir -p /opt/native/arm/3.3.2-xscale-softvfp
#mount -o loop,ro -t cramfs /mnt/card/gcc.img /opt/native/arm/3.3.2-xscale-softvfp
-
I see that the feed contains more or less all the tools needed for development (gcc, make etc.).
But then there is also a different SDK for download at the pdaxrom site.
Could someone explain what is the difference between installing all the development-related ipks and using the SDK img?
-
I see that the feed contains more or less all the tools needed for development (gcc, make etc.).
But then there is also a different SDK for download at the pdaxrom site.
Could someone explain what is the difference between installing all the development-related ipks and using the SDK img?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66167\"][{POST_SNAPBACK}][/a][/div]
I think it's nearly the same. However the toolchain uses cramfs which is a more compact, readonly filesystem, so it's smaller that way.
-
I see that the feed contains more or less all the tools needed for development (gcc, make etc.).
But then there is also a different SDK for download at the pdaxrom site.
Could someone explain what is the difference between installing all the development-related ipks and using the SDK img?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66167\"][{POST_SNAPBACK}][/a][/div]
I think it's nearly the same. However the toolchain uses cramfs which is a more compact, readonly filesystem, so it's smaller that way.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66188\"][{POST_SNAPBACK}][/a][/div]
I pack this in squashfs this more compact, and more speed
-
You need all the development binaries and the SDK img to compile natively.
-
To develop and compile on the zaurus, do I just need the gcc and gcc header ipks from the feed (rc9.1) or should I use the zgcc.img in the developer section? Thre last time I tried from the feeds (rc8), I got lots of install errors.
The aim is to compile on the zaurus only, not on a desktop.
Also, I would want to install on sd, as not enough space in root!
Thanks.
Mark
-------
slc750 rc9.1 57mb root
sd 512
-
The aim is to compile on the zaurus only, not on a desktop.
You mean do an install from source on the Zaurus? Yes, I'd really like someone to guide us through that (for non-techies like myself). Just let us know precisely what ipks need installing, what kind of space we need where, and if the simple make install commands will work...
That would be fun!
-
I tried compiling something natively on my C860, so I mounted the zgcc.img file, and ran "./configure". But there is a strange error in the output: "grep: error while loading shared libraries: libpcre.so.0: connot open shared object file: No such file or directory"
Does anyone know what this error means and how to solve it? Or is it a harmless error?
-
install pcre ?
-
install pcre ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69163\"][{POST_SNAPBACK}][/a][/div]
I didn't know it was a program.. But I installed it and now I don't get the error anymore. Thanks for the tip!
-
The aim is to compile on the zaurus only, not on a desktop.
You mean do an install from source on the Zaurus? Yes, I'd really like someone to guide us through that (for non-techies like myself). Just let us know precisely what ipks need installing, what kind of space we need where, and if the simple make install commands will work...
That would be fun!
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
(http://index.php?act=findpost&pid=69029\")
I didn't see anyone post a guide for this since this was posted so I was wondering as well. I'm looking to compile some software from source right on the Z and I'm running into a problem. I've installed the gcc, gcc-headers, and make ipks and the system knows that gcc is there, but when I run ./configure during the script it says "checking for gcc... gcc checking whether the C compiler (gcc) works ...no"
I've seen other people post about a gcc.img file, but can't find it at either [a href=\"http://mirror1.pdaxrom.org/current/]http://mirror1.pdaxrom.org/current/[/url] or http://www.pdaxrom.org/unstable/ (http://www.pdaxrom.org/unstable/) Little help here!
-
zgcc.img is on www.pdaxrom.org, somewhere beside rc9
-
Hello
[/quote]
I've seen other people post about a gcc.img file, but can't find it at either http://mirror1.pdaxrom.org/current/ (http://mirror1.pdaxrom.org/current/) or http://www.pdaxrom.org/unstable/ (http://www.pdaxrom.org/unstable/) Little help here!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=71626\"][{POST_SNAPBACK}][/a][/div]
[/quote]
Look into the squeak thread for installing zgcc-image on zaurus. this is the easiest way
I compile only small programs with that like bzip2, less etc. But it works.
Next days i will try to compile emacs 21.4 from source
hope that helps
Enno
-
I downloaded the gcc.img and successfully mounted it on my Z. The program I'm trying to compile is a xmms plugin. It uses the basic ./configure && make && make install method. During the make install portion it gives an error that it can't write to /opt/native/arm/3.3.2-xscale-softvfp/armv5tel-cacko-linux/lib/xmms because it's read-only (naturally).
I want to install to /lib/xmms so it'll install into the General directory (which make install tries to do in another error after the first error). In my .configure I added --prefix=/lib/xmms hoping it would install there because before it would complain about not being able to write to /opt/native/arm/3.3.2-xscale-softvfp/armv5tel-cacko-linux. I'm apparently passing the wrong arguments to ./configure so what would get me back on track so it doesn't try to write to the read-only image?
-
Hi
I downloaded the gcc.img and successfully mounted it on my Z. The program I'm trying to compile is a xmms plugin. It uses the basic ./configure && make && make install method. During the make install portion it gives an error that it can't write to /opt/native/arm/3.3.2-xscale-softvfp/armv5tel-cacko-linux/lib/xmms because it's read-only (naturally).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=71904\"][{POST_SNAPBACK}][/a][/div]
I could test this with zgcc. Just post the url of the xmms-plugin
ciao
Enno
-
http://www.saunalahti.fi/~syrjala/xmms-itouch/ (http://www.saunalahti.fi/~syrjala/xmms-itouch/)
This plugin is designed for keyboards with multimedia keys on it (play/pause, back, next etc) but you press each button to map it to a function so I don't see why this wouldn't work on the 860 buttons near the On/Off. This plugin also works whether xmms has the focus or not and I've been using it on my laptop for awhile now. I think with this plugin I could have my Z playing MP3s and use the jog wheel etc to change songs and not worry if xmms has the focus or if the screen blank applet has the focus. Make sense?
-
Hello
http://www.saunalahti.fi/~syrjala/xmms-itouch/ (http://www.saunalahti.fi/~syrjala/xmms-itouch/)
This plugin is designed for keyboards with multimedia keys on it (play/pause, back, next etc) but you press each button to map it to a function so I don't see why this wouldn't work on the 860 buttons near the On/Off. This plugin also works whether xmms has the focus or not and I've been using it on my laptop for awhile now. I think with this plugin I could have my Z playing MP3s and use the jog wheel etc to change songs and not worry if xmms has the focus or if the screen blank applet has the focus. Make sense?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=72055\"][{POST_SNAPBACK}][/a][/div]
The best choice is to compile xmms completely by yourself.
If it doesnt work there is a chance that you can use the user plugin dir of xmms
something like ~/.xmms/Plugins/*
the plugin compiles right. The only difficulty is the make install
choose a destination directory and create it /usr/local/xmms is no bad idea
edit the Makefile (line DEST =) and set a destination directory. Look at the messages from make install
Move the files from Destination dir to plugin default dir. cut off the "./arm-blablabla" from the path name
This is untested, but I hope it helps
ciao
Enno
-
Hi
http://www.saunalahti.fi/~syrjala/xmms-itouch/ (http://www.saunalahti.fi/~syrjala/xmms-itouch/)
This plugin is designed for keyboards with multimedia keys on it (play/pause, back, next etc) but you press each button to map it to a function so I don't see why this wouldn't work on the 860 buttons near the On/Off.
Dont know which keycodes itouch reads from the wheel. Shows something like 133 and 134 but seems that there is a problem. itouch hangs if you play to hard on the wheel
Normal keys work.
But during compilation occur again some libtool issues. itouch is the only lib that compiles shared.Next week I have time to investigate this.
This plugin also works whether xmms has the focus or not and I've been using it on my laptop for awhile now. I think with this plugin I could have my Z playing MP3s and use the jog wheel etc to change songs and not worry if xmms has the focus or if the screen blank applet has the focus. Make sense?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=72055\"][{POST_SNAPBACK}][/a][/div]
What I now need is some more info on the keycodes. dont know if showkey runs on zaurus. but i assume that this work some day
ciao
enno
-
What I now need is some more info on the keycodes. dont know if showkey runs on zaurus. but i assume that this work some day
Have you tried "xev" on pdaXrom? It's on my version (RC9) and will show you the keycodes of anything you press or tap on the screen. If you don't have xev on your version I will put the keycode information here.