This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit] Simplify subdir config


This simplfies the handling of subdirectories:



- puts "main.o" in libgdb.a
again ./gdb and ./tui always link against it


Doesn't this seem kind of strange? I've never heard of a library linking
in the main. Kind of makes it not general purpose. Why even link in a
library?

Check the source. It doesn't contain main(), rather just the logic needed to implement GDB's main.


Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]