Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004244OCamlOCaml internal build/install (Makefiles, configure)public2007-03-27 14:422013-08-31 12:46
Reporterlaurent 
Assigned To 
PrioritynormalSeveritytextReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version3.09.3 
Target VersionFixed in Version 
Summary0004244: "make alldepend" fails on non-Win32 platform
DescriptionThere are win32.c files in ./otherlibs/systhreads/win32.c and ./byterun/win32.c which seem used on win32 platforms by the corresponding Makefile.nt, but, in the Makefiles, the target _depend_ try to build the dependencies for those win32.c files, which does not work on non-win32 platforms.
Additional InformationI suggest the following replacement :
in byterun/Makefile:
< gcc -MM $(BYTECCCOMPOPTS) *.c > .depend
< gcc -MM $(BYTECCCOMPOPTS) -DDEBUG *.c | sed -e 's/\.o/.d.o/' >> .depend
---
> gcc -MM $(BYTECCCOMPOPTS) $(OBJS:.o=.c) > .depend
> gcc -MM $(BYTECCCOMPOPTS) -DDEBUG $(OBJS:.o=.c) | sed -e 's/\.o/.d.o/' >> .depend

in otherlibs/systhreads/Makefile:
< gcc -MM -I../../byterun *.c > .depend
---
> gcc -MM -I../../byterun posix.c > .depend
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0006892)
doligez (administrator)
2012-02-07 13:05

In otherlibs/systhreads, the problem has disappeared.
In byterun, the proposed solution fails to generate the dependencies for instrtrace.d.o.

Even with the problem, the dependencies are produced correctly, so this is probably not worth trying to fix.

- Issue History
Date Modified Username Field Change
2007-03-27 14:42 laurent New Issue
2007-11-10 13:53 xleroy Status new => acknowledged
2012-02-07 11:57 doligez Category Incoming => OCaml internal build/install (Makefiles, configure)
2012-02-07 13:05 doligez Note Added: 0006892
2012-02-07 13:05 doligez Severity minor => text
2012-02-07 13:05 doligez Status acknowledged => resolved
2012-02-07 13:05 doligez Resolution open => won't fix
2013-08-31 12:46 xleroy Status resolved => closed


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker