mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
gcc: remove g77/f77
g77/f77 has been removed from gcc 4.0.0 via commit:
* b4117c30610 Makefile.def, [...]: Remove all mention of libf2c.
When set
FORTRAN = ",f77"
it complains with error:
| The following requested languages could not be built: f77
| Supported languages are: c,c,c++,fortran,go,lto,m2,objc,obj-c++
So remove g77/f77 from gcc recipes.
[1]: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b4117c30610
(From OE-Core rev: 6469c6a00066af24c87ec5dd7994ebbc610c3782)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -43,7 +43,7 @@ RUNTIMELIBSSP ?= ""
|
||||
RUNTIMELIBSSP:mingw32 ?= "libssp"
|
||||
|
||||
RUNTIMETARGET = "${RUNTIMELIBSSP} libstdc++-v3 libgomp libatomic ${RUNTIMELIBITM} \
|
||||
${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'libquadmath', '', d)} \
|
||||
${@bb.utils.contains('FORTRAN', ',fortran', 'libquadmath', '', d)} \
|
||||
"
|
||||
# Only build libstdc++ for newlib
|
||||
RUNTIMETARGET:libc-newlib = "libstdc++-v3"
|
||||
@@ -164,8 +164,6 @@ PACKAGES = "\
|
||||
libstdc++-precompile-dev \
|
||||
libstdc++-dev \
|
||||
libstdc++-staticdev \
|
||||
libg2c \
|
||||
libg2c-dev \
|
||||
libssp \
|
||||
libssp-dev \
|
||||
libssp-staticdev \
|
||||
@@ -196,15 +194,6 @@ FILES:${PN}-dbg += "\
|
||||
# So it needs to be added manually to images sadly.
|
||||
# RDEPENDS:${PN}-dbg += "python3-datetime"
|
||||
|
||||
FILES:libg2c = "${target_libdir}/libg2c.so.*"
|
||||
SUMMARY:libg2c = "Companion runtime library for g77"
|
||||
FILES:libg2c-dev = "\
|
||||
${libdir}/libg2c.so \
|
||||
${libdir}/libg2c.a \
|
||||
${libdir}/libfrtbegin.a \
|
||||
"
|
||||
SUMMARY:libg2c-dev = "Companion runtime library for g77 - development files"
|
||||
|
||||
FILES:libstdc++ = "${libdir}/libstdc++.so.*"
|
||||
SUMMARY:libstdc++ = "GNU standard C++ library"
|
||||
FILES:libstdc++-dev = "\
|
||||
|
||||
Reference in New Issue
Block a user