The configure scripts under src/gcc and src/gcc-4.4.0 incorrectly use ${target} when trying to locate libgmp and libmpfr on freebsd hosts. I moved the check to a different case which checks ${host} instead. Patch attached, it was made against r1444.
cheers,
mitch
configure scripts patched for freebsd hosts
Two remarks :
- the real fix is not to configure but to configure.ac
- this should be reported to the gcc bugzilla, it's not cegcc specific. I'll make the change to cegcc too if you get approval from the gcc folks.
Thanks for your bug report!
To ease maintenance of the project, we are migrating bug tracking facilities to Trac. We would appreciate if you re-posted this bug on Trac via https://sourceforge.net/apps/trac/cegcc/newticket . Please include link to this bug for reference.