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: building bleeding-edge sh3eb toolchain with sanitized headers



[...]


- install sanitized headers in build directory where kernel source
 would normally go, and:

 symlink "asm" -> "asm-sh"
 copy in "asm-sh/ubc.h" from 2.6.11.2 regular source tree
 symlink "cpu" -> "cpu-sh3"

The "copy-in" step from regular source tree is a definite ouch. Do you have any clue as to why it is missing from the linux-libc headers? You might want to file a bug report against linux-libc-headers for it, I'm not sure how much attention sh3 gets...


I posted a patch for crosstool a few days ago which effectively does the steps you described above, do you think it is worth it if we would extend that patch to create the cpu->cpu-sh{2,3,4} link too? I'm a little hesitant myself, because we would be redoing (part of) the kernel's make prepare, but if that is the only way to get crosstool build a toolchain with sanitized headers for sh3...

Maybe other arches need things like this as well?

Arno


np: The Police - Don't Stand So Close To Me


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