Shop OBEX P1 Docs P2 Docs Learn Events
propgcc now in the Parallax github — Parallax Forums

propgcc now in the Parallax github

David BetzDavid Betz Posts: 14,516
edited 2015-06-28 20:18 in Propeller 1
Several people have noted that Google Code will be shutting down shortly. In preparation for that, I've migrated the propgcc repository from Google Code to the Parallax github account.

https://github.com/parallaxinc/propgcc

I'd like to consider the Google Code propgcc repository to be read-only at this point but there doesn't seem to be a way to do that.

Thanks to SwimDude0614:

Here are 6 useful links. These will always download the latest version of each artifact and work with wget

GCC4
x86-64 Linux
RPi
Win32

GCC5
x86-64 Linux
RPi
Win32
«13456711

Comments

  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-03-14 11:04
    Thanks!

    For anyone curious, I will soon be attempting to throw propgcc into a continuous integration server (TeamCity). I can't promise it will be successful, but this seemed like an appropriate place to mention it. If/when I get propgcc building successfully, we should have up-to-date versions of windows, linux and raspberry pi builds.
  • David BetzDavid Betz Posts: 14,516
    edited 2015-03-14 11:36
    Are you suggesting that this will replace the github repository or is this something that pulls from github to do its builds?
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-03-14 11:37
    It will monitor github for changes and build after every commit

    the triggers are highly configurable. i have propware's set for a "sleep period" of 5 minutes. so you have 5 minutes to make a second, related commit before the build actually kicks off
  • David BetzDavid Betz Posts: 14,516
    edited 2015-03-14 11:38
    It will monitor github for changes and build after every commit
    Sounds very useful.
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-03-14 11:39
    that's the goal! i'm tired of not having up-to-date versions of propgcc available.
  • David BetzDavid Betz Posts: 14,516
    edited 2015-03-14 11:45
    When I migrated propgcc from Google Code to github we lost the wiki material. Does anyone know how to migrate the wiki material? Github seems to have a wiki feature.
  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2015-03-14 12:36
    You can also migrate wikis using the above procedure because wikis are simply Git repositories that follow the special naming convention [repo-name].wiki.git. Visit http(s)://[enterprise-hostname]/[owner]/[repo-name]/wiki to create your wiki repository before you try pushing to it.

    From Here:
    https://help.github.com/enterprise/2.0/admin/articles/moving-a-repository-from-github-com-to-github-enterprise/
  • David BetzDavid Betz Posts: 14,516
    edited 2015-03-14 13:01
    https://help.github.com/enterprise/2.0/admin/articles/moving-a-repository-from-github-com-to-github-enterprise/

    From Here:
    You can also migrate wikis using the above procedure because wikis are simply Git repositories that follow the special naming convention [repo-name].wiki.git. Visit http(s)://[enterprise-hostname]/[owner]/[repo-name]/wiki to create your wiki repository before you try pushing to it.

    Thanks Bob!
  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2015-03-14 15:06
    Re:Thanks Bob!

    Anytime. I'll C you over in the SimpleIDE threads any day now. It's time for me to try it :)
  • David BetzDavid Betz Posts: 14,516
    edited 2015-03-14 15:10
    Re:Thanks Bob!

    Anytime. I'll C you over in the SimpleIDE threads any day now. It's time for me to try it :)
    SimpleIDE? What's that? Oh yeah, that's the GUI app people use when they want to program using PropGCC. I keep forgetting. :-)
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-03-15 10:51
    hey david, can I make a small suggestion? change the name of readme.txt to readme.md. I think (hope) that will help github decide to use the correct readme on the front page of the repository instead of readme.cross
  • David BetzDavid Betz Posts: 14,516
    edited 2015-03-15 12:50
    hey david, can I make a small suggestion? change the name of readme.txt to readme.md. I think (hope) that will help github decide to use the correct readme on the front page of the repository instead of readme.cross
    Done! Thanks for the suggestion.
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-03-15 19:22
    Well, I'm getting closer to building propgcc on the server. I've started a pull request with the goal of making propgcc capable of building/installing to a directory other than /opt/parallax. I got pretty far, but finally died with an error about not being able to find openspin :(

    pull request: https://github.com/dbetz/propgcc/pull/72
  • David BetzDavid Betz Posts: 14,516
    edited 2015-03-16 04:12
    Well, I'm getting closer to building propgcc on the server. I've started a pull request with the goal of making propgcc capable of building/installing to a directory other than /opt/parallax. I got pretty far, but finally died with an error about not being able to find openspin :(

    pull request: https://github.com/dbetz/propgcc/pull/72
    You can already do that by defining PREFIX:
    PREFIX=/my/path make
    
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-03-16 06:36
    David Betz wrote: »
    You can already do that by defining PREFIX:
    PREFIX=/my/path make
    

    It wouldn't have worked for cross-compilation, and I found files where /opt/parallax was hardcoded instead of using the PREFIX environment variable (lib/build.sh and loader/build.sh for instance).
  • David BetzDavid Betz Posts: 14,516
    edited 2015-03-16 06:45
    It wouldn't have worked for cross-compilation, and I found files where /opt/parallax was hardcoded instead of using the PREFIX environment variable (lib/build.sh and loader/build.sh for instance).
    I think there is also a CROSS_PREFIX variable. If you find places where /opt/parallax is hardcoded, please let me know. They should be fixed. Also, I'm working on a new repository called propeller-gcc that only includes gcc, binutils, lib, and propeller-load as submodules so they can live in their own separate repositories. It isn't ready for prime time yet though. It includes Eric's new version of gcc and binutils that match the current open source revisions.
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-03-16 06:51
    David Betz wrote: »
    I think there is also a CROSS_PREFIX variable. If you find places where /opt/parallax is hardcoded, please let me know. They should be fixed.

    they're in the pull request linked above.
    David Betz wrote: »
    Also, I'm working on a new repository called propeller-gcc that only includes gcc, binutils, lib, and propeller-load as submodules so they can live in their own separate repositories. It isn't ready for prime time yet though. It includes Eric's new version of gcc and binutils that match the current open source revisions.

    great! i have lots of disk space on the server and 16 cores @ 2.6 GHz, so bring it on! we'll have binaries of everything :)
  • David BetzDavid Betz Posts: 14,516
    edited 2015-03-16 07:02
    they're in the pull request linked above.
    Thanks! I've merged your changes.
  • dgatelydgately Posts: 1,630
    edited 2015-03-16 10:12
    David Betz wrote: »
    When I migrated propgcc from Google Code to github we lost the wiki material. Does anyone know how to migrate the wiki material? Github seems to have a wiki feature.

    David,

    This may help with the propgcc Wiki: https://github.com/ArcBees/arcbees-tools/tree/master/googlecode_wiki_to_github_markdown


    dgately
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-03-16 15:40
    It looks like openspin is being referenced as if it were already on the PATH in the loader's makefile. Can you confirm that David? Specifically, I'm looking at line 34 where it's defined and 215 where it's used
    https://github.com/dbetz/propgcc/blob/master/loader/Makefile
    If that's the case, I'll create another pull request that changes line 215 to use ${TARGET}/bin/${SPINCMP} instead of ${SPINCMP}
  • David BetzDavid Betz Posts: 14,516
    edited 2015-03-16 19:05
    It looks like openspin is being referenced as if it were already on the PATH in the loader's makefile. Can you confirm that David? Specifically, I'm looking at line 34 where it's defined and 215 where it's used
    https://github.com/dbetz/propgcc/blob/master/loader/Makefile
    If that's the case, I'll create another pull request that changes line 215 to use ${TARGET}/bin/${SPINCMP} instead of ${SPINCMP}
    The binary for openspin is included in the release directory in propgcc. I gets copied to /opt/parallax/bin before it is used by the makefile. In fact, the makefile probably shouldn't use it from the current path at all. It should probably always use it from $PREFIX/bin in case there is an old copy of openspin in the path.
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-03-16 20:08
    GREAT NEWS! The first build off the assembly line is available for download.

    http://david.zemon.name/downloads/propgcc-linux-64.tar.gz

    Still working on getting RPi builds succeeding.

    Windows build has to wait til tomorrow. Ran of disk space tonight :/

    I do not yet know how I'll be building 32-bit linux distros :/
  • msrobotsmsrobots Posts: 3,709
    edited 2015-03-16 20:34
    ...great! i have lots of disk space on the server and 16 cores @ 2.6 GHz, so bring it on! we'll have binaries of everything :)

    Nice setup for TeamCity! Glad you like it.

    Enjoy!

    Mike
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-03-16 20:43
    Indeed! This disk space is only checked and reallocated once a day though :/ so, now I have to wait until tomorrow to continue.
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-03-17 11:13
    Woohoo! We have windows builds now :)

    http://david.zemon.name/downloads/propgcc-win-32.zip
  • David BetzDavid Betz Posts: 14,516
    edited 2015-03-17 18:16
    GREAT NEWS! The first build off the assembly line is available for download.

    http://david.zemon.name/downloads/propgcc-linux-64.tar.gz

    Still working on getting RPi builds succeeding.

    Windows build has to wait til tomorrow. Ran of disk space tonight :/

    I do not yet know how I'll be building 32-bit linux distros :/
    This is truly great news! Congratulations!!
    Are you building the default branch or release_1_0 or both?
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-03-17 18:20
    David Betz wrote: »
    This is truly great news! Congratulations!!
    Are you building the default branch or release_1_0 or both?

    At the moment, default (which I assume means master really). release_1_0 is on my mental to-do list, but I want to get rpi building first.

    Still worried about 32-bit linux though :/
  • David BetzDavid Betz Posts: 14,516
    edited 2015-03-17 18:24
    At the moment, default (which I assume means master really). release_1_0 is on my mental to-do list, but I want to get rpi building first.

    Still worried about 32-bit linux though :/
    Ah, yes. It's "master" now not "default". Thanks for the correction. I still need to fix the version number generation. I think the problem is that I don't have any tags defined in the repository yet. I'm currently working on the new propeller-gcc repository though. It has the advantage that it gets the compiler from Eric's new version of GCC as well as binutils and lib. It also pulls Eric's most recent version of spin2cpp as well as Roy's most recent version of openspin. It's still buggy though. :-(
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-03-17 18:28
    David Betz wrote: »
    Ah, yes. It's "master" now not "default". Thanks for the correction. I still need to fix the version number generation. I think the problem is that I don't have any tags defined in the repository yet. I'm currently working on the new propeller-gcc repository though. It has the advantage that it gets the compiler from Eric's new version of GCC as well as binutils and lib. It also pulls Eric's most recent version of spin2cpp as well as Roy's most recent version of openspin. It's still buggy though. :-(

    I eagerly await the new version :D

    Hoping to get rpi live soon. Will update soon as it is
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-03-17 19:56
    Ugh. I'm stumped! I keep hitting this error with the rpi build:
    Configuring ncurses
    /bin/sh: 1: /var/www/vhosts/david.zemon.name/propgcc-build/src/ncurses/configure: not found
    make: *** [/var/www/vhosts/david.zemon.name/propgcc-build/src/../build-rpi/ncurses/ncurses-configured] Error 127
    

    I don't get it. It's looking for a directory called ncurses in the source files.... but there's definitely no ncurses directory in the repository. I thought maybe I just didn't have an environment variable set correctly, or was missing a dependency, but the Makefile doesn't show any obvious issues (referring to line 254: https://github.com/DavidZemon/propgcc/blob/master/Makefile#L254). The one odd thing I noticed was that the target "$(BUILD)/ncurses/ncurses-configured" depends on "$(BUILD)/ncurses/ncurses-created" which doesn't exist in that file. So... maybe ncurses-created is supposed to create the ncurses directory? Makes sense based on the name. Where's that target defined?

    --edit--
    grep just finished searching the source directory and found nothing :(
    dzweb@zemon1204:~/propgcc-build/src$ grep ncurses-created ./* -r
    ./Makefile:$(BUILD)/ncurses/ncurses-configured: $(BUILD)/ncurses/ncurses-created
    dzweb@zemon1204:~/propgcc-build/src$
    
Sign In or Register to comment.