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]
Other format: [Raw text]

Re: backtrace & win32


On 2 Feb 2004 at 14:28, Johannes Prix wrote:

> This might be newbie-ish but that's my status:)  Is it
> technically possible to use the backtrace() and
> backtrace_symbols() libc function when cross-compiling a win32
> executable under Linux?  It seems to me the "execinfo.h" (and
> others) are not found in my installation.  Is this supported at
> all?

 My not so new MinGW headers didn't include the "execinfo.h" header,
neither the old Win32SDK headers I have from 1999...

 Where these libc functions should be?  In MSVCRT.DLL version 6.x
or where?  The MinGW port uses the general MSVCRT.DLL functions
(maybe as it was in the version 4.x) and has import libs for its 
functions and headers to describe them.

 You have better to ask this on some Win32 related maillist. If you
use MinGW, please ask this on the MinGW-list. If MinGW supports
the functions now, they are supported. This issue has nothing to do
with your Linux development host, if these things are supported in
MinGW on Windoze, they are supported on any cross hosts too
because all toolchains should use the same headers and libs and
all toolchains should be updated from the same new MinGW runtime
and w32api packages when they will appear.

Cheers, Kai


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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