Shop OBEX P1 Docs P2 Docs Learn Events
SimpleIDE: Problem running gcc in a Win 7 installation — Parallax Forums

SimpleIDE: Problem running gcc in a Win 7 installation

MagIO2MagIO2 Posts: 2,243
edited 2012-12-29 19:29 in Propeller 1
Ok, jazzed asked me to post my problem (mentioned in a propeller thread) here, so I do without checking whether there is a similar thread!

I installed SimpleIDE 0.8.5 on my Win 7 Home Premium Netbook. If I load a quickstart demo project and try to run it, I get the following messages:
Project Directory: C:/Users/Benky/Documents/SimpleIDE/QuickStart/BlinkCogs/

propeller-elf-gcc.exe -o a.out -Os -mlmm -I . -fno-exceptions blinkcogs.c
propeller-elf-gcc.exe error ... (0)

propeller-elf-objdump -h a.out
propeller-elf-objdump error ... (0)

Done. Build Succeeded!

propeller-load.exe -I C:/Programs/propgcc/propeller-load/ -b QUICKSTART -p COM13 a.out -r
Propeller Version 1 on COM13

Ignored 5 bytes. 
error: failed to open 'a.out'

If I open a command-prompt, change to the project directory and run gcc, objdump and load as given in the log everything works fine!
Just let me know when you need some more information.

Comments

  • LeonLeon Posts: 7,620
    edited 2012-10-23 14:59
    I'm using Win7 Home Premium on my laptop, and SimpleIDE worked OK for me with that same project. I used 0.7.2, which seems to be the current version. Perhaps you should try that rather than the version you used, which probably has some bugs.
  • jazzedjazzed Posts: 11,803
    edited 2012-10-23 16:12
    Looks like your copy of propeller-elf-gcc.exe is misbehaving.
    I think the error message means that the program has been deleted somehow.

    Can you list the contents of C:\propgcc\bin ?

    The most recent distribution version is packaged with SimpleIDE version 0-8-5.

    Thanks.
  • MagIO2MagIO2 Posts: 2,243
    edited 2012-10-23 22:16
    Ok, found the problem!

    I've choosen a different folder for the gcc installation, but the installer seems to ignore this when setting the path variable. It's still c:\propgcc\bin.
  • LeonLeon Posts: 7,620
    edited 2012-10-24 03:04
    jazzed wrote: »
    Looks like your copy of propeller-elf-gcc.exe is misbehaving.
    I think the error message means that the program has been deleted somehow.

    Can you list the contents of C:\propgcc\bin ?

    The most recent distribution version is packaged with SimpleIDE version 0-8-5.

    Thanks.

    It's still 0-7-2:

    https://sites.google.com/site/propellergcc/downloads/windows-download

    Where is 0-8-5?
  • MagIO2MagIO2 Posts: 2,243
    edited 2012-10-24 04:52
    Hmmm ... I see ... this must have been changed, I really have downloaded a file named Simple-IDE_0-8-5_setup.zip from the official page. Timestamp is 18.10.
  • jazzedjazzed Posts: 11,803
    edited 2012-10-24 09:45
    Leon makes a good point that the parallax propeller-gcc page doesn't give the latest links. We'll change that this month.

    Meanwhile Leon and others can find the latest packages here: https://code.google.com/p/propside/downloads/list
  • eiplannereiplanner Posts: 112
    edited 2012-12-29 19:14
    I'm getting the same type of message. (See Image Attached)

    I downloaded SimpleIDE from the link in the first sticky msg on this forum. It gave me the version 7. I installed and set folders to my preferences and then ran the program. I attempted to run the "hello world" program and got the below output. I then came back to this forum to see if anyone else encountered this problem. I found this thread. It caused me to check my version and I found that I did not have the newest. I uninstalled the first one and reinstalled the second version from the link in this thread. Upon attempting the "hello world" again, I got the same output.

    I did not go with all the default folders when I ran the installation but I did adhere to the no spaces in the labels request. I put pictures of the BIN files I have.

    I am running Windows Vista - Is this the problem?

    HelloData.JPG
    DirectoryTree.JPG
    PropGCC BIN File.JPG
    SimpleIDE BIN File.jpg
    665 x 281 - 27K
    363 x 666 - 32K
    698 x 653 - 65K
    1024 x 638 - 36K
  • eiplannereiplanner Posts: 112
    edited 2012-12-29 19:29
    I went back in - uninstalled the program completely - reinstalled it - accepted all the defaults during the install - and this time the "hello world" worked. I'm happy it worked and am glad I can now do something besides mess around with the downloading/installing/uninstalling/fiddling/messaging nonsense. :(

    I would have like to be able to choose my own folders. I work hard at maintaining all my Prop programming info, files, etc... in a non-cluttered manner so that I may find them easily when I need them.

    Anyhow, I'm off and running.............
Sign In or Register to comment.