[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [photran] Using and Install photran, MinGW and g95
|
Hi,
Yes I select one file in my fortran project but no makefile in this, but I find makefile in C:\WINDOWS\system32.
# Makefile created by mkmf $Id: mkmf,v 10.0.4.6.2.1 2004/10/18 20:38:09 fms Exp $
include d:\msys\1.0\bin\mkmf.g95
.DEFAULT:
-touch $@
all: toto
SRC =
OBJ =
clean: neat
-rm -f .cppdefs $(OBJ) toto
neat:
-rm -f $(TMPFILES)
TAGS: $(SRC)
etags $(SRC)
tags: $(SRC)
ctags $(SRC)
toto: $(OBJ)
$(LD) $(OBJ) -o toto $(LDFLAGS)
hum, why is it in this directory:
perhaps : in my PATH there is on top PATH=C:\Perl\bin,... and it's before D:\msys\1.0\bin where is there perl.exe too.
laurent
-----Message d'origine-----
De : photran-bounces@xxxxxxxxxxx [mailto:photran-bounces@xxxxxxxxxxx]De
la part de Hani
Envoyé : jeudi 15 février 2007 13:24
À : Photran Information
Objet : Re: [photran] Using and Install photran, MinGW and g95
CARRIE Laurent schrieb:
> Thanks for your help, Hani
>
> I tried yours step but in step 7 :
>
> 7. Choose (e.g.) "g95 make Makefile" and click the "Run" button. In
> the Navigator/Fortran Projects frame you should see the "Makefile"
> file in your project section.(After the first run of "g95 make
> Makefile" it will appear in the root section of the External tools
> submenu or toolbar icon for easy invocation)
>
> I haven't any makefile in my Navigator/Fortran Projects.
You will see the Makefile only if you selected one of your (source)
files prior to invoke 'g95 make Makefile'. Otherwise the Makefile will
be made but stored somewhere else.
>
> But , I have these messages :
>
> Severity and Description Path Resource Location Creation Time Id
> Error launching 'cygpath' command essai5 Unknown 1171528273671 15
>
> Severity and Description Path Resource Location Creation Time Id
> Invalid project path: Duplicate path entries. essai5 pathentry
> 1171528273982 16
Oops. I have no idea. Do you have Mingw _and_ Cygwin installed? Or did
you install Cygwin in the past and uninstalled it later? If yes and you
want to use MinGW primarily, alter your PATH environment variable. Make
sure that the "/bin" subdirectory beneath your MinGW installation comes
before Cygwin's "/bin" subdirectory in your PATH environment variable
(i.e. "PATH=%PATH%;C:\MINGW\BIN;C:\CYGWIN\BIN"). Please look at
<http://www.mingw.org/mingwfaq.shtml#faq-usingwithcygwin> for details.
Or if you uninstalled Cygwin in the past make sure that you remove all
remnant Cygwin environment variables.
I guess, that cmd.exe tried to invoke Cygwin-Perl and have problems
maybe. Another workaround could be to alter the content of the
"Argument" field of the "External Tools" dialog box in 'g95 make
Makefile' entry to:
/C "cd ${container_loc} && d:\msys\1.0\bin\perl d:\msys\1.0\bin\mkmf -t
d:\msys\1.0\bin\mkmf.g95 -p ${container_name}"
(full qualified Perl path).
Hope this helps.
Best regards,
Hani
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran
__________________________
Ce message (et toutes ses pièces jointes éventuelles) est confidentiel et établi à l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'IFP décline toute responsabilité au titre de ce message.
This message and any attachments (the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. IFP should not be liable for this message.
Visitez notre site Web / Visit our web site : http://www.ifp.fr
__________________________