Author Topic: Zgcc Installation Question  (Read 3011 times)

gregarican

  • Newbie
  • *
  • Posts: 24
    • View Profile
Zgcc Installation Question
« on: August 09, 2005, 12:21:36 pm »
I am looking to install the zgcc_2.9.5.1_arm.ipk on my SL-5500 and assume that it has to be installed in Internal Storage and not on my SD card. I have about 12 MB free in Internal Storage. Will this suffice?

inode0

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Zgcc Installation Question
« Reply #1 on: August 09, 2005, 12:30:12 pm »
Quote
I am looking to install the zgcc_2.9.5.1_arm.ipk on my SL-5500 and assume that it has to be installed in Internal Storage and not on my SD card. I have about 12 MB free in Internal Storage. Will this suffice?

I've had some problems with SD corruption, but zgcc runs just fine from SD or CF.  I prefer the full installation on CF now, but the cramfs version might fit in 12M but I think it would be tight.

John

gregarican

  • Newbie
  • *
  • Posts: 24
    • View Profile
Zgcc Installation Question
« Reply #2 on: August 09, 2005, 12:42:19 pm »
Quote
Quote
I am looking to install the zgcc_2.9.5.1_arm.ipk on my SL-5500 and assume that it has to be installed in Internal Storage and not on my SD card. I have about 12 MB free in Internal Storage. Will this suffice?

I've had some problems with SD corruption, but zgcc runs just fine from SD or CF.  I prefer the full installation on CF now, but the cramfs version might fit in 12M but I think it would be tight.

John
[div align=\"right\"][a href=\"index.php?act=findpost&pid=91250\"][{POST_SNAPBACK}][/a][/div]

Interesting. I tried to specify ipkg -d /mnt/card from the command line but got a bunch of error messages regarding failed symlink creation. Maybe I should state the hardlink to the SD card...

inode0

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Zgcc Installation Question
« Reply #3 on: August 09, 2005, 12:54:20 pm »
Quote
Interesting. I tried to specify ipkg -d /mnt/card from the command line but got a bunch of error messages regarding failed symlink creation. Maybe I should state the hardlink to the SD card...
You will need to have the SD or CF card formatted to support links I think, mine are all ext2.

John

gregarican

  • Newbie
  • *
  • Posts: 24
    • View Profile
Zgcc Installation Question
« Reply #4 on: August 09, 2005, 03:52:53 pm »
Quote
Quote
Interesting. I tried to specify ipkg -d /mnt/card from the command line but got a bunch of error messages regarding failed symlink creation. Maybe I should state the hardlink to the SD card...
You will need to have the SD or CF card formatted to support links I think, mine are all ext2.

John
[div align=\"right\"][a href=\"index.php?act=findpost&pid=91255\"][{POST_SNAPBACK}][/a][/div]

Yep. I reformatted the CF card and now have the full GCC on it. I was able to compile some Ruby extensions I needed and now hopefully will be trying out the Ruby/Qte stuff to create my own app. We'll see how it goes  

inode0

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Zgcc Installation Question
« Reply #5 on: August 09, 2005, 04:20:47 pm »
Quote
Yep. I reformatted the CF card and now have the full GCC on it. I was able to compile some Ruby extensions I needed and now hopefully will be trying out the Ruby/Qte stuff to create my own app. We'll see how it goes 
Great! There is one caveat with zgcc unless it has been fixed and that is that the libc.so file isn't configured correctly and this will break some builds. Rather than the link it creates it should be something like this instead (the comment shuts ldconfig up when processing the file).
Code: [Select]
/* GNU ld script
   Use the shared library, but some functions are only in
   the static library, so try that secondarily.  */
GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a )
If you can't find the libc_nonshared.a file holler at me again.

John