public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc-3.0
@ 2001-07-03  8:50 Chernoguz, Inessa
  0 siblings, 0 replies; 3+ messages in thread
From: Chernoguz, Inessa @ 2001-07-03  8:50 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'

Hi All,

I have a question about build of gcc-3.0.
I built this version of compiler on HP_UX10.20. It work fine also for
HP_UX10.20 and also for HP_UX11.
I tried to build same version on HP_UX11 (native) and get compilation error
( declaration of function "pow"). I fixed source and compiled gcc, but it
doesn't work 100%.
I have example that failed with  compiler built on HP_UX11 and passed with
compiler that was build on HP_UX10.20.

 Can you help me with this build?

Thanks,
Inessa

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc-3.0
  2001-07-01  5:58 gcc-3.0 Chernoguz, Inessa
@ 2001-07-01  6:46 ` Alexandre Oliva
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2001-07-01  6:46 UTC (permalink / raw)
  To: Chernoguz, Inessa; +Cc: 'gcc-help@gcc.gnu.org'

On Jul  1, 2001, "Chernoguz, Inessa" <inessa.chernoguz@intel.com> wrote:

> I built gcc-3.0 on Hp10.20. When I tried to compile a simple example:

Since this is C++, use g++ to link, or explicitly link libstdc++ in.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 3+ messages in thread

* gcc-3.0
@ 2001-07-01  5:58 Chernoguz, Inessa
  2001-07-01  6:46 ` gcc-3.0 Alexandre Oliva
  0 siblings, 1 reply; 3+ messages in thread
From: Chernoguz, Inessa @ 2001-07-01  5:58 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'; +Cc: Chernoguz, Inessa

Hi All,

I built gcc-3.0 on Hp10.20. When I tried to compile a simple example:
#include <math.h>
#include <iostream.h>

int main()
{
double x=2.0 ,y=5;
int i = 3;
//y = pow(x,i);
cout << "y = " << y << endl;
return 0;
}

I get errors:

/usr/ccs/bin/ld: Unsatisfied symbols:
   std::cout (data)
   vtable for __cxxabiv1::__class_type_info(data)
   std::ios_base::Init::Init()(code)
   std::_Format_cache<char>::_Format_cache()(code)
   __gxx_personality_sj0 (code)
   __cxa_end_catch (code)
   std::locale::locale(std::locale const&)(code)
   std::ios_base::register_callback(void (*)(std::ios_base::event,
std::ios_base&, int), int)(code)
   std::__default_alloc_template<true, 0>::_S_end_free     (data)
   std::string::_Rep::_S_max_size(data)
   std::__malloc_alloc_template<0>::__malloc_alloc_oom_handler       (data)
   __cxa_begin_catch (code)
   std::ios_base::Init::~Init()(code)
   std::locale::~locale()(code)
   __cxa_call_unexpected (code)
   operator delete(void*)(code)
   std::ios_base::_M_grow_words(int)(code)
   __cxa_rethrow (code)
   std::uncaught_exception() (code)
   std::__default_alloc_template<true, 0>::_S_node_allocator_lock     (data)
   operator new(unsigned)(code)
   std::__throw_bad_cast() (code)
   std::ios_base::xalloc() (code)
   std::__throw_length_error(char const*)(code)
   std::__default_alloc_template<true, 0>::_S_start_free     (data)
   std::__throw_ios_failure(char const*)(code)
   std::__throw_bad_alloc() (code)
   std::__default_alloc_template<true, 0>::_S_heap_size     (data)
   std::__default_alloc_template<true, 0>::_S_free_list     (data)
collect2: ld returned 1 exit status

Maybe you can help me.

Thanks,
Inessa

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-03  8:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-03  8:50 gcc-3.0 Chernoguz, Inessa
  -- strict thread matches above, loose matches on Subject: below --
2001-07-01  5:58 gcc-3.0 Chernoguz, Inessa
2001-07-01  6:46 ` gcc-3.0 Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).