Summary: | crossdev fails to compile gcc for mips (because of gcj) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tiago Freire <tiago.freire> |
Component: | [OLD] Development | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | geoman |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
crossdev log
crossdev log (gcc stage2) |
Description
Tiago Freire
2005-04-15 15:53:17 UTC
Created attachment 56387 [details]
crossdev log
Created attachment 56388 [details]
crossdev log (gcc stage2)
Did you look at your error? The problem is because gcc is trying to link against a non-existent cross-gtk+ lib that wouldn't work anyway even if it was there (since it would be a mips gtk+). You are going to have to change your USE to "-gtk" at the very minimum, and really you should do "-gtk -gcj -objc" and perhaps "-fortran" too. These are pretty much completely unneccessary for cross-compiling for a wrt54g anyway. On another note, your CFLAGS are completely excessive and are likely to get compile bugs from you invalidated (not that crossdev uses them anyway). Oh, and one more thing that I didn't catch in my first comment (sorry for the emails everyone), you are using the wrong CHOST for the wrt54g(s). These machines are little endian, yet you are building a toolchain for big endian machines. Your CHOST should be mipsel-unknown-linux-uclibc instead. drop the USE=gcj and it should work fine i think |