List Info

Thread: Re: Bug in building shared libs on HP/UX (wrong linker arguments)




Re: Bug in building shared libs on HP/UX (wrong linker arguments)
user name
2007-05-16 02:05:23
Hello Michael,
 
> Oliver.Kowalkeqimonda.com wrote:
> > Hello,
> > I tried to install boost-1.34 on HP/UX 11.11
(compiled with 
> gcc-4.1.0):
> >
> > bjam --prefix=/opt/boost --toolset=gcc
--with-thread install
> >
> > Doesn't create shared libraries.
> >
> > bjam --prefix=/opt/boost --toolset=gcc
--with-thread --link=shared 
> > install
> >   
> Oliver -
> 
> Hopefully someone can help you with the linker error...
but 
> you still have to change the command line also the 
> "--link=shared" wont do. "link" is
not a command line option, 
> it is a feature. So it will look like this:
> 
>    bjam --prefix=/opt/boost --toolset=gcc link=shared
install

I also tried this with the same result/error.
I would fix the bjam-linker stuff by myself - I only need a
hint in
which config file I need to insert the HP-linker options.
tutorial on boost.org about bjam v2 doesn't help :((

Oliver
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: Bug in building shared libs on HP/UX (wrong linker arguments)
country flaguser name
United States
2007-05-16 02:34:05
Oliver.Kowalkeqimonda.com wrote:
> Hello Michael,
>  
>   
>> Oliver.Kowalkeqimonda.com wrote:
>>     
>>
<snip>
>>    bjam --prefix=/opt/boost --toolset=gcc
link=shared install
>>     
>
> I also tried this with the same result/error.
> I would fix the bjam-linker stuff by myself - I only
need a hint in
> which config file I need to insert the HP-linker
options.
> tutorial on boost.org about bjam v2 doesn't help :((
>
> Oliver
>   
Oliver -

You can find the jam file for GCC in
tools/build/v2/tools/gcc.jam

I wish I could be of more help. If you execute bjam with
"-d 2" you
will get to see the commands that are being processed. That
will be
helpful in seeing what the linker is getting told to do.
  
   bjam -d 2 --prefix=/opt/boost --toolset=gcc link=shared
install


Best Regards -

michael



-- 

----------------------------------
Michael Caisse
Object Modeling Designs
www.objectmodelingdesigns.com


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: Bug in building shared libs on HP/UX (wrong linker arguments)
country flaguser name
United States
2007-05-16 07:23:15
Michael Caisse wrote:

> You can find the jam file for GCC in
tools/build/v2/tools/gcc.jam

And you can find the jam file for aCC on HP-UX in
tools/build/v2/tools/acc.jam. You can look at HP-UX Linker
options
in acc.jam. In gcc.jam, you can look at conditionalization
for osf
(Tru64) as an example.

Btw, there may be a bug in gcc.jam:

  switch [ modules.peek : JAMUNAME ]
  ...
  case HP_UX :

Why is HP_UX and not HP-UX which is what uname(1) returns?
And why is it not HPUX which is what os.name returns?
What should it be?

Thanks,
  Boris

----- Original Message ----- 
From: "Michael Caisse" <boostobjectmodelingdesigns.com>
To: "Boost.Build developer's and user's list"
<boost-buildlists.boost.org>
Sent: Wednesday, May 16, 2007 3:34 AM
Subject: Re: [Boost-build] Bug in building shared libs on
HP/UX (wrong 
linker arguments)


> Oliver.Kowalkeqimonda.com wrote:
>> Hello Michael,
>>
>>
>>> Oliver.Kowalkeqimonda.com wrote:
>>>
>>>
> <snip>
>>>    bjam --prefix=/opt/boost --toolset=gcc
link=shared install
>>>
>>
>> I also tried this with the same result/error.
>> I would fix the bjam-linker stuff by myself - I
only need a hint in
>> which config file I need to insert the HP-linker
options.
>> tutorial on boost.org about bjam v2 doesn't help
:((
>>
>> Oliver
>>
> Oliver -
>
> You can find the jam file for GCC in
tools/build/v2/tools/gcc.jam
>
> I wish I could be of more help. If you execute bjam
with "-d 2" you
> will get to see the commands that are being processed.
That will be
> helpful in seeing what the linker is getting told to
do.
>
>   bjam -d 2 --prefix=/opt/boost --toolset=gcc
link=shared install
>
>
> Best Regards -
>
> michael
>
>
>
> -- 
>
> ----------------------------------
> Michael Caisse
> Object Modeling Designs
> www.objectmodelingdesigns.com
>
>
> _______________________________________________
> Unsubscribe & other changes: 
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
> 


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )