This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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]

[Bug translator/4186] Cross compiling for sub architectures (e.g. i586 target i686 host) fails


------- Additional Comments From wcohen at redhat dot com  2007-03-20 16:56 -------
Yes, I agree entirely. The translate.diff is not a fix for the problem, as
mentioned in the previous comment incorrect code for the target kernel could be
generated.

There are two levels of cross compiling:

1) generating for a subarchecture, e.g. i586 target i686 host
2) cross compiling, e.g. arm target with i686 host

The first is a bit simpler as it uses the host compiler with options to select
the appropriate subarchitecture. The cross compile is more complicated but would
be of interest to developers working on embedded Linux systems, e.g. Nokia N800.

Looking through the spec file for the kernel there is some code in BuildKernel()
that adjusts the build based on the target.




-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4186

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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