Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Program "gcc" not found in PATH

Thanks Beth,

It was the PATH. Your response prompted me to take a closer look at the "Environmental Settings" section of the Getting Started Guidance for MinGW: http://www.mingw.org/wiki/Getting_Started.

Adding the guide's recommendation to my user PATH solved the problem. 

Now I'm rocking - THANKS!
Brian


On Wed, Jun 5, 2013 at 9:00 AM, <photran-request@xxxxxxxxxxx> wrote:
Send photran mailing list submissions to
        photran@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.eclipse.org/mailman/listinfo/photran
or, via email, send a message with subject or body 'help' to
        photran-request@xxxxxxxxxxx

You can reach the person managing the list at
        photran-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of photran digest..."


Today's Topics:

   1. Program "gcc" not found in PATH (Brian Payne)
   2. Re: Program "gcc" not found in PATH (Beth Tibbitts)


----------------------------------------------------------------------

Message: 1
Date: Tue, 4 Jun 2013 16:05:06 -0700
From: Brian Payne <brian.carl.payne@xxxxxxxxx>
To: photran@xxxxxxxxxxx
Subject: [photran] Program "gcc" not found in PATH
Message-ID:
        <CACmTzPveKZ7bKTtUzV06maqBzptSh3bUdhZXhXbsOfZsKyfc0g@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

Hello,

I've just installed Eclipse Juno Release (Build id: 20120614-1722) on a
computer running Windows Vista, 64bit. I've worked through both the Eclipse
Basic Tutorial and have attempted to build the HelloWorld program in
Photran. Following the Eclipse guidance I installed MinGW and have used it
to install the gcc toolkit (including the fortran compiler).

However, when I run my project from the Photran tutorial I receive the
error: "Program "gcc" not found in PATH".  I reviewed the e-mail forum
archives and Eclipse Help FAQ, but couldn't find something that solved my
problem.

One thing that concerns me is that when I open the MSDOS command prompt and
type gcc it's not recognized, but that's because the compiler is installed
in a different directory.  When I navigate to c:\MinGW\bin and type either
"gcc" or "gfortran" I do get a response indicating the compilers are
properly installed.

Is my error coming from my Eclipse not being able to locate my compiler?
Can I point it in the right direction or do I need to change the location
of my compiler?

Thanks in advance for helping this newbie get started!
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/photran/attachments/20130604/a13e5195/attachment.html>

------------------------------

Message: 2
Date: Tue, 4 Jun 2013 21:48:03 -0400
From: Beth Tibbitts <tibbitts@xxxxxxxxxx>
To: Photran Information <photran@xxxxxxxxxxx>
Subject: Re: [photran] Program "gcc" not found in PATH
Message-ID:
        <OF25C8C475.8BBAEA69-ON85257B81.0009B05C-85257B81.0009E4B9@xxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"


You need to set the PATH so that it sees where your gcc is installed.
So it sounds like you need to add c:\MinGW\bin to the PATH that mingw sees.

I think this is independent of Eclipse but someone with more experience
with MinGW is free to overrule me

...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511


|------------>
| From:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Brian Payne <brian.carl.payne@xxxxxxxxx>                                                                                                          |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |photran@xxxxxxxxxxx                                                                                                                               |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |06/04/2013 07:05 PM                                                                                                                               |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[photran] Program "gcc" not found in PATH                                                                                                         |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |photran-bounces@xxxxxxxxxxx                                                                                                                       |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|





Hello,

I've just installed Eclipse Juno Release (Build id: 20120614-1722) on a
computer running Windows Vista, 64bit. I've worked through both the Eclipse
Basic Tutorial and have attempted to build the HelloWorld program in
Photran. Following the Eclipse guidance I installed MinGW and have used it
to install the gcc toolkit (including the fortran compiler).

However, when I run my project from the Photran tutorial I receive the
error: "Program "gcc" not found in PATH".? I reviewed the e-mail forum
archives and Eclipse Help FAQ, but couldn't find something that solved my
problem.

One thing that concerns me is that when I open the MSDOS command prompt and
type gcc it's not recognized, but that's because the compiler is installed
in a different directory.? When I navigate to c:\MinGW\bin and type either
"gcc" or "gfortran" I do get a response indicating the compilers are
properly installed.

Is my error coming from my Eclipse not being able to locate my compiler?
Can I point it in the right direction or do I need to change the location
of my compiler?

Thanks in advance for helping this newbie get started!
Brian_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/photran/attachments/20130604/c5e880d9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <https://dev.eclipse.org/mailman/private/photran/attachments/20130604/c5e880d9/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <https://dev.eclipse.org/mailman/private/photran/attachments/20130604/c5e880d9/attachment-0001.gif>

------------------------------

_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran


End of photran Digest, Vol 94, Issue 1
**************************************


Back to the top