This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with exceptions on arm


Martin Guy wrote:
> On 4/1/08, Henrik Grindal Bakken <hgb@ifi.uio.no> wrote:
>> Henrik Grindal Bakken <hgb@ifi.uio.no> writes:
>>
>>  > Fails like this:
>>  > $ /tmp/fnord
>>  > terminate called after throwing an instance of 'char*'
>>  > terminate called recursively
>>  > Aborted
> 
>>  dynamic linking fails.
> 
> martin@n2100:~$ g++ fnord.cpp
> martin@n2100:~$ ./a.out
> I caught hello
> martin@n2100:~$ file a.out
> a.out: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux
> 2.6.14, dynamically linked (uses shared libs), not stripped
> 
> Do you mean when you import your cross-compiled .o's to it and link then there?

Is there something weird going on here, like different libraries
in x-host and target?

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]