[haiku-development] Re: C runtime libs

  • From: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 14 Mar 2016 20:05:33 +0100

On Mon, Mar 14, 2016 at 02:43:06PM -0400, Tim Kelly wrote:

Ok, I've made progress on the issue of C-runtime libs and just decided to
not link the crt libs at all, but instead just link libroot and libbe by
default (plus the pcc compiler-specific libs).  pcc can compile itself and
generate other executables, but I am getting this message:

runtime_loader: /boot/home/tools/HelloWorld/hello_pcc: Failed to get gcc
version.

I'm guessing runtime_loader is looking for some symbols in the executable
container.  Can someone point me in the direction of where this is resolved?

Various things are tested in the runtime_loader here:
http://cgit.haiku-os.org/haiku/tree/src/system/runtime_loader/elf_haiku_version.cpp#n192

-- 
Adrien.

Other related posts: