Subject: Re: new toolchain, cross compiler, and recent kernel
To: None <>
From: Brian Alliet <>
List: port-dreamcast
Date: 03/17/2002 23:03:39
On Sunday, March 17, 2002, at 10:19 PM, Christian Groessler wrote:
> How did you compile the things which want to link to the shared libs?

The libraries were still built, just not as shared libraries. This is 
set in
# The sh3 port is incomplete.
.if (${MACHINE_ARCH} == "sh3eb" || ${MACHINE_ARCH} == "sh3el") && \
NOPIC=          # defined

So basically everything is staticly linked to whatever libraries it 
needs. The current hpcsh snapshot is like this too. Marcus Comstedt 
posted a patch to support shared libraries some time ago. I'm not sure 
how well it worked or if its been committed. I'll have to look into that.

> But my kernel with your change boots fine. But I didn't use the
> toolchain generated by a ./, but tried my 2 installed
> compilers: Target "sh-elf" of gnu/dist/toolchain and of plain
> gcc-3.0.4 with binutils 2.11.2.

Hmm.. are you using recent cvs sources (like the last few days)? I'll 
try building a kernel with the stock gcc 3.04 and see if that makes a