RE: [GSoC] My Git Dev Blog — Week 6

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

 



Atharva Raykar wrote:

>   * Reflections:
>     - How does Git even start?
>       (https://atharvaraykar.me/gitnotes/week6#how-does-git-even-start)
>       This was just something I was curious about, not really important
>       to my project. If anyone knows the answer to what I asked in that,
>       section, it would be nice to know!

They are not all linked together.

Take for example shell.c, which will be used to generate shell.o, which
is used here:

  PROGRAM_OBJS += shell.o

PROGRAM_OBJS is used here:

  PROGRAMS += $(patsubst %.o,git-%$X,$(PROGRAM_OBJS))

This means shell.o will be used to generate a program called git-shell.

But the "git" program will not use PROGRAM_OBJS, therefore it will not
link shell.o.

Cheers.

-- 
Felipe Contreras



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux