This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Object equivalence using gcc on different hosts ??


Hi everybody,

I've got a question concerning gcc as a cross-compiler for the same
TARGET platform but compiling on different HOST-platforms. (2 gcc's !)

In this special case the first platform is a NT- Host and the second is
a SOLARIS-Host. One can assume that the system headers are
equivalent for both host platforms (but maybe CR <--> CR/LF difference).

1.)
===
If the version of gcc is the same on both host platforms,
does it produce the same output (binary-equivalent) on
different host platforms if you always use the same source and
header files and do NOT turn on debugging informations ??

- a.) If not, where and what are the differences ??

2.)
===
If you turn on debugging information with '-g', the output will be
different because of different source file paths. That's clear.

But:
- a.) what is the result when debugging a target image with a different
host environment than the one compiled ??


Thanks in advance,

Daniel Schnell.


------
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]