Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [photran] Using and Install photran, MinGW and g95

After several weeks when I was too much occupied to advanceon subject, I tried your advice.

I managed now to have in my project folder the file makefile.

# Makefile created by d:\msys\1.0\bin\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
hello.o: ./hello.f90
	$(FC) $(FFLAGS) -c	./hello.f90
SRC = ./hello.f90
OBJ = hello.o
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)

and my template for mkmf is :

FC = g95
LD = g95
FFLAGS = -I D:\msys\1.0\mingw\MinGW\include
LDFLAGS = $(LIBS)
LIBS =


On the other hand when I doing the build(Project->Build Project) I have the following message:

make -k all 
g95 -I D:\msys\1.0\mingw\MinGW\include -c	./hello.f90
make: g95: Command not found
make: *** [hello.o] Error 127
make: Target `all' not remade because of errors.

Is it problem with g95 location ??
the file g95.exe is in "D:\msys\1.0\mingw\MinGW\bin" folder

thanks for your help;

-----Message d'origine-----
De : photran-bounces@xxxxxxxxxxx [mailto:photran-bounces@xxxxxxxxxxx]De
la part de Douglas Cox
Envoyé : jeudi 15 février 2007 18:05
À : Photran Information
Objet : Re: [photran] Using and Install photran, MinGW and g95


On Thursday, February 15, 2007 "CARRIE Laurent" <Laurent.CARRIE@xxxxxx> 
wrote:

>
> Yes I select one file in my fortran project but no makefile in this, but I 
> find makefile in C:\WINDOWS\system32.

Please note that the mkmf and Photran install instructions for g95 have been 
revised.

The new instructions for mkmf and Photran are contained in two separate 
files, that you can find here:

http://vinyl2.sentex.ca/~tcc/g95/How_to_use_mkmf_with_g95.html

http://vinyl2.sentex.ca/~tcc/g95/How_to_use_Photran_with_g95.html


Doug 

_______________________________________________
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
__________________________






Back to the top