Author Topic: Collie+source+gcc-2.95  (Read 4584 times)

TES

  • Newbie
  • *
  • Posts: 3
    • View Profile
Collie+source+gcc-2.95
« on: July 10, 2005, 10:12:14 am »
Hi all,

please help me how to set the enviroment for collie with 2.95 compiler.
Everywhere is explained how to set env for all except for collie because collie is not using gcc3.4 and higher kernels.
The old description is missing , HTTP 404 not found or explain the new config
(On bitbake config say: "set up as wiki say" but wiki now say only for newer kernels.)

Please, please help.

Thanks.

Jinidog

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.st-legacy.de.vu
Collie+source+gcc-2.95
« Reply #1 on: July 11, 2005, 09:48:32 am »
How about that?
http://oe.handhelds.org/cgi-bin/moin.cgi/ZaurusKernels

You need to set up OE properly, of course.

TES

  • Newbie
  • *
  • Posts: 3
    • View Profile
Collie+source+gcc-2.95
« Reply #2 on: July 11, 2005, 07:04:34 pm »
Quote
How about that?
http://oe.handhelds.org/cgi-bin/moin.cgi/ZaurusKernels

You need to set up OE properly, of course.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=87858\"][{POST_SNAPBACK}][/a][/div]

Thanks.

Now coming the biiiig problems:
how can build 3.5.3 ?
I downloaded the bitbake source from sdk, start and boom: error on gnu-config patch, no problem corrected, startd building again and i see bitbake try to build the 2.3.2 glibc stopped, made some correction (preferred glibc) 2.3.3 bomm error on configure, correct to 2.3.3cvs configure ok but near end give error some not implemented function.
Downloaded the new bitbake snapshot and i see glibc 2.3.5  

So somebody can explain for me how to build a 3.5.3 crosstool?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Collie+source+gcc-2.95
« Reply #3 on: July 12, 2005, 05:25:51 am »
I don't think GCC 2.95 is built by OE (unless someone's added it recently), there used to be a tarball which could be downloaded from oz.org (though I installed it ages ago and can't remember the exact URL)


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

lpotter

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
    • http://qtopia.net
Collie+source+gcc-2.95
« Reply #4 on: July 12, 2005, 02:25:03 pm »
Oe is overkill and difficult to use if you are just simply wanting to cross compile or develop applications, and it doesn't use gcc2, so anything it builds is not compatible with the Zaurus applications out there, or stock Zaurus that Sharp is currently shipping.

Go here for good developer information.
http://www.qtopia.net/modules/developers/
Software Engineer, Systems Group, MES, Trolltech
irc.freenode.net #qtopia
http://qtopia.net

blachner

  • Newbie
  • *
  • Posts: 23
    • View Profile
Collie+source+gcc-2.95
« Reply #5 on: July 13, 2005, 03:24:03 am »
I also don't understand accurately what you want to do. Do you want to build OZ 3.5.3 fully with gcc 2.95?

Or do you want to set up a gcc 2.95 build environement to compile applications for ROMs that uses gcc 2.95 like the standard Sharp ROMs?

Or do you "only" want to compile the Kernel for Collie? As far as I know the Kernel needs gcc 2.95 and you must set up this cross compiler manually. But it seems you have already done this.
« Last Edit: July 13, 2005, 03:28:00 am by blachner »

blachner

  • Newbie
  • *
  • Posts: 23
    • View Profile
Collie+source+gcc-2.95
« Reply #6 on: July 13, 2005, 03:42:06 am »
Quote
Oe is overkill and difficult to use if you are just simply wanting to cross compile or develop applications, ...
I don't find a (free) cross compile environment that is not difficult to use for Qtopia and none for Opie/OpenZaurus. And this is a problem for developer who only want to develop applications for the platform. Trolltech provides no cross compiler at all as far as I know. But maybe it is more problem of the device manufactureres. Sharp provided some packages with the cross compiler tools. I don't know if Sharp is still doing this, but the english developer site of Sharp is gone as far as I know. Maybe you must learn japanese to get the development packages.  

Quote
... and it doesn't use gcc2, so anything it builds is not compatible with the Zaurus applications out there, or stock Zaurus that Sharp is currently shipping.
Yes this incompatibility is a problem for both sides. For the OpenZaurus side because the few, but maybe important, comercial programs can not be used or only used with some trouble (compat libs but they have also some problems).

And a problem for the Sharp side, because many Open Source applications are primary developed or compiled  for OpenZaurus now. This is not really a good situation, especially for the users.

lpotter

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
    • http://qtopia.net
Collie+source+gcc-2.95
« Reply #7 on: July 13, 2005, 04:44:38 am »
Quote
Quote
Oe is overkill and difficult to use if you are just simply wanting to cross compile or develop applications, ...
I don't find a (free) cross compile environment that is not difficult to use for Qtopia and none for Opie/OpenZaurus. And this is a problem for developer who only want to develop applications for the platform. Trolltech provides no cross compiler at all as far as I know. But maybe it is more problem of the device manufactureres. Sharp provided some packages with the cross compiler tools. I don't know if Sharp is still doing this, but the english developer site of Sharp is gone as far as I know. Maybe you must learn japanese to get the development packages.  

Quote
... and it doesn't use gcc2, so anything it builds is not compatible with the Zaurus applications out there, or stock Zaurus that Sharp is currently shipping.
Yes this incompatibility is a problem for both sides. For the OpenZaurus side because the few, but maybe important, comercial programs can not be used or only used with some trouble (compat libs but they have also some problems).

And a problem for the Sharp side, because many Open Source applications are primary developed or compiled  for OpenZaurus now. This is not really a good situation, especially for the users.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Information here:
[a href=\"http://www.qtopia.net/modules/developers/]http://www.qtopia.net/modules/developers/[/url]
Software Engineer, Systems Group, MES, Trolltech
irc.freenode.net #qtopia
http://qtopia.net

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Collie+source+gcc-2.95
« Reply #8 on: July 13, 2005, 05:07:57 am »
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

TES

  • Newbie
  • *
  • Posts: 3
    • View Profile
Collie+source+gcc-2.95
« Reply #9 on: July 13, 2005, 06:03:32 am »
Thanks for ideas,
so started to understand how it's working, the 2.95 compiler is used only for 2.4.18 kernel compiling (compatibility) and the gcc 3.4 for application.
Can't build 3.5.3 appication on libpng have some python error and i can do nothing(not understand) so changed to 3.5.4 and everithing is working for now but how to build opie core (qpe? what is the package name?) not found on packages.(rc.opie start this)
How can test kernel without flashing, exist some lilo application?

P.S i think i need NEC EARTH SIMULATOR for building opie on resonable time

blachner

  • Newbie
  • *
  • Posts: 23
    • View Profile
Collie+source+gcc-2.95
« Reply #10 on: July 13, 2005, 06:23:16 am »
Quote
Information here:
http://www.qtopia.net/modules/developers/
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Oh. Ok it seems there are the files that Sharp provided before on the Zaurus developer site. I have setup this cross compiler already. With some scripts, which I wrote for me, its usable but not really comfortable or easy to use.

Is there a newer version of Qtopia Free SDK? Because the SDK I use is incompatible to the gcc installed on newer SuSE distributions. I only see RPMs for SuSE 8.2 on your link and I'm not sure if SuSE 8.2 and 9.2/9.3 uses a compatible gcc at the moment.

Quote
and here:

[a href=\"http://oe.handhelds.org/cgi-bin/moin.cgi/GettingStarted]http://oe.handhelds.org/cgi-bin/moin.cgi/GettingStarted[/url]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=88126\"][{POST_SNAPBACK}][/a][/div]
Yes I know this. And I set up it last weekend for Collie. I would try it before but the harddsik of my old computer wasn't big enough.

Till now I compiled only the Nano package to test if it works and this works without problems. But really, Open Embedded is nice and a good tool to build a whole distribution. But for a application developer, I think, it is unecessary complicated. For this, only a cross compiler setup is needed that just works and is easy installable.

At the moement I'm in the process to choose a ROM for my Zaurus which I will use and for which I will develop/compile the next versions of my programs. I tend to Open Zaurus, because Sharp dropped support for users outside Japan and because I think Open Zaurus have some nice features. The only thing with Open Zaurus what really bothers me is the compatibility problem between Open Zaurus and Sharp ROMs with comercial apps (especially Jeode and Opera). Especially because the compat libs seems to have some problems in the newest Open Zaurus release.

As I now see on qtopia.net there is also Qtopia 2.1.2 ROM for the Zaurus. Maybe this would also be an option. Can I find more information about it anywhere? Is it fully compatible to the Sharp ROM?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Collie+source+gcc-2.95
« Reply #11 on: July 13, 2005, 08:56:43 am »
Quote
how to build opie core (qpe? what is the package name?) not found on packages.(rc.opie start this)

I'm not sure off the top of my head, but if you build 'opie-image' it will automatically produce the libopie, etc. libs which are required.

Quote
I think, it is unecessary complicated. For this, only a cross compiler setup is needed that just works and is easy installable.

Yes. I think Mickeyl was in the process of producing a stand-alone toolchain to build opie apps. Iirc florian has something similar on his web site for GPE apps.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva