Author Topic: Native Gcc Compiler For X/qt  (Read 56154 times)

miskinis

  • Sr. Member
  • ****
  • Posts: 348
    • View Profile
    • http://
Native Gcc Compiler For X/qt
« Reply #45 on: June 16, 2006, 09:36:13 am »
Quote
oof, maybe I can setup a minimal xqt rootless mode...

I get the feeling that the rootless option although pretty powerful, gets too
complicated as soon as you want to run several X clients simultaneously,
i.e. multiple DISPLAY's, from what I read in the rootless post.  I get the
impression it is being abandoned.

Quote
I was hoping for a qtopia version...

I'm very hesitant to spend time learning about the Qt API to provide a Qt-based
LINUX conversion of Space Trader.  I feel an X11-based version would allow
almost anyone with running LINUX to enjoy the game ultimately.  I am very interested
in this particular "packaging of an X/Qt environment", whether it be just the X server,
apps and a gcc development environment, OR the full pdaXrom under X/Qt.

Since I wish to get this setup on a 5500 first (then an 6000), I am more interested
in saving resources and living without the full pdaXrom.
_John Miskinis_

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #46 on: June 18, 2006, 09:44:50 pm »
Quote
Quote
oof, maybe I can setup a minimal xqt rootless mode...

I get the feeling that the rootless option although pretty powerful, gets too
complicated as soon as you want to run several X clients simultaneously,
i.e. multiple DISPLAY's, from what I read in the rootless post.  I get the
impression it is being abandoned.

Quote
I was hoping for a qtopia version...

I'm very hesitant to spend time learning about the Qt API to provide a Qt-based
LINUX conversion of Space Trader.  I feel an X11-based version would allow
almost anyone with running LINUX to enjoy the game ultimately.  I am very interested
in this particular "packaging of an X/Qt environment", whether it be just the X server,
apps and a gcc development environment, OR the full pdaXrom under X/Qt.

Since I wish to get this setup on a 5500 first (then an 6000), I am more interested
in saving resources and living without the full pdaXrom.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131383\"][{POST_SNAPBACK}][/a][/div]

actually, the rootless mode thing is not as powerful as hoped for imho, but I got around the DISPLAY issue, etc..., ie you can have multiple rootless apps running concurrently, but I wouldn't recommend it because the Z doesn't have that much memory. For example, and these are just numbers I use for illustration purpose and not the real memory usage of Xqt, but lets say the whole X environment uses 50MB of memory plus apps, the rootless env would perhaps use 35MB, but if you run two rootless apps, then it would be 2 x 35MB + app1 + app2, whereas the full X environment would just be 50MB + app1 + app2
it doesn't really matter what you do, memory usage is the big problem and the 64MB of RAM in the Z is really the bottleneck. a swapfile is very helpful, but it suffers from the slow disk i/o

anyway, I am trying to get Qt 3.3.5 working under XQt, not so much joy so far...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

miskinis

  • Sr. Member
  • ****
  • Posts: 348
    • View Profile
    • http://
Native Gcc Compiler For X/qt
« Reply #47 on: June 20, 2006, 03:14:34 pm »
Quote
[...] a swapfile is very helpful, but it suffers from the slow disk i/o

Disk?  What disk? I have no disk!  I use a swapfile on SD myself!  

Sorry to hear Qt 3.3.5 is frustrating you.  I look forward to trying any new
release you provide, and hopefully it will work on the SL-5500.

Best of luck!  John
_John Miskinis_

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #48 on: June 21, 2006, 10:01:07 pm »
Quote
Quote
[...] a swapfile is very helpful, but it suffers from the slow disk i/o

Disk?  What disk? I have no disk!  I use a swapfile on SD myself!  

Sorry to hear Qt 3.3.5 is frustrating you.  I look forward to trying any new
release you provide, and hopefully it will work on the SL-5500.

Best of luck!  John
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132075\"][{POST_SNAPBACK}][/a][/div]

when I say disk its a general term for microdrive, SD/CF cards, usb stick....

Qt3 is still giving me grief. i compile it every night with different options and every morning I find it compiled successfully without errors, but it won't run or link apps
I think I am getting closer though, getting different linker errors so seems like I am on the right track. A few more overnight compilations and I might get there...
Once qt3 is compiled, I will try to compile kde3 and then I would have a full environment (except SDL which is still trouble).
why am I doing this? I know kdemicrolibs exists and can be used to port qt3/kde3 apps for qte, but I want a full X environment with qt3 and kde3 running under X/Qt.
Took me a day to compile Qt3 Designer natively on pdaXrom, but I want it on Sharp ROM too
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Native Gcc Compiler For X/qt
« Reply #49 on: June 21, 2006, 10:30:28 pm »
As I've said before (and if not, I should have...  )

You're 'da Man, Meanie!!!!!

Thanks as always for ALL the great stuff you're doing for all of us Zster's....

 


Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

yh2006

  • Newbie
  • *
  • Posts: 7
    • View Profile
Native Gcc Compiler For X/qt
« Reply #50 on: June 21, 2006, 11:41:02 pm »
Hi Meanie,

     Your work is truly amazing and beneficial to newbies like me. I am looking forward to try out your pdaxqtrom 0.8.0.

     I have an older version of the gcc complier installed using the install script but I would like to uninstall it completely/cleaning so I can install the upcoming gcc release (with QT3). What would be the best way to delete it? I am not sure how to remove all those symbolic links created during installation.

Thanks.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #51 on: June 22, 2006, 11:08:35 pm »
Quote
Hi Meanie,

     Your work is truly amazing and beneficial to newbies like me. I am looking forward to try out your pdaxqtrom 0.8.0.

     I have an older version of the gcc complier installed using the install script but I would like to uninstall it completely/cleaning so I can install the upcoming gcc release (with QT3). What would be the best way to delete it? I am not sure how to remove all those symbolic links created during installation.

Thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132312\"][{POST_SNAPBACK}][/a][/div]

the links haven't changed
updating the zgcc image is quite simple. just replace the cramfs or squashfs file (after you unmount the image first of course)
then run zgcc-setup just to be sure


anyway, I finally managed to compile qt3 in such a way that I can now successfully compile the samples and tutorials.... now I have to rebuild everything with shared libraries instead of static linking...

look, qt3 sample app under x/qt   it's getting there but still quite a lot of problems to iron out...
« Last Edit: June 23, 2006, 08:41:57 am by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #52 on: June 26, 2006, 02:41:49 am »
Quote
Quote
Hi Meanie,

     Your work is truly amazing and beneficial to newbies like me. I am looking forward to try out your pdaxqtrom 0.8.0.

     I have an older version of the gcc complier installed using the install script but I would like to uninstall it completely/cleaning so I can install the upcoming gcc release (with QT3). What would be the best way to delete it? I am not sure how to remove all those symbolic links created during installation.

Thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132312\"][{POST_SNAPBACK}][/a][/div]

the links haven't changed
updating the zgcc image is quite simple. just replace the cramfs or squashfs file (after you unmount the image first of course)
then run zgcc-setup just to be sure


anyway, I finally managed to compile qt3 in such a way that I can now successfully compile the samples and tutorials.... now I have to rebuild everything with shared libraries instead of static linking...

look, qt3 sample app under x/qt   it's getting there but still quite a lot of problems to iron out...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132488\"][{POST_SNAPBACK}][/a][/div]

still no joy with qt3. the sample apps compile and link fine when doing it statically but that results in huge binaries... but linking them with shared libraries don't work still
so i decided to compile binutils 2.16 and see if that's any better.... might as well compile automake and autoconf as well while I'm at it...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Native Gcc Compiler For X/qt
« Reply #53 on: June 26, 2006, 03:47:45 am »
Quote
Quote
Quote
Hi Meanie,

     Your work is truly amazing and beneficial to newbies like me. I am looking forward to try out your pdaxqtrom 0.8.0.

     I have an older version of the gcc complier installed using the install script but I would like to uninstall it completely/cleaning so I can install the upcoming gcc release (with QT3). What would be the best way to delete it? I am not sure how to remove all those symbolic links created during installation.

Thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132312\"][{POST_SNAPBACK}][/a][/div]

the links haven't changed
updating the zgcc image is quite simple. just replace the cramfs or squashfs file (after you unmount the image first of course)
then run zgcc-setup just to be sure


anyway, I finally managed to compile qt3 in such a way that I can now successfully compile the samples and tutorials.... now I have to rebuild everything with shared libraries instead of static linking...

look, qt3 sample app under x/qt   it's getting there but still quite a lot of problems to iron out...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132488\"][{POST_SNAPBACK}][/a][/div]

still no joy with qt3. the sample apps compile and link fine when doing it statically but that results in huge binaries... but linking them with shared libraries don't work still
so i decided to compile binutils 2.16 and see if that's any better.... might as well compile automake and autoconf as well while I'm at it...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132858\"][{POST_SNAPBACK}][/a][/div]


       
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #54 on: July 09, 2006, 09:02:13 am »
well, got it finally!  
updated the complete zgcc image (gcc compiler 2.95.3 and all the bundled tools: autoconf 2.59, automake 1.9.2, coreutils 5.0, diffutils 2.8.1, gawk 3.1.5, grep 2.5, sed 4.0.9, texinfo 4.8 and binutils 2.16) and was able to compile glibc 2.2.2 and fixed fesetenv and fegetenv.
with this updated compiler and tools as well as a bundled fixed glibc, I managed to compile qt 3.3.6 natively. currently, qt apps compile fine, except the font is messed up
new zgcc image will be uploaded soon. i am gonna fix the font problem later. this new image is going to be quite big since it includes quite a lot more files but it can compile so much more stuff.
« Last Edit: July 12, 2006, 07:08:58 am by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Native Gcc Compiler For X/qt
« Reply #55 on: July 12, 2006, 06:45:45 am »
cant wait
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

yh2006

  • Newbie
  • *
  • Posts: 7
    • View Profile
Native Gcc Compiler For X/qt
« Reply #56 on: July 13, 2006, 01:24:16 am »
Hi Meanie,

        Would the new gcc compiler or future release of pdaxqtrom come with libxml2 and libxml2-devel(if not already)?

Thanks.

darkloran

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://freeloran.free.fr/zaurus.html
Native Gcc Compiler For X/qt
« Reply #57 on: July 13, 2006, 02:11:13 am »
Hi,
Quote
        Would the new gcc compiler or future release of pdaxqtrom come with libxml2 and libxml2-devel(if not already)?

the zgcc-2.95.2 already includes xml2-config for compilation.
the libs are included in package libxml2_2.6.14-1_arm.ipk
SL-C3000 -- Cacko1.23b1
CE-RH2 remote / Belkin usblan / Asus WL-110 / Sandisk SD UII 256MB / Sandisk CF UII 1GB
STOREX OTG Club 40GB / Belkin IR Keyboard / Logitech mouse

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #58 on: July 13, 2006, 03:05:43 am »
Quote
Hi,
Quote
        Would the new gcc compiler or future release of pdaxqtrom come with libxml2 and libxml2-devel(if not already)?

the zgcc-2.95.2 already includes xml2-config for compilation.
the libs are included in package libxml2_2.6.14-1_arm.ipk
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

yep, it's always been there, since when I first tried to compile a X11 app with it...
if you install zgcc and the pdaXqtrom-base images, then you have everything you need, headers, config and libraries, otherwise, you will need to install the ipk for the libs which are all available from [a href=\"http://www.thegrinder.ws/Meanies_XQT/pdaxqtrom/feed/base/]http://www.thegrinder.ws/Meanies_XQT/pdaxqtrom/feed/base/[/url]

zgcc 2.95.3 is the most up to date dev image with lots more updated tools, patched header files and additional static libraries for static linking. a patched glibc-2.2.2. is also included. this image is able to compile almost anything that does not require gcc 3.x
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

yh2006

  • Newbie
  • *
  • Posts: 7
    • View Profile
Native Gcc Compiler For X/qt
« Reply #59 on: July 17, 2006, 05:13:25 am »
Hi Meanie,

     I tried to install the pdaxqtrom base, app, java, dictionary, and zgcc images all together with the provided shell script to my c1000 (loaded with cacko rom). But I always get the following errors during installation:

/home/zaurus/.free42/Voyager42.layout: Read-only file system
/home/zaurus/.free42/42ck.gif: Read-only file system


mount: Mounting /usr/mnt.rom/card/pdaxqtrom0.8.0/zgcc2-95-3.squashfs on /mnt/zgcc failed: Invalid argument

...linking stardic dictionaries
ln:/usr/share/stardic/dic: No such file or directory

Java Runtime Environment and Tools
Installing java
warning:/usr/bin/jamvm already exists
java runtime environment configured and ready
Installing java applications...
chown:unknown user name: /home/zaurus/Applications/hdcrawler
chown:unknown user name: /home/zaurus/Applications/hdpad

I tried using the cleanup script and then re-run the install script but still get those errors.

I noticed that the zgcc dir in /mnt is empty and there are only 4 loop devices created for base, apps, java, and dictionaries but not zgcc.
What should I do to get zgcc properly installed and mounted?

Do I need to care about those output related to free42?

I also found out that nedit and stardict actually seg fault when I tried to run them with xlauncher -debug.
 
Thanks.
« Last Edit: July 18, 2006, 01:56:28 am by yh2006 »