Shop OBEX P1 Docs P2 Docs Learn Events
PropGCC on Fedora 15/16 — Parallax Forums

PropGCC on Fedora 15/16

Martin HodgeMartin Hodge Posts: 1,246
edited 2011-11-16 20:36 in Propeller 1
Fedora 15 (x86_64): Successfully installed, compiled demos and run fibo on a Propeller.

Had to install glibc-2.14-5.i686 to get ld-linux.so.2

Comments

  • jazzedjazzed Posts: 11,803
    edited 2011-11-07 17:30
    Congratulations.

    Someone said you have a 64KByte EEPROM on the ASC. Can you confirm that?

    If true, you will be able to run smaller XMMC demos from the EEPROM.
    While the main program will not be very fast, all the other COG code will run full speed.
    I have run programs with code size about 54KB and data/stack in HUB of 24KB on a 64KB EEPROM.
    That is: 54K + 24K = 78KB total. With a 128KB EEPROM you can run David's xbasic.

    Thanks,
    --Steve
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2011-11-07 19:32
    Yes, confirming, 64KB on the ASC+.
    [root@fedora xmmc]# propeller-load -r -t -b eeprom fibo.elf
    Propeller Version 1 on /dev/ttyUSB0
    Writing 4552 bytes to Propeller RAM.
    Verifying ... Upload OK!
    Loading cache driver
    1500 bytes sent                  
    Loading program image
    22248 bytes sent                  
    Loading .xmmkernel
    1628 bytes sent                  
    hello, world!
    fibo(00) = 000000 (00001ms) (104512 ticks)
    fibo(01) = 000001 (00000ms) (2112 ticks)
    fibo(02) = 000001 (00000ms) (2496 ticks)
    fibo(03) = 000002 (00000ms) (2880 ticks)
    fibo(04) = 000003 (00000ms) (3632 ticks)
    fibo(05) = 000005 (00000ms) (4768 ticks)
    fibo(06) = 000008 (00000ms) (6656 ticks)
    fibo(07) = 000013 (00000ms) (9680 ticks)
    fibo(08) = 000021 (00000ms) (14592 ticks)
    fibo(09) = 000034 (00000ms) (22528 ticks)
    fibo(10) = 000055 (00000ms) (35376 ticks)
    fibo(11) = 000089 (00000ms) (56160 ticks)
    fibo(12) = 000144 (00001ms) (89792 ticks)
    fibo(13) = 000233 (00001ms) (144208 ticks)
    fibo(14) = 000377 (00002ms) (232256 ticks)
    fibo(15) = 000610 (00004ms) (374720 ticks)
    fibo(16) = 000987 (00007ms) (605232 ticks)
    fibo(17) = 001597 (00012ms) (978208 ticks)
    fibo(18) = 002584 (00019ms) (1581696 ticks)
    fibo(19) = 004181 (00031ms) (2558160 ticks)
    fibo(20) = 006765 (00051ms) (4138112 ticks)
    fibo(21) = 010946 (00083ms) (6694528 ticks)
    fibo(22) = 017711 (00135ms) (10830896 ticks)
    fibo(23) = 028657 (00219ms) (17523680 ticks)
    fibo(24) = 046368 (00354ms) (28352832 ticks)
    fibo(25) = 075025 (00573ms) (45874768 ticks)
    fibo(26) = 121393 (00927ms) (74225856 ticks)
    
    
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2011-11-16 11:33
    Posting this strictly for feedback if it helps.

    Most recent hg pull (Wed:2pm) fails to build on F16.
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... no
    checking how to hardcode library paths into programs... immediate
    checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
    make[1]: *** [configure-target-libstdc++-v3] Error 1
    make[1]: Leaving directory `/usr/local/src/build/gcc'
    make: *** [all] Error 2
    gcc make all failed
    [root@Dell propgcc]# 
    
  • ersmithersmith Posts: 6,100
    edited 2011-11-16 17:06
    Posting this strictly for feedback if it helps.

    Most recent hg pull (Wed:2pm) fails to build on F16.
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... no
    checking how to hardcode library paths into programs... immediate
    checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
    make[1]: *** [configure-target-libstdc++-v3] Error 1
    make[1]: Leaving directory `/usr/local/src/build/gcc'
    make: *** [all] Error 2
    gcc make all failed
    [root@Dell propgcc]# 
    

    Very strange... is this with the rebuild.sh script? It looks like it's failing during the libstdc++ build. I'm not seeing that problem on my Ubuntu machine. I'll try to find a Fedora machine to test this on. Could you file an issue in google code, please?

    As a work-around you can skip the libstdc++ build by using the old rebuild.sh script.

    Eric
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2011-11-16 20:36
    This is likely missing packages on my machine. Don't fret over it yet.

    -edit-

    Today's commit fixed this issue. Noted on Google code as well. I will use the issue system for this type of thing from now on.
Sign In or Register to comment.