* Need help cross compiling
@ 2000-03-01 8:33 Chathu Jayakrishnan
2000-03-01 11:35 ` Alexandre Oliva
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Chathu Jayakrishnan @ 2000-03-01 8:33 UTC (permalink / raw)
To: gcc-help
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 819 bytes --]
Hi ,
Â
I am trying to cross compile gcc-2.8.0 for target
m68k-wrs-vxworks
on host i386 running solaris2.7. I have
successfully compiled and
installed binutils 2.9. But gcc building gives the
following error.
Â
Anyhelp in this regard will be
appreciated.
./xgcc -B./ -DCROSS_COMPILE
-DIN_GCC  -g -I./include -I. -I. -I./config \ -c
./objc/hash.c -o objc/hash.o In file included from
./objc/hash.c:31: objc/runtime.h:31: stdio.h: No such file or
directory objc/runtime.h:32: ctype.h: No such file or directory In file
included from
objc/runtime.h:38, Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
from ./objc/hash.c:31: include/objc/objc-api.h:33: stdio.h: No such file or
directory *** Error code 1 make: Fatal error: Command failed for target
`objc/hash.o'
Regards cjk
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need help cross compiling
2000-03-01 8:33 Need help cross compiling Chathu Jayakrishnan
@ 2000-03-01 11:35 ` Alexandre Oliva
2000-04-01 0:00 ` Alexandre Oliva
2000-03-01 11:36 ` Martin v. Loewis
2000-04-01 0:00 ` Chathu Jayakrishnan
2 siblings, 1 reply; 6+ messages in thread
From: Alexandre Oliva @ 2000-03-01 11:35 UTC (permalink / raw)
To: Chathu Jayakrishnan; +Cc: gcc-help
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
On Mar 1, 2000, "Chathu Jayakrishnan" <cjk@rampnet.com> wrote:
> I am trying to cross compile gcc-2.8.0 for target m68k-wrs-vxworks
> on host i386 running solaris2.7. I have successfully compiled and
> installed binutils 2.9. But gcc building gives the following error.
You should probably specify --with-headers=/path/to/vxworks/include or
build it in the same tree as newlib.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Enjoy Guaraná
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need help cross compiling
2000-03-01 8:33 Need help cross compiling Chathu Jayakrishnan
2000-03-01 11:35 ` Alexandre Oliva
@ 2000-03-01 11:36 ` Martin v. Loewis
2000-04-01 0:00 ` Martin v. Loewis
2000-04-01 0:00 ` Chathu Jayakrishnan
2 siblings, 1 reply; 6+ messages in thread
From: Martin v. Loewis @ 2000-03-01 11:36 UTC (permalink / raw)
To: cjk; +Cc: gcc-help
> I am trying to cross compile gcc-2.8.0 for target m68k-wrs-vxworks=20
> on host i386 running solaris2.7. I have successfully compiled and
> installed binutils 2.9. But gcc building gives the following error.
>
> Anyhelp in this regard will be appreciated.
To build a working cross-compiler, you need header files and libraries
for the target as well; see the GCC installation manual for
details. In the specific case, the Objective C library needs <stdio.h>
of the target system, and could not find it - most likely because it
is not there.
If you don't have stdio.h for the target system, you probably cannot
build the Objective C library. Perhaps you don't need the Objective C
compiler - in that case, I'd recommend not to build it. You can
specify the languages to build with the --enable-languages configure
option.
Hope this helps,
Martin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Need help cross compiling
2000-03-01 8:33 Need help cross compiling Chathu Jayakrishnan
2000-03-01 11:35 ` Alexandre Oliva
2000-03-01 11:36 ` Martin v. Loewis
@ 2000-04-01 0:00 ` Chathu Jayakrishnan
2 siblings, 0 replies; 6+ messages in thread
From: Chathu Jayakrishnan @ 2000-04-01 0:00 UTC (permalink / raw)
To: gcc-help
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 819 bytes --]
Hi ,
Â
I am trying to cross compile gcc-2.8.0 for target
m68k-wrs-vxworks
on host i386 running solaris2.7. I have
successfully compiled and
installed binutils 2.9. But gcc building gives the
following error.
Â
Anyhelp in this regard will be
appreciated.
./xgcc -B./ -DCROSS_COMPILE
-DIN_GCC  -g -I./include -I. -I. -I./config \ -c
./objc/hash.c -o objc/hash.o In file included from
./objc/hash.c:31: objc/runtime.h:31: stdio.h: No such file or
directory objc/runtime.h:32: ctype.h: No such file or directory In file
included from
objc/runtime.h:38, Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
from ./objc/hash.c:31: include/objc/objc-api.h:33: stdio.h: No such file or
directory *** Error code 1 make: Fatal error: Command failed for target
`objc/hash.o'
Regards cjk
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need help cross compiling
2000-03-01 11:36 ` Martin v. Loewis
@ 2000-04-01 0:00 ` Martin v. Loewis
0 siblings, 0 replies; 6+ messages in thread
From: Martin v. Loewis @ 2000-04-01 0:00 UTC (permalink / raw)
To: cjk; +Cc: gcc-help
> I am trying to cross compile gcc-2.8.0 for target m68k-wrs-vxworks=20
> on host i386 running solaris2.7. I have successfully compiled and
> installed binutils 2.9. But gcc building gives the following error.
>
> Anyhelp in this regard will be appreciated.
To build a working cross-compiler, you need header files and libraries
for the target as well; see the GCC installation manual for
details. In the specific case, the Objective C library needs <stdio.h>
of the target system, and could not find it - most likely because it
is not there.
If you don't have stdio.h for the target system, you probably cannot
build the Objective C library. Perhaps you don't need the Objective C
compiler - in that case, I'd recommend not to build it. You can
specify the languages to build with the --enable-languages configure
option.
Hope this helps,
Martin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need help cross compiling
2000-03-01 11:35 ` Alexandre Oliva
@ 2000-04-01 0:00 ` Alexandre Oliva
0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Oliva @ 2000-04-01 0:00 UTC (permalink / raw)
To: Chathu Jayakrishnan; +Cc: gcc-help
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
On Mar 1, 2000, "Chathu Jayakrishnan" <cjk@rampnet.com> wrote:
> I am trying to cross compile gcc-2.8.0 for target m68k-wrs-vxworks
> on host i386 running solaris2.7. I have successfully compiled and
> installed binutils 2.9. But gcc building gives the following error.
You should probably specify --with-headers=/path/to/vxworks/include or
build it in the same tree as newlib.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Enjoy Guaraná
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-04-01 0:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-01 8:33 Need help cross compiling Chathu Jayakrishnan
2000-03-01 11:35 ` Alexandre Oliva
2000-04-01 0:00 ` Alexandre Oliva
2000-03-01 11:36 ` Martin v. Loewis
2000-04-01 0:00 ` Martin v. Loewis
2000-04-01 0:00 ` Chathu Jayakrishnan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).