Re: compilation problem on HPUX11
On Tue, Dec 09, 2003 at 11:24:24AM +0100, Gansser, Martin wrote:
> dvd+rw-tools-5.14.4.7.4 # gmake
> gmake[1]: Entering directory `/users/mgansser/GNU/dvd+rw-tools-5.14.4.7.4'
> gcc -O2 -c -o growisofs.o growisofs.c
> g++ -O2 -fno-exceptions -c growisofs_mmc.o growisofs_mmc.cpp
> g++: growisofs_mmc.o: No such file or directory
Clearly this g++ command is malformed. Looking at Makefile.m4, I see
this:
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<
.cpp.o:
$(CXX) $(CXXFLAGS) -c $@ $<
The "-c" on the last line above should be "-c -o", just like on the
second line.
Reply to: