This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi All,
I've built the arm-elf tool chain with the following
gcc 3.0.2 release
binutil 2.11.92.0.7
newlib-1.9.0
When I build the following C++ program I get undefined reference to
_gxx_personality_sj0
file t.hpp
class foo
{
public:
foo(void);
~foo(void);
void test(void);
}
file t.cpp
#include "t.hpp"
foo::foo(void)
{;}
foo::~foo(void)
{;}
void foo::test(void)
{;}
file tt.cpp
#include "t.hpp"
int main(void)
{
foo k;
while(1)
k.test();
}
If all the files listed are place in the same source file I don't get the
undefined reference to _gxx_personality_sj0.
Any suggestions?
Thanks
Richard Slaughter
rslaughter@anatel.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |