Problems with the debug information and C++
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jan 22 13:54:16 UTC 2009
Ralf Corsepius wrote:
> Without having looked into details, some random comments interspersed:
>
> Sebastian Huber wrote:
>> Hi,
>
>> Command line:
>>
>> powerpc-rtems4.10-gcc test.cpp -lstdc++ && objdump -W a.out > /dev/null
>
> This compiler call is invalid.
>
> You _must_ use *-g++ to link c++ code - It would be a random accident,
> should this example work.
Changed it to:
powerpc-rtems4.8-g++ test.cpp && objdump -W a.out > /dev/null
powerpc-rtems4.9-g++ test.cpp && objdump -W a.out > /dev/null
powerpc-rtems4.10-g++ test.cpp && objdump -W a.out > /dev/null
Output is the same.
[...]
--
Sebastian Huber, Embedded Brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list