Unix Technical Forum

core dump deploying a gcc application

This is a discussion on core dump deploying a gcc application within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hi, I'm not sure if this should be in a gcc group or HPUX so I'm trying here first. ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 07:24 PM
Peter Smithson
 
Posts: n/a
Default core dump deploying a gcc application

Hi,

I'm not sure if this should be in a gcc group or HPUX so I'm trying
here first.

I compile a simple test program with gcc 3.3.2 on our HPUX 11.00
system. When I put this on our HPUX 11.11 system and copy libstdc++.sl
on to it (since this other machine doesn't have gcc installed). I get
a core dump. Both machines are 32 bit PA-RISC.

This worked previously with version 2.96 of gcc.

Is copying libstdc++.sl all I have to do in order to run gcc programs
on another machine?

I'm just using default options -

g++ Z.cpp

I did have to do a "chatr +s enable Z" on the target machine so that it
didn't look in /opt/gcc/lib for libstdc++.sl.

I'm going to post the code to a C++ group to see if I was just being
lucky before.

Thanks.

Peter

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 07:25 PM
nospam@example.com
 
Posts: n/a
Default Re: core dump deploying a gcc application

>Is copying libstdc++.sl all I have to do in order to run gcc programs
>on another machine?


There is also libgcc_s.sl. (or back in 3.3.* it might be libgcc.sl)

You can use "chatr <file>" to see what dynamic libraries an executable
needs in order to run.

Steve Ellcey
sje <AT> cup . hp . com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:50 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com