public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* compiling old compilers
@ 2006-04-28 21:47 Richard Bonomo
  0 siblings, 0 replies; only message in thread
From: Richard Bonomo @ 2006-04-28 21:47 UTC (permalink / raw)
  To: gcc-help; +Cc: Richard Bonomo

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1549 bytes --]


Hello!
I have a Fedora Core 4 box with gcc-4.0.1
installed.

I need to be able to recompile some old
specialized software which was previously
compiled using a cross-compiler on an
IRIX system, and was also semi-successfully
cross compiled on a Red Hat Linux 6 system.
(It created an exectuable, but it was not
a byte-match with the older one.)

Right now I am trying to do this on
the aforementioned Fedora Core 4 system.

For the moment, I am trying to employ
the same compiler that was used
on the RHL system (gcc-1.40).

If find that if I try to compile gcc-1.40
in a "stand alone" directory, it apparently
still tries to reach include files in /usr/include,
which are no doubt the wrong versions and cause problems,
such as:

gcc.c:1884: warning: incompatible implicit declaration of built-in 
function â
gcc.c: In function â:
gcc.c:1899: warning: incompatible implicit declaration of built-in 
function â
gcc.c: In function â:
gcc.c:1908: error: conflicting types for â
/usr/include/bits/sys_errlist.h:28: error: previous declaration of â was 
here
gcc.c: In function â:


Is there any way of compiling gcc-1.40 such that
it only references its own files, and not those
"native" to the current system?

Thanks!

Rich

-- 
************************************************
Richard Bonomo
UW Space Astronomy Laboratory
ph: (608) 263-4683 telefacsimile: (608) 263-0361
SAL-related email: bonomo@sal.wisc.edu
all other email: bonomo@ece.wisc.edu
web page URL: http://www.cae.wisc.edu/~bonomo
************************************************

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-28 21:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-28 21:47 compiling old compilers Richard Bonomo

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).