This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-win-x-ppc/powerpc-wrs-vxworks/mrtp/libgcc Makefile error
- From: Nex <nex at trash-mail dot com>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Mar 2011 22:33:49 -0700 (PDT)
- Subject: Re: gcc-win-x-ppc/powerpc-wrs-vxworks/mrtp/libgcc Makefile error
- References: <31267661.post@talk.nabble.com>
--> error
In file included from
/usr/share/tools/gcc-win-x-ppc/target/usr/h/types/vxTypesOld.h:126:0,
from
/usr/share/tools/gcc-win-x-ppc/target/usr/h/vxWorksCommon.h:225,
from
/usr/share/tools/gcc-win-x-ppc/target/usr/h/vxWorks.h:35,
from
/usr/share/tools/gcc-win-x-ppc/target/usr/h/semLib.h:27,
from
../../../../../source/gcc-4.5.2/libgcc/../gcc/gthr-vxworks.h:51,
from ../../.././gcc/gthr-default.h:1,
from
../../../../../source/gcc-4.5.2/libgcc/../gcc/gthr.h:162,
from
../../../../../source/gcc-4.5.2/libgcc/../gcc/config/vxlib.c:30:
/usr/share/tools/gcc-win-x-ppc/target/usr/h/base/e_vxTypesOld.h:144:1:
warning: function declaration isn't a prototype
/usr/share/tools/gcc-win-x-ppc/target/usr/h/base/e_vxTypesOld.h:153:1:
warning: function declaration isn't a prototype
/usr/share/tools/gcc-win-x-ppc/target/usr/h/base/e_vxTypesOld.h:162:1:
warning: function declaration isn't a prototype
/usr/share/tools/gcc-win-x-ppc/target/usr/h/base/e_vxTypesOld.h:171:1:
warning: function declaration isn't a prototype
../../../../../source/gcc-4.5.2/libgcc/../gcc/config/vxlib.c:35:19: fatal
error: vxLib.h: No such file or directory
----
I think the basic makefile command looks like this
-I `case "/mrtp" in */mrtp*) echo $WIND_USR/h ;; *) echo $WIND_BASE/target/h
;; esac`
--
vxLib.h is in $WIND_BASE/target/h not in $WIND_USR/h
A Solution would be : including -I $WIND_USR/h and -I $WIND_BASE/target/h
cause you need both includefolders !
--
View this message in context: http://old.nabble.com/gcc-win-x-ppc-powerpc-wrs-vxworks-mrtp-libgcc-Makefile-error-tp31267661p31273935.html
Sent from the gcc - bugs mailing list archive at Nabble.com.