Re: [archlinux] Port to the ARM.

2009-03-12 Thread hiciu
 Sorry, I didn't have enough time to browse detail of ur web pages.
 But i noticed that it uses buildroot, right?

 Cause I'm currently use buildroot to other platform, and OE seems rather
 difficult for me. And it takes so much time, I'm still
 compiling... :(

It uses Scratchbox, something that makes crosscompiling easier. This
is not OE-based.
But it takes much time anyway.

 checking for C compiler default output file name... configure: error: C
 compiler cannot create executables
 See `config.log' for more details.
 Messages from sb2:
 2009-03-11 21:11:58.473 (ERROR) sh[8934]    Unidentified executable
 detected
 (/usr/gcc-armv4t-unknown-linux-gnueabi/bin/armv4t-unknown-linux-gnueabi-gcc)
 2009-03-11 21:11:58.484 (ERROR) sh[8938]    Unidentified executable
 detected
 (/usr/gcc-armv4t-unknown-linux-gnueabi/bin/armv4t-unknown-linux-gnueabi-gcc)
 2009-03-11 21:11:58.491 (ERROR) sh[8942]    Unidentified executable
 detected
 (/usr/gcc-armv4t-unknown-linux-gnueabi/bin/armv4t-unknown-linux-gnueabi-gcc)
 2009-03-11 21:11:58.541 (ERROR) sh[8953]    Unidentified executable
 detected
 (/usr/gcc-armv4t-unknown-linux-gnueabi/bin/armv4t-unknown-linux-gnueabi-gcc)


 sb2-init completed successfully, have fun!


 Maybe I'm just weird, but that doesn't look very successful to me. :P

Well, this shouldn't be like that. Your logs are in
~/.scratchbox2/libtool_build/config.log.. For me there is no lines
with 'Unidentified executable detected', it's may be because of
toolchain. Can you run it? Try this:

cat EOF  test.c
int main(){
}
EOF
/usr/gcc-armv4t-unknown-linux-gnueabi/bin/armv4t-unknown-linux-gnueabi-gcc
test.c -o test
file test
sb2 gcc test.c -o test
file test
sb2 test

It should show something like this (2 lines):
test: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.14, not stripped
test: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.14, not stripped

It shows any errors?

-- 
hiciu

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [archlinux] Port to the ARM.

2009-03-11 Thread Will Siddall
I'll second that, if there's something that I can test, let me know.
I can help put together PKGBUILDs or test different builds.

On Tue, Mar 10, 2009 at 8:49 PM, The Digital Pioneer
digitalpion...@gmail.com wrote:
 I'm a hardcore Arch fan, and I'd love to pitch in if possible. I can compile
 packages, if you can provide PKGBUILDs and a working toolchain, the one on
 the wiki doesn't work for me.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [archlinux] Port to the ARM.

2009-03-11 Thread hiciu
That's nice to hear. I wrote down instructions: how to prepare
toolchain, buildroot and how to build packages on wiki
(http://wiki.openmoko.org/wiki/User:Hiciu). There is prebuild working
version of toolchain (and instructions how to build it, but no
PKGBUILD for toolchain yet) on this wiki too.
Feel free to test them. If these instructions would work for you then
I think we should meet on IRC to talk (where to keep packages / set up
repositories, what we wan't to do: Archlinux for ARM or Archlinux for
Freerunner ;], maybe let know about it on Arch forums
(http://bbs.archlinux.org/viewtopic.php?id=59638), what about posting
this howto on ArchWiki and other).

-- 
hiciu

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [archlinux] Port to the ARM.

2009-03-11 Thread Daniel.Li
On Wed, 2009-03-11 at 22:32 +0100, hiciu wrote:
 That's nice to hear. I wrote down instructions: how to prepare
 toolchain, buildroot and how to build packages on wiki
 (http://wiki.openmoko.org/wiki/User:Hiciu). There is prebuild working
 version of toolchain (and instructions how to build it, but no
 PKGBUILD for toolchain yet) on this wiki too.

Sorry, I didn't have enough time to browse detail of ur web pages.
But i noticed that it uses buildroot, right?

Cause I'm currently use buildroot to other platform, and OE seems rather
difficult for me. And it takes so much time, I'm still
compiling... :(

 Feel free to test them. If these instructions would work for you then
 I think we should meet on IRC to talk (where to keep packages / set up
 repositories, what we wan't to do: Archlinux for ARM or Archlinux for
 Freerunner ;], maybe let know about it on Arch forums
 (http://bbs.archlinux.org/viewtopic.php?id=59638), what about posting
 this howto on ArchWiki and other).
 
-- 
Daniel.Li lida_m...@163.com
PALFocus (http://palfocus.oicp.net)



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [archlinux] Port to the ARM.

2009-03-11 Thread The Digital Pioneer
OK, I'm having a bit of trouble getting the environment going. As per your
instructions on the wiki, I have gotten to the sb2-init step, but it gives
me this:

Finished writing sb2.config
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoc...@gnu.org.
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
Messages from sb2:
2009-03-11 21:11:58.473 (ERROR) sh[8934]Unidentified executable
detected
(/usr/gcc-armv4t-unknown-linux-gnueabi/bin/armv4t-unknown-linux-gnueabi-gcc)
2009-03-11 21:11:58.484 (ERROR) sh[8938]Unidentified executable
detected
(/usr/gcc-armv4t-unknown-linux-gnueabi/bin/armv4t-unknown-linux-gnueabi-gcc)
2009-03-11 21:11:58.491 (ERROR) sh[8942]Unidentified executable
detected
(/usr/gcc-armv4t-unknown-linux-gnueabi/bin/armv4t-unknown-linux-gnueabi-gcc)
2009-03-11 21:11:58.541 (ERROR) sh[8953]Unidentified executable
detected
(/usr/gcc-armv4t-unknown-linux-gnueabi/bin/armv4t-unknown-linux-gnueabi-gcc)


sb2-init completed successfully, have fun!


Maybe I'm just weird, but that doesn't look very successful to me. :P
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community