Help - Search - Members - Calendar
Full Version: How Install Gcc.img?
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
badog
i want to try development some simply sofeware .
cs_jacky
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
SSG
QUOTE(cs_jacky @ Feb 7 2005, 07:02 AM)
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
*


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
henrysviper
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?
Zumi
QUOTE(henrysviper @ Feb 8 2005, 10:14 PM)
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 think it's nearly the same. However the toolchain uses cramfs which is a more compact, readonly filesystem, so it's smaller that way.
SSG
QUOTE(Zumi @ Feb 8 2005, 10:55 PM)
QUOTE(henrysviper @ Feb 8 2005, 10:14 PM)
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 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 pack this in squashfs this more compact, and more speed
conundrum
You need all the development binaries and the SDK img to compile natively.
markbedish
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
macwiz
QUOTE(markbedish @ Feb 16 2005, 02:20 PM)
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!
Ferdy
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?
pgas
install pcre ?
Ferdy
QUOTE(pgas @ Mar 2 2005, 09:32 PM)
install pcre ?
*

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! smile.gif
emjaybee
QUOTE(macwiz @ Mar 1 2005, 07:08 PM)
QUOTE(markbedish @ Feb 16 2005, 02:20 PM)
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 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 http://mirror1.pdaxrom.org/current/ or http://www.pdaxrom.org/unstable/ Little help here! wink.gif
omega
zgcc.img is on www.pdaxrom.org, somewhere beside rc9
deckard73
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/ or http://www.pdaxrom.org/unstable/ Little help here! wink.gif
*

[/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 smile.gif

hope that helps
Enno
emjaybee
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?
deckard73
Hi

QUOTE(emjaybee @ Mar 23 2005, 06:32 AM)
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 could test this with zgcc. Just post the url of the xmms-plugin

ciao
Enno
emjaybee
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? smile.gif
deckard73
Hello

QUOTE(emjaybee @ Mar 24 2005, 02:45 AM)
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? smile.gif
*


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
deckard73
Hi

QUOTE(emjaybee @ Mar 24 2005, 02:45 AM)
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 smile.gif
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.

QUOTE(emjaybee @ Mar 24 2005, 02:45)
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? smile.gif
*


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
emjaybee
QUOTE
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.
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.