You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: document fpm automatic static linking for fortfront integration
Updated all documentation to reflect that Fortran Package Manager automatically
handles static linking to fortfront when configured as a dependency. This is
important architectural information that simplifies the AST integration approach.
Key updates:
- GitHub issues #1 and #2 updated with fpm linking information
- ROADMAP.md: Added notes about automatic dependency management
- CLAUDE.md: Enhanced build system section with fpm linking details
- DESIGN.md: Updated AST integration sections with fmp architecture
- DEVELOPER_GUIDE.md: Simplified integration workflow documentation
The fpm.toml path dependency configuration enables:
- Automatic static linking (no manual build configuration)
- Seamless dependency resolution
- Standard fpm workflow compatibility
- Simplified development process
Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/DEVELOPER_GUIDE.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,22 +27,22 @@ FortFC is a Fortran compiler that generates HLFIR (High-Level FIR) using the MLI
27
27
28
28
## Fortfront Integration
29
29
30
-
With the resolution of module naming conflicts, ffc can now be compiled and tested alongside fortfront:
30
+
**fpm Automatic Linking**: Fortran Package Manager automatically handles static linking to fortfront via the path dependency configured in fpm.toml. This greatly simplifies the integration process.
31
31
32
32
```bash
33
-
# Build both projects together
34
-
cd /path/to/ffc && fpm build
35
-
cd /path/to/fortfront && fpm build
33
+
# Build ffc with automatic fortfront linking
34
+
cd /path/to/ffc && fmp build
36
35
37
-
# Test ffc with fortfront available
38
-
cd /path/to/ffc &&fmptest
36
+
# Test ffc with fortfront automatically linked
37
+
cd /path/to/ffc &&fpmtest
39
38
```
40
39
41
40
**Key Integration Points:**
42
41
-**AST Parsing**: fortfront provides the Fortran AST that ffc consumes
0 commit comments