View Single Post
Old 05-09-2016, 08:59 PM   #57
donB006
Connoisseur
donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.
 
Posts: 86
Karma: 186294
Join Date: Jun 2011
Device: Kindle k3G 3.4.2; DXG 2.5.8; DXG 3.1; Iriver Story HD
I have installed gcc into my DXG 2.5.8 and have compiled hello world. See attached.

I found the glibc directory in addition to the above gumstix directory for the uclibc files for the armv5te.

I grabbed several .ipk files and extracted the contents using 'dpkg-deb -x file.ipk directory' command.

Code:
binutils_2.18-r1_armv5te.ipk
binutils-doc_2.18-r1_armv5te.ipk
gcc_4.1.2-r7_armv5te.ipk
gcc-symlinks_4.1.2-r7_armv5te.ipk
libc6_2.5-r7_armv5te.ipk
libc6-dev_2.5-r7_armv5te.ipk
libgcc1_4.1.2-r10_armv5te.ipk
libgcc-s-dev_4.1.2-r10_armv5te.ipk
I next put the extracted files in /mnt/us/arm-gcc directory and linked the files into the rootfs. This was very messy and just a test to see if the binaries would work with the libraries. I plan to delete all of these changes and return my DXG to normal since I was just experimenting.

I found a slight problem where the libbfd and libopcodes were version 2.18 in my experiment while only 2.17 in the original DXG 2.5.8 except that worked anyway.

So Geekmaster, I would think you could try the same thing with your Kindle1 except using the uclibc versions instead of the libc6 versions. Your Kindle1 might be easy to convert into a full development machine using the sdcard for space. I doubt the wait would be very long for building your programs unless they were gigantic. That should depend on how much effort you want to invest in the setup. Cross-compilers are a pain.
Attached Files
File Type: txt helloworld.txt (3.7 KB, 199 views)
donB006 is offline   Reply With Quote