Building a cross-compiler on host PC-cygwin for target m68k-coff.
David Korn
dkorn@pixelpower.com
Thu May 3 03:11:00 GMT 2001
>-----Original Message-----
>From: Johansson Mikael [ mailto:mikael.mj.johansson@volvo.com ]
>Sent: 03 May 2001 08:11
>As you know I'm trying to build a cross-compiler for target
>m68k-coff on my PC.
>I have a cygwin environment wich is working.
>First I get a warning "conlicting types for built in function
>'memcpy' ".
Don't worry about it; it's just a warning and in this case it is OK.
>Then comes "Testing libgcc1. Ignore linker warning messages".
>This is followed by a lot of seekways I think and ended with:
>./cpp.texi: No such file or directory
>make[1]: *** [cpp.info] Error 2
>make: *** [all-gcc] Error 2
This is a known (but not much documented) problem with building Gcc under
cygwin. The problem is to do with the version of texinfo that comes with
the gcc source archive, which isn't properly cygwin compatible. To solve
the problem, you have to do two things:
1) In the gcc-2.95.3 source directory, rename or delete the texinfo
directory so it won't be found. I generally rename it to 'old.texinfo'.
2) When you configure Gcc, you must add the option --with-included-gettext
This will solve the problem. Alternatively if you don't care to have the
.info documentation files (but I suggest this is a very bad idea) you could
just cd into the gcc-2.95.3/gcc directory and type
touch cpp.info gcc.info
then return to your build directory and do your make command again; it will
carry on from where the error occurred, but you won't have any .info files
(and when you do make install, it will overwrite any .info file you used to
have with the empty version, so it isn't a proper solution).
DaveK
--
All your base are belong to the Israeli army! Oh, now they aren't again!
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list