This is the mail archive of the gcc-help@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]

crt0 location


Hi all,

Mostly in my work I have several versions of cross gcc for our own port compiled in a directory. When I test the compilers I need to provide a libc (usually uclibc) and a crt0. Previously the crt0 was being copied to the compiler directory for it to be found however we have made those directories read-only. How can I tell GCC during runtime where the crt0.o is?

I have found out that -Bdir-to-crt0/ works. I am wondering if this is the right option to use or there's a better way?

Cheers,

--
PMatos


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