Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"make alldepend" fails on non-Win32 platform #4244

Closed
vicuna opened this issue Mar 27, 2007 · 1 comment
Closed

"make alldepend" fails on non-Win32 platform #4244

vicuna opened this issue Mar 27, 2007 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Mar 27, 2007

Original bug ID: 4244
Reporter: laurent
Status: closed (set by @xavierleroy on 2013-08-31T10:46:26Z)
Resolution: won't fix
Priority: normal
Severity: text
Version: 3.09.3
Category: configure and build/install

Bug description

There 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 information

I 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

@vicuna
Copy link
Author

vicuna commented Feb 7, 2012

Comment author: @damiendoligez

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant