| Summary: | Photran managed compilation does not generate .mod files | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | mastermemorex |
| Component: | Photran.Managed Make | Assignee: | Photran Inbox <photran-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | antony, cdtdoug, com-eclipse-dot-org, jamesblackburn+eclipse |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
I have just playing around and figure out what could possible go wrong. An by changing the name 3DDriver_newc.f90 to z3DDriver_newc.f90 it compiles. It seems that it tries to compile the files by alphabetical order. This bug translates into "photran's managed make is broken". Would be helpful to clarify docs until it is fixed - I wasted a lot of time trying to figure out what I was doing wrong getting a multi-file multi-module project to build since the home page and docs both mention managed make support. This link may be helpful for making a working implementation: http://code.google.com/p/foraytool/ [AFAIK this is the only major remaining flaw in photran than makes it less good than Visual Fortran (apart from set up ease-of-use issues)] Hi, Thanks for the bug report. The underlying cause of this was covered in Bug 365652, which was fixed in the recent 7.0.5 release. Please try that version and see if it works for you... *** This bug has been marked as a duplicate of bug 365652 *** |
Build Identifier: I20110603-0909 I have just dowloaded Eclipse, Photran configured with Cygwin, everything should be ok. Start a new project and create two files 3DDriver_newc.f90 PROGRAM Main USE size END PROGRAM Driver_3D size.f90 MODULE size SAVE INTEGER, PARAMETER :: neq = 5 ! number of equations !... END MODULE size I receive this error: ../3DDriver_newc.f90:20.14: Fatal Error: Can't open module file 'size.mod' for reading at (1): No such file or directory 3DDriver_newc.f90 It seems that the .mod files are not generated Reproducible: Always Steps to Reproduce: 1. Create a new Photran project under Windows XP, cygwin g95, etc... 2. Create a file with a program 3. Create another file with a module 4. Compile