[openbeos] Re: compilation problem with Haiku

  • From: "David McPaul" <dmcpaul@xxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 01 Jun 2005 20:00:33 +1000 EST

On Wed, 1 Jun 2005 11:43:32 +0200 (MEST) Ingo Weinhold <bonefish@xxxxxx
berlin.de> said
> On Wed, 1 Jun 2005, David McPaul wrote:
> 
> > On 1 Jun 2005 06:40:41 -0000 Stefano Ceccherini <
> > burton666@xxxxxxxxxxx>
> > said
> >>
> >>> So am I missing something in my build environment?
> >>
> >> Did you install the compiler following the included instructions ?
> >> i.e: did you copy the new libstdc++.r4.so in the system directory 
> > > ? did
> > you copy the new c++ headers in the right place ?
> >
> > Yes.  I do note however that the hauku build process creates it's 
> > own
> > stdc++ library to link against.
> 
> That's correct, but for building gensyscall[info]s the build platform 
> environment is used, since those tools need to be executed as part of 
> the 
> build process. Have you re-run `configure' after installing the new 
> gcc? 
> If not, the old compiler will still be used.

Hmm, I just reread this.

So the line:

gcc  -o "objects/x86.R1/tools/gensyscalls/gensyscallinfos"  "objects/
x86.R1/tools/gensyscalls/gensyscallinfos.o"  -lstdc++.r4 ;

should really be

gcc  -o "objects/x86.R1/tools/gensyscalls/gensyscallinfos"  "objects/
x86.R1/tools/gensyscalls/gensyscallinfos.o"  -llibstdc++.r4 ;

So the Jamfile rule
LinkSharedOSLibs gensyscalls : $(BUILD_LIBSTDC++) ;

is wrong?

Cheers
David
 
 

--
"When you have to kill a man it costs nothing to be polite." 
                -- Winston Curchill, On formal declarations of war

Other related posts: