On 10/23/05, Mark Knecht <markknecht@gmail.com>
wrote:> Hi,
> Does anyone know what happened to the --debug option in winebuild?
> It seems to have disappeared in more recent versions of Wine.
>
> I am attempting to build a program that uses winebuild with the
> debug in a Make file. This no longer builds. What's the proper way to
> change the Makefile now that this option no longer exists?
>
> I know that's a vague question, but it seems that often things
> change in Wine and the developers just leave it up to people like me
> that don't know much to sort things out without any info about
> what/why/how.
>
> Shall I send the Makefile? Or are there instructions out there that
> explain how to deal with this change?
>
> Thanks,
> Mark
>
More info. Here's the build section of the Makefile that no longer
builds under Wine-20050930:
### Target specific build rules
DEFLIB = $(LIBRARY_PATH) $(LIBRARIES) $(DLL_PATH)
$(xfst_exe_MODULE).dbg.c: $(xfst_exe_C_SRCS) $(xfst_exe_CXX_SRCS)
$(WINEBUILD) -o $@ --debug -C$(SRCDIR) $(xfst_exe_C_SRCS)
$(xfst_exe_CXX_SRCS)
$(xfst_exe_MODULE): $(xfst_exe_MODULE).dbg.o $(xfst_exe_OBJS)
$(CC) $(xfst_exe_LDFLAGS) -o $@ $(xfst_exe_OBJS)
$(xfst_exe_MODULE).dbg.o $(xfst_exe_LIBRARY_PATH) $(DEFLIB)
$(xfst_exe_DLLS:%=-l%) $(xfst_exe_LIBRARIES:%=-l%)
The --debug option is no longer supported so this no longer works. I
tried removing the .dgb but that just creates more problems.
Thanks in advance for any ideas or help.
Cheers,
Mark