Shop OBEX P1 Docs P2 Docs Learn Events
PGCC on Win7 32-bit laptop — Parallax Forums

PGCC on Win7 32-bit laptop

mindrobotsmindrobots Posts: 6,506
edited 2011-11-03 14:44 in Propeller 1
Up and running on my Win7 laptop.

Upzipped to c:\propgcc but things wouldn't build.

Installed Cygwin and updated addpath.bat to add c:\cygwin\bin in addition to c:\propgcc\bin and the demos all built and cog_c_toggle worked with:

propeller-load -p4 -r toggle.elf

....wonder if they'll mind Cygwin being loaded on my work laptop??

Now, off to fix my Ubuntu systems!!

Happy testing!!

Comments

  • jazzedjazzed Posts: 11,803
    edited 2011-11-03 13:33
    Rick.

    What happened? You shouldn't need to install Cygwin to use the windows package.
    There are Cygwin components in c:\propgcc\bin that should work without installing Cygwin.

    --Steve

    mindrobots wrote: »
    Up and running on my Win7 laptop.

    Upzipped to c:\propgcc but things wouldn't build.

    Installed Cygwin and updated addpath.bat to add c:\cygwin\bin in addition to c:\propgcc\bin and the demos all built and cog_c_toggle worked with:

    propeller-load -p4 -r toggle.elf

    ....wonder if they'll mind Cygwin being loaded on my work laptop??

    Now, off to fix my Ubuntu systems!!

    Happy testing!!
  • mindrobotsmindrobots Posts: 6,506
    edited 2011-11-03 14:28
    I believe it was the grep problem as Leon found. A copy of grep.exe would have fixed it but I went to the extreme of installing most of cygwin since you never know when you might want to sed or awk on Win7!!
  • jazzedjazzed Posts: 11,803
    edited 2011-11-03 14:32
    mindrobots wrote: »
    I believe it was the grep problem as Leon found. A copy of grep.exe would have fixed it but I went to the extreme of installing most of cygwin since you never know when you might want to sed or awk on Win7!!

    Ok. Ya :) Propably could have just used sed instead of grep and cut !
  • Dave HeinDave Hein Posts: 6,347
    edited 2011-11-03 14:44
    Even though Cygwin isn't necessary it would be good to provide install instructions for users that would prefer to work under Cygwin versus the Windows command prompt. That's the way I normally work. I just copy the /propgcc/usr/local/propeller directory from the install package to /usr/local/propeller under Cygwin. The /propgcc/bin directory is required since this is just a subset of Cygwin's /bin directory. I usually copy /propgcc/demos to my home directory. The /usr/local/propeller/bin directory needs to be added to the Cygwin path.

    The only other issue is that bstc.exe is currently in /propgcc/bin. This should probably be moved to /propgcc/usr/local/propeller/bin in the install package so that it's available to Cygwin users.
Sign In or Register to comment.