bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem compiling gdb-5.0


From: Christopher S. Kush
Subject: Re: problem compiling gdb-5.0
Date: Fri, 30 Mar 2001 14:57:13 -0700

Roberto Chiarle wrote:
> gcc -I. -I../common -I./../common -o gentmap
> gcc: No input files
> *** Error code 1

Your version of "make" doesn't understand the $< macro.

Fix gdb-5.0/sim/ppc/Makefile.in to say

        $(CC) -c $(STD_CFLAGS) -DHAVE_CONFIG_H ../common/callback.c

instead of

        $(CC) -c $(STD_CFLAGS) -DHAVE_CONFIG_H $<

and

        $(CC_FOR_BUILD) $(BUILD_FLAGS) -I. -I../common -I$(srcdir)/../common -o 
gentmap ../common/gentmap.c $(BUILD_LIBS)

instead of

        $(CC_FOR_BUILD) $(BUILD_FLAGS) -I. -I../common -I$(srcdir)/../common -o 
gentmap 
$< $(BUILD_LIBS)

-- 
Christopher S. Kush



reply via email to

[Prev in Thread] Current Thread [Next in Thread]