Hi,
I've been trying the Cross SDK from the official feed. However there are a few things I don't understand and would like to seek advice from the experts here. After searching I find there isn't much information about cross-compiling (at least for the newbies), so pardon me for any redundancy.
1. When extracting the archive, I always got the error at the end, printing
tar: Error exit delayed from previous errors
Is it normal and just an unharmful warning message?
2. How could I setup the configure script? The one provided in the official pdaXrom site is kinda old:
LDFLAGS="-Wl,-rpath-link,/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib" ./configure --host=armv5tel-cacko-linux --build=i686-linux --x-includes=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/include --x-libraries=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib --disable-debug --prefix=/usr/local
And how about this one?
LDFLAGS="-Wl,-rpath-link,/opt/cross/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/lib" ./configure --host=armv5tel-cacko-linux --build=i686-linux --x-includes=/opt/cross/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/include --x-libraries=/opt/cross/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/lib --disable-debug --prefix=/usr/local
I tried the second setting but ran into errors:
checking build system type... i686-pc-linux-gnu
checking host system type... armv5tel-cacko-linux-gnu
checking target system type... armv5tel-cacko-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for armv5tel-cacko-linux-strip... armv5tel-cacko-linux-strip
checking for style of include used by make... GNU
checking for armv5tel-cacko-linux-gcc... armv5tel-cacko-linux-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
3. Is the Cross (and native) SDK already capable of compiling KDE-based apps and apps requiring gtk+? (I tried but failed so I wonder if it's just due to my lack of skill and ignorance)
Despite the difficulty I simply enjoy doing compilation, even though I'm by no means a programmer. It would be such a nice thing if I could got more beautiful apps compiled and share them with other users here.
Any input would be much appreciated. Thank you all!
zdevil