Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1392413
| From | Emese Revfy <re.emese@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v7 1/6] Shared library support |
| Date | 2016-05-02 19:50 +0200 |
| Message-ID | <ruq8P-7OL-19@gated-at.bofh.it> (permalink) |
| References | <rqO02-6t9-3@gated-at.bofh.it> <rqO02-6t9-25@gated-at.bofh.it> <ruehk-5Uk-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, 2 May 2016 14:03:00 +0900 Masahiro Yamada <yamada.masahiro@socionext.com> wrote: > In the first place, > I am wondering if we need to revive this documentation. > What this commit is only interested in *.so generation, > not host program support. I agree that we don't need this documentation. I'll remove it. > > @@ -124,5 +158,39 @@ quiet_cmd_host-cxxobjs = HOSTCXX $@ > > $(host-cxxobjs): $(obj)/%.o: $(src)/%.cc FORCE > > $(call if_changed_dep,host-cxxobjs) > > > > +# Compile .c file, create position independent .o file > > +# host-cshobjs -> .o > > +quiet_cmd_host-cshobjs = HOSTCC -fPIC $@ > > + cmd_host-cshobjs = $(HOSTCC) $(hostc_flags) -fPIC -c -o $@ $< > > +$(host-cshobjs): $(obj)/%.o: $(src)/%.c FORCE > > + $(call if_changed_dep,host-cshobjs) > > + > > +# Compile .c file, create position independent .o file > > > Please explain why c++ compiler should be used to compile .c files. > > This is not clear, so worth commenting. Where do you think that the C++ compiler is used above? I think HOSTCC can only be C compiler. -- Emese
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v7 1/6] Shared library support Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-05-02 07:10 +0200
Re: [PATCH v7 1/6] Shared library support Emese Revfy <re.emese@gmail.com> - 2016-05-02 19:50 +0200
Re: [PATCH v7 1/6] Shared library support Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-05-03 04:10 +0200
Re: [PATCH v7 1/6] Shared library support Emese Revfy <re.emese@gmail.com> - 2016-05-03 23:30 +0200
Re: [PATCH v7 1/6] Shared library support Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-05-04 06:10 +0200
Re: [PATCH v7 1/6] Shared library support Emese Revfy <re.emese@gmail.com> - 2016-05-05 20:40 +0200
Re: [PATCH v7 1/6] Shared library support Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-05-03 04:10 +0200
Re: [PATCH v7 1/6] Shared library support Emese Revfy <re.emese@gmail.com> - 2016-05-03 23:20 +0200
Re: [PATCH v7 1/6] Shared library support Emese Revfy <re.emese@gmail.com> - 2016-05-05 20:40 +0200
csiph-web