Author Topic: Compilation Environnement  (Read 5032 times)

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Compilation Environnement
« on: September 27, 2007, 12:42:54 pm »
googling a little, it seems i succeed in building a compilation environnement for debian :

apt-get install build-essential
will install all necessary tools!

i tried with passkey-agent, i had to apt-get install libdbus-1-dev package too
then

make

and i had a executable binary !

i wonder if we should add arm compilation options however.

EDITED: now trying to compile notecase
« Last Edit: September 27, 2007, 12:49:52 pm by jpmatrix »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Compilation Environnement
« Reply #1 on: September 27, 2007, 01:44:19 pm »
notecase compiled
and it works!!!!

whow
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Compilation Environnement
« Reply #2 on: September 27, 2007, 02:18:37 pm »
Quote from: jpmatrix
notecase compiled
and it works!!!!

whow

can you create a .deb out of it ?
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Compilation Environnement
« Reply #3 on: September 27, 2007, 02:56:14 pm »
Good job!
AFAIK first the packager has to write a control file for the package.
Then a dpkg-deb build PACKAGE will do.
« Last Edit: September 27, 2007, 02:57:00 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Compilation Environnement
« Reply #4 on: September 27, 2007, 04:07:55 pm »
Quote from: ZDevil
Good job!
AFAIK first the packager has to write a control file for the package.
Then a dpkg-deb build PACKAGE will do.

thanks!
i was unsuccessfully fighting with fakeroot and dpkg-buildpackage.... and i was next to tell you that i failed........ and....


in fact i had to type where notecase-1.6.6 directory was :
dpkg-deb -b notecase-1.6.6

and gotcha!!!

then dpkg -i notecase-1.6.6.deb


then notecase to launch !!

find the .deb there:
http://matrixmen.free.fr/zaurus/debian/jpmatrix/

that's toooooo great!
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Compilation Environnement
« Reply #5 on: September 27, 2007, 05:06:47 pm »
That's cool. That looks easier than I thought!
Will hop on the bandwagon soon.  

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Compilation Environnement
« Reply #6 on: September 28, 2007, 02:06:28 pm »
Found this today. A very powerful and promising project!

http://www.scratchbox.org/

I will try this on my MacBook. If it works then there is no more reason not to crosscompile with ARM optimizations for Debian/Z.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Compilation Environnement
« Reply #7 on: October 13, 2007, 04:46:52 pm »
Quote from: ZDevil
Found this today. A very powerful and promising project!

http://www.scratchbox.org/

I will try this on my MacBook. If it works then there is no more reason not to crosscompile with ARM optimizations for Debian/Z.
 Hi ZDevil,

any progress with Scratchbox? I've not had any time to play with it myself. The most useful thing for me might be the fact that you can also target the Nokia tablets.

Another question you might know the answer to. I installed build-essential and then tried to install the 2.6.22 headers. (Yes I have managed to do the copy the modules thing and upgrade to the 2.6.22 kernel. Thanks guys!:D )

Here is the terminal output:

titchy:~# apt-get install linux-headers - `uname -r`
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Package linux-headers is a virtual package provided by:
  linux-headers-2.6.22-2-ixp4xx 2.6.22-4
  linux-headers-2.6.22-2-iop32x 2.6.22-4
  linux-headers-2.6.22-2-footbridge 2.6.22-4
  linux-headers-2.6.22-2 2.6.22-4
  linux-headers-2.6-ixp4xx 2.6.22+10
  linux-headers-2.6-iop32x 2.6.22+10
  linux-headers-2.6-footbridge 2.6.22+10
You should explicitly select one to install.
E: Package linux-headers has no installation candidate


Any suggestions about the choice I should make?  

uname -r just gives 2.6.22.


Cheers  
« Last Edit: October 13, 2007, 05:34:09 pm by tux »
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Compilation Environnement
« Reply #8 on: October 14, 2007, 08:29:41 am »
@tux:
Well for now I am still playing with the native toolchain. My C860 is now spared as a dedicated Debian box to compile stuff. But I have to install scratchbox only after I got debian set up in VM Fusion on my macbook...
And sorry I am just an enthusiastic user and no kernel guru. So can't help here ...

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Compilation Environnement
« Reply #9 on: October 21, 2007, 11:46:44 am »
it seems i missed some Qtopia dev files to compile wm8750mixer.
compile complains about
qpeapplication.h
...

any help ?
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Compilation Environnement
« Reply #10 on: October 21, 2007, 02:44:32 pm »
Yes, I took a brief look at the source too. Perhaps we should ask eviLjazz for the source for pdaXrom. The current source seems to be only for Sharp ROM.
In addition to the source, we still need to figure out how or whether to patch the kernel. The current version for 2.4.20 uses a special kernel patch that has been incorporated into the latest tetsu kernel (Sharp ROM).
But I am still very busy so it would be perfect if you (or some kind hands) could make it happen.  
« Last Edit: October 21, 2007, 02:45:04 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]