Re: freebsd gcc cross compiler creates binaries that crash when using c++ exceptions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/12/2012 06:55 PM, Markus Henschel wrote:
> Is there some flaw in the way I built this toolchain? Where could I try to start looking for the source of the problem? I can add all sorts of other outputs from the created toolchains if it helps.

I wouldn't put the installed compiler (i.e. the prefix=) into the
same directory as the sysroot.  The sysroot should be a clean &
pristine copy of the root directories on your target.  It isn't
written to, only read from.  Once you have done your make install
you should have a set of target libraries that work in your
prefix/lib.

You can't mix the c++ and libgcc libraries you just built with the
versions on your target system.  It should be possible to install
the newly-created ones side by side with the versions on your target
system.

If that still doesn't work, time to start gdb.

Andrew.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux