[cfe-users] crtbegin.o/crtend.o search path

2015-09-28 Thread 邓尧 via cfe-users
Hi, Due to some non-technical issues, I have to work with some very old Linux systems, mostly CentOS 6 installations, some are even older which have CentOS 5 installations. I'm trying to create a *self-hosting* toolchain with clang/libc++/libc++abi/libunwind/compiler-rt/binutils, so I can develop m

Re: [cfe-users] crtbegin.o/crtend.o search path

2015-09-28 Thread Douglas Katzman via cfe-users
> > I have two questions: > 1. How can I tell clang that these two files are under directory > /opt/extra ? I don't mind write a simple patch to clang, of course, > simpler solutions like build time options or command line options are > much better. > 2. Since crtbegin.o/crtend.o are part of a comp

Re: [cfe-users] crtbegin.o/crtend.o search path

2015-09-28 Thread 邓尧 via cfe-users
On Tue, Sep 29, 2015 at 1:42 AM, Douglas Katzman wrote: > I have two questions: >> 1. How can I tell clang that these two files are under directory >> /opt/extra ? I don't mind write a simple patch to clang, of course, >> simpler solutions like build time options or command line options are >> mu