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

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Native Gcc Compiler For X/qt
« Reply #30 on: May 02, 2006, 11:54:57 pm »
Quote
run ldconfig and then try again
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125516\"][{POST_SNAPBACK}][/a][/div]

OK, tried that and here's what I got:

Code: [Select]
#ldconfig
ldconfig: File /usr/lib/libc.so is too small, not checked.
# gcc -o hello hello.cpp
/mnt/zgcc/bin/ld: cannot open output file hello: Read-only system
collect2: ld returned 1 exit status
#

Any more suggestions??

Thanks,

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/

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #31 on: May 03, 2006, 12:06:15 am »
Quote
Quote
run ldconfig and then try again
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125516\"][{POST_SNAPBACK}][/a][/div]

OK, tried that and here's what I got:

Code: [Select]
#ldconfig
ldconfig: File /usr/lib/libc.so is too small, not checked.
# gcc -o hello hello.cpp
/mnt/zgcc/bin/ld: cannot open output file hello: Read-only system
collect2: ld returned 1 exit status
#

Any more suggestions??

Thanks,

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


well, this is to be expected. you need to copy the sample somewhere else where you actually have write permission, you can't generate files on a mounted cramfs image.
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 #32 on: May 03, 2006, 10:16:43 pm »
Quote
well, this is to be expected. you need to copy the sample somewhere else where you actually have write permission, you can't generate files on a mounted cramfs image.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125520\"][{POST_SNAPBACK}][/a][/div]

Oooppsss.... that makes sense, Meanie....  

Anyway, copied sample files to /hdd3/hello-test and tried again.....below is what I got this time...geez, and this is just a little test file.....

 

Code: [Select]
cd /hdd3/hello-test
# ls
Makefile   hello.cpp
# gcc -o hello hello.cpp
# /tmp/cc9nDkEr.o: In function `main':
> /tmp/cc9nDkEr.o(.text+0x14): undefined reference to `ostream::operator<<(char const *)'
Syntax error: "(" unexpected
# /tmp/cc9nDkEr.o(.text+0x14): relocation truncated to fit: R_ARM_PC24 ostream::operator<<(char const*)
Syntax error: word unexpected (expecting ")")
# *)
Syntax error: unexpected ")"
# /tmp/cc9nDkEr.o(.text+0x24): undefined reference to `ostream::operator<<(ostream &(*)(ostream &))'
Syntax error: word unexpected (expecting ")")
# /tmp/cc9nDkEr.o(.text+0x24): relocation truncated to fit: R_ARM_PC24 ostream::operator<<(ostream &(*)(ostream &))
Syntax error: word unexpected (expecting ")")
# /tmp/cc9nDkEr.o(.text+0x38): undefined reference to `cout'
Syntax error: word unexpected (expecting ")")
# /tmp/cc9nDkEr.o(.text+0x40): undefined reference to `endl(ostream &)'
Syntax error: word unexpected (expecting ")")
collect2: ld returned 1 exit status
« Last Edit: May 03, 2006, 10:17:15 pm by ArchiMark »
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/

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #33 on: May 03, 2006, 11:48:19 pm »
Quote
Quote
well, this is to be expected. you need to copy the sample somewhere else where you actually have write permission, you can't generate files on a mounted cramfs image.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125520\"][{POST_SNAPBACK}][/a][/div]

Oooppsss.... that makes sense, Meanie....  

Anyway, copied sample files to /hdd3/hello-test and tried again.....below is what I got this time...geez, and this is just a little test file.....

 

Code: [Select]
cd /hdd3/hello-test
# ls
Makefile   hello.cpp
# gcc -o hello hello.cpp
# /tmp/cc9nDkEr.o: In function `main':
> /tmp/cc9nDkEr.o(.text+0x14): undefined reference to `ostream::operator<<(char const *)'
Syntax error: "(" unexpected
# /tmp/cc9nDkEr.o(.text+0x14): relocation truncated to fit: R_ARM_PC24 ostream::operator<<(char const*)
Syntax error: word unexpected (expecting ")")
# *)
Syntax error: unexpected ")"
# /tmp/cc9nDkEr.o(.text+0x24): undefined reference to `ostream::operator<<(ostream &(*)(ostream &))'
Syntax error: word unexpected (expecting ")")
# /tmp/cc9nDkEr.o(.text+0x24): relocation truncated to fit: R_ARM_PC24 ostream::operator<<(ostream &(*)(ostream &))
Syntax error: word unexpected (expecting ")")
# /tmp/cc9nDkEr.o(.text+0x38): undefined reference to `cout'
Syntax error: word unexpected (expecting ")")
# /tmp/cc9nDkEr.o(.text+0x40): undefined reference to `endl(ostream &)'
Syntax error: word unexpected (expecting ")")
collect2: ld returned 1 exit status
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125649\"][{POST_SNAPBACK}][/a][/div]

how about just running make

btw, you are trying to compile a c++ file with a c compiler which of course fails. you can compile c programs with a c++ compiler but not the other way around

gcc = c compiler
g++ = c++ compiler

.c extension usually means c program
.cpp extension usually means c++ program
« Last Edit: May 03, 2006, 11:49:13 pm 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

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Native Gcc Compiler For X/qt
« Reply #34 on: May 04, 2006, 12:25:55 am »
Quote
how about just running make

btw, you are trying to compile a c++ file with a c compiler which of course fails. you can compile c programs with a c++ compiler but not the other way around

gcc = c compiler
g++ = c++ compiler

.c extension usually means c program
.cpp extension usually means c++ program
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125658\"][{POST_SNAPBACK}][/a][/div]

Oooopppss, again.....batting 1000 here....  

You're absolutely right, Meanie....need to watch (and think about...) what I'm doing...

Just ran make and all is good!!

Thanks as always, Meanie!!

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/

dinorex

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • http://dinorex.mocasting.com
Native Gcc Compiler For X/qt
« Reply #35 on: June 08, 2006, 12:57:08 pm »
Meanie,

thx for your awesome zgcc-2.95.2.cramfs package, which is under the pdaXqtrom env't, however, I've got questions to ask...

1/ it seems that i still cannot compile the Trolltech Qt tutorials (the 14 steps) as the QPainter.rotate() functions is not encap-ed, actually what's the version of Qt is included?

2/ is it exactly the same as pdaXrom env't? if that's so, can I using the pdaXqtrom to directly produce the 'pdaXrom' ipks so that I don't need to make use of the pdaXrom env't?

i've tried using 'qt-mt_3.3.4_armv5tel.ipk' for 'upgrading' the Qt module, and try to compile a 'freshmeat game' writing in Qt (qgo-1.5-r1.tar.gz) and it still cannot be compiled successfully. can that be compiled in pdaXrom? if so, what module should I add back to the pdaXqtrom so that i can make it under this env't?

3/ for OpenGL modules, I have tried your ipks to install in sharp rom, but it turns out error mesgs (some files are failed to extract...), can that module be embedded in this package as well in your future versions?
« Last Edit: June 08, 2006, 12:58:07 pm by dinorex »
Dinorex corner: -
Chinese: http://dinorex.mocasting.com/
English: http://dinorex-redoxin.blogspot.com/
Website: http://dinorex.no-ip.biz/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Zauri SL-C3100 (1 black & 1 grey)
black - Qtopia / Cacko (for notes taking in meetings) :)
grey - ROM wild tester....

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #36 on: June 09, 2006, 06:51:43 am »
Quote
Meanie,

thx for your awesome zgcc-2.95.2.cramfs package, which is under the pdaXqtrom env't, however, I've got questions to ask...

1/ it seems that i still cannot compile the Trolltech Qt tutorials (the 14 steps) as the QPainter.rotate() functions is not encap-ed, actually what's the version of Qt is included?

2/ is it exactly the same as pdaXrom env't? if that's so, can I using the pdaXqtrom to directly produce the 'pdaXrom' ipks so that I don't need to make use of the pdaXrom env't?

i've tried using 'qt-mt_3.3.4_armv5tel.ipk' for 'upgrading' the Qt module, and try to compile a 'freshmeat game' writing in Qt (qgo-1.5-r1.tar.gz) and it still cannot be compiled successfully. can that be compiled in pdaXrom? if so, what module should I add back to the pdaXqtrom so that i can make it under this env't?

3/ for OpenGL modules, I have tried your ipks to install in sharp rom, but it turns out error mesgs (some files are failed to extract...), can that module be embedded in this package as well in your future versions?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130420\"][{POST_SNAPBACK}][/a][/div]

well, this is to be expected. zgcc is a qt/e compiler not qt. sharp rom is based on like qt/e 1.5 which is as ancient as it can get. the libraries i included are for 1.5 so i can build apps compatible for this ancient environment. the pdaxrom libraries and headers i included have only been tested for gtk2 and some minimal gnome necessary for compiling all the apps in pdaxqtrom. qt3 libs and apps are not included yet.
pdaxqtrom != pdaxrom. it is only a small subset of it with the most common apps that use gtk available. kde and qt apps have not been tested yet, and sdl apps will not work at all due to the different sdl libraries used. apps compiled under pdaxqtrom not tied to qt/e or sdl will mostly work on pdaxrom but it is better to compile them for pdaxrom using a softfloat compiler instead of a hardfloat one which is used by pdaxqtrom.
« Last Edit: June 09, 2006, 06:53:06 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

yh2006

  • Newbie
  • *
  • Posts: 7
    • View Profile
Native Gcc Compiler For X/qt
« Reply #37 on: June 09, 2006, 11:48:35 pm »
Hi meanie,

     I've installed zgcc compiler image to my c1000 using the install shell script.java script:emoticon(':)') The installation went fine and I was able to compile and run the hello example. However, I got the following errors when trying the hello-qt example:

java script:emoticon(':blink:')

$ cd hello/
$ ls
Makefile   hello.cpp  hello.h    hello.pro  main.cpp   wc.t
$ make
g++ -c -pipe -DQT_QWS_SL3000 -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/home/QtPalmtop/include -o hello.o hello.cpp
In file included from hello.cpp:11:
hello.h:14: qwidget.h: No such file or directory
hello.cpp:12: qpushbutton.h: No such file or directory
hello.cpp:13: qtimer.h: No such file or directory
hello.cpp:14: qpainter.h: No such file or directory
hello.cpp:15: qpixmap.h: No such file or directory
In file included from hello.cpp:11:
hello.h:18: parse error before `{'
hello.h:22: syntax error before `:'
hello.h:26: `QPaintEvent' was not declared in this scope
hello.h:26: parse error before `)'
hello.h:32: parse error before `}'
hello.cpp:22: type specifier omitted for parameter
hello.cpp:22: parse error before `*'
hello.cpp:23: invalid use of undefined type `class Hello'
hello.h:17: forward declaration of `class Hello'
hello.cpp: In method `Hello::Hello(...)':
hello.cpp:23: `parent' undeclared (first use this function)
hello.cpp:23: (Each undeclared identifier is reported only once
hello.cpp:23: for each function it appears in.)
hello.cpp:23: `name' undeclared (first use this function)
hello.cpp:23: class `Hello' does not have any field named `QWidget'
hello.cpp:23: `text' undeclared (first use this function)
hello.cpp:23: class `Hello' does not have any field named `t'
hello.cpp:23: class `Hello' does not have any field named `b'
hello.cpp:25: `QTimer' undeclared (first use this function)
hello.cpp:25: `timer' undeclared (first use this function)
hello.cpp:25: parse error before `('
hello.cpp:26: implicit declaration of function `int timeout(...)'
hello.cpp:26: implicit declaration of function `int SIGNAL(...)'
hello.cpp:26: implicit declaration of function `int animate(...)'
hello.cpp:26: implicit declaration of function `int SLOT(...)'
hello.cpp:26: implicit declaration of function `int connect(...)'
hello.cpp:29: implicit declaration of function `int resize(...)'
hello.cpp: At top level:
hello.cpp:38: invalid use of undefined type `class Hello'
hello.h:17: forward declaration of `class Hello'
hello.cpp: In method `void Hello::animate()':
hello.cpp:40: `FALSE' undeclared (first use this function)
hello.cpp:40: implicit declaration of function `int repaint(...)'
hello.cpp: At top level:
hello.cpp:51: `QMouseEvent' was not declared in this scope
hello.cpp:51: `e' was not declared in this scope
hello.cpp:52: structure `Hello' not yet defined
hello.cpp:52: invalid declarator
hello.cpp:52: syntax error before `{'
hello.cpp:65: `QPaintEvent' was not declared in this scope
hello.cpp:65: parse error before `)'
hello.cpp:66: invalid use of undefined type `class Hello'
hello.h:17: forward declaration of `class Hello'
hello.cpp: In method `void Hello::paintEvent(...)':
hello.cpp:70: `t' undeclared (first use this function)
hello.cpp:74: `QFontMetrics' undeclared (first use this function)
hello.cpp:74: parse error before `='
hello.cpp:75: `fm' undeclared (first use this function)
hello.cpp:77: implicit declaration of function `int width(...)'
hello.cpp:78: implicit declaration of function `int height(...)'
hello.cpp:81: `QPixmap' undeclared (first use this function)
hello.cpp:81: parse error before `('
hello.cpp:82: `pm' undeclared (first use this function)
hello.cpp:85: `QPainter' undeclared (first use this function)
hello.cpp:85: parse error before `;'
hello.cpp:89: `p' undeclared (first use this function)
hello.cpp:90: implicit declaration of function `int font(...)'
hello.cpp:93: `QColor' undeclared (first use this function)
hello.cpp:93: parse error before `::'
hello.cpp:101: implicit declaration of function `int bitBlt(...)'
make: *** [hello.o] Error 1
$                                                      

      Do I need to make some modifications to get it compile and execute?

      Also, would you please suggest how to remove/unmount the zgcc cramfs cleanly/completely.
I got the image from a link from the zbook-3k pdf file. I'm not sure this is the latest version or not and would like to install the one from this thread.

Thanks.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #38 on: June 10, 2006, 09:09:29 am »
Quote
Hi meanie,

     I've installed zgcc compiler image to my c1000 using the install shell script.java script:emoticon(':)') The installation went fine and I was able to compile and run the hello example. However, I got the following errors when trying the hello-qt example:

java script:emoticon(':blink:')

$ cd hello/
$ ls
Makefile   hello.cpp  hello.h    hello.pro  main.cpp   wc.t
$ make
g++ -c -pipe -DQT_QWS_SL3000 -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/home/QtPalmtop/include -o hello.o hello.cpp
In file included from hello.cpp:11:
hello.h:14: qwidget.h: No such file or directory
hello.cpp:12: qpushbutton.h: No such file or directory
hello.cpp:13: qtimer.h: No such file or directory
hello.cpp:14: qpainter.h: No such file or directory
hello.cpp:15: qpixmap.h: No such file or directory
In file included from hello.cpp:11:
hello.h:18: parse error before `{'
hello.h:22: syntax error before `:'
hello.h:26: `QPaintEvent' was not declared in this scope
hello.h:26: parse error before `)'
hello.h:32: parse error before `}'
hello.cpp:22: type specifier omitted for parameter
hello.cpp:22: parse error before `*'
hello.cpp:23: invalid use of undefined type `class Hello'
hello.h:17: forward declaration of `class Hello'
hello.cpp: In method `Hello::Hello(...)':
hello.cpp:23: `parent' undeclared (first use this function)
hello.cpp:23: (Each undeclared identifier is reported only once
hello.cpp:23: for each function it appears in.)
hello.cpp:23: `name' undeclared (first use this function)
hello.cpp:23: class `Hello' does not have any field named `QWidget'
hello.cpp:23: `text' undeclared (first use this function)
hello.cpp:23: class `Hello' does not have any field named `t'
hello.cpp:23: class `Hello' does not have any field named `b'
hello.cpp:25: `QTimer' undeclared (first use this function)
hello.cpp:25: `timer' undeclared (first use this function)
hello.cpp:25: parse error before `('
hello.cpp:26: implicit declaration of function `int timeout(...)'
hello.cpp:26: implicit declaration of function `int SIGNAL(...)'
hello.cpp:26: implicit declaration of function `int animate(...)'
hello.cpp:26: implicit declaration of function `int SLOT(...)'
hello.cpp:26: implicit declaration of function `int connect(...)'
hello.cpp:29: implicit declaration of function `int resize(...)'
hello.cpp: At top level:
hello.cpp:38: invalid use of undefined type `class Hello'
hello.h:17: forward declaration of `class Hello'
hello.cpp: In method `void Hello::animate()':
hello.cpp:40: `FALSE' undeclared (first use this function)
hello.cpp:40: implicit declaration of function `int repaint(...)'
hello.cpp: At top level:
hello.cpp:51: `QMouseEvent' was not declared in this scope
hello.cpp:51: `e' was not declared in this scope
hello.cpp:52: structure `Hello' not yet defined
hello.cpp:52: invalid declarator
hello.cpp:52: syntax error before `{'
hello.cpp:65: `QPaintEvent' was not declared in this scope
hello.cpp:65: parse error before `)'
hello.cpp:66: invalid use of undefined type `class Hello'
hello.h:17: forward declaration of `class Hello'
hello.cpp: In method `void Hello::paintEvent(...)':
hello.cpp:70: `t' undeclared (first use this function)
hello.cpp:74: `QFontMetrics' undeclared (first use this function)
hello.cpp:74: parse error before `='
hello.cpp:75: `fm' undeclared (first use this function)
hello.cpp:77: implicit declaration of function `int width(...)'
hello.cpp:78: implicit declaration of function `int height(...)'
hello.cpp:81: `QPixmap' undeclared (first use this function)
hello.cpp:81: parse error before `('
hello.cpp:82: `pm' undeclared (first use this function)
hello.cpp:85: `QPainter' undeclared (first use this function)
hello.cpp:85: parse error before `;'
hello.cpp:89: `p' undeclared (first use this function)
hello.cpp:90: implicit declaration of function `int font(...)'
hello.cpp:93: `QColor' undeclared (first use this function)
hello.cpp:93: parse error before `::'
hello.cpp:101: implicit declaration of function `int bitBlt(...)'
make: *** [hello.o] Error 1
$                                                     

      Do I need to make some modifications to get it compile and execute?

      Also, would you please suggest how to remove/unmount the zgcc cramfs cleanly/completely.
I got the image from a link from the zbook-3k pdf file. I'm not sure this is the latest version or not and would like to install the one from this thread.

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


add /qpe to the end INCPATH in the Makefile
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 #39 on: June 10, 2006, 03:29:28 pm »
Meanie,

     I added /qpe to the end of INCPATH in the Makefile so it reads like -I$(QTDIR)/include/qpe, but it gives the same errors as before.
     QTDIR is pointing at /home/QtPalmtop( I checked with echo) and I notice that
 /include is empty. Am I doing something wrong during installation or setting up the INCPATH?

     Do I need to install the GTK library if I want to compile GTK apps?


    Thanks for answering my newbie questions.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #40 on: June 10, 2006, 07:40:15 pm »
Quote
Meanie,

     I added /qpe to the end of INCPATH in the Makefile so it reads like -I$(QTDIR)/include/qpe, but it gives the same errors as before.
     QTDIR is pointing at /home/QtPalmtop( I checked with echo) and I notice that
 /include is empty. Am I doing something wrong during installation or setting up the INCPATH?

     Do I need to install the GTK library if I want to compile GTK apps?


    Thanks for answering my newbie questions.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130676\"][{POST_SNAPBACK}][/a][/div]

you need to link /home/QtPalmtop/include to /mnt/zgcc/include
ie ln -s /mnt/zgcc/include /home/QtPalmtop/include

for gtk apps, you will need gtk, x, glib... best is to install pdaxqtrom-base
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 #41 on: June 11, 2006, 12:43:06 am »
any chance in you making a gcc image sans the x stuff, as I dont use x/qt stuff anymore. Or "what" would I have to remove in your current image?
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #42 on: June 15, 2006, 08:02:12 am »
Quote
any chance in you making a gcc image sans the x stuff, as I dont use x/qt stuff anymore. Or "what" would I have to remove in your current image?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130726\"][{POST_SNAPBACK}][/a][/div]

if you can find an old version of the image, it was without the xqt stuff
the old image didnt have perl so it was much smaller, so there's just lots of include headers and libraries that were added for xqt as well.

i am gonna make it even bigger by adding qt 3.3 headers and libraries
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 #43 on: June 15, 2006, 03:17:34 pm »
Quote
[...] as I dont use x/qt stuff anymore. [...]

Bam, I was hoping to setup this xqt environment to get Space Trader
working.  I'm having some issues on the 5500, but I was hoping this
graphical environment would be suitable for Space Trader...

John
_John Miskinis_

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Native Gcc Compiler For X/qt
« Reply #44 on: June 15, 2006, 08:51:06 pm »
oof, maybe I can setup a minimal xqt rootless mode.....I was hoping for a qtopia version...
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder