This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [Patch] Use $(objext) in libiberty


On 09/06/2010 12:03 PM, Tristan Gingold wrote:
Hi,

contrary to all other platforms, the default extension for object files
on VMS is .obj.  This is correctly detected by configure stuff so LIBOBJS is
assigned to files with .obj extension.  However the rules are written with
the mostly standard .o extension and thus the build fails.

This patch simply replaces all instances of .o with .$(objext), which looks
to be the standard GNU convention.

I was able to successfully build gcc on x86/Darwin with this patch.

Ok for mainline ?

You need to adjust maint-tool so that maint-deps still works. Also, please make sure maint-missing still works.


Paolo


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