This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Built egcs-1.1.1 for unlisted platform



Hi,
	I just built egcs for a platform not currently listed at the
buildstat.html page.  It's probably not a lot different, functionally, from
some of the others, but I did have to modify something in the source to get it
to work.

Platform: i586-pc-linux-gnu
Modifications:
	Edit <srcdir>/gcc/collect2.c.  As it turns out, I think you need to put
in an additional condition regarding newer header files (kern 2.2.1) on Linux
PC's and char *sys_siglist[].  I got errors about sys_siglist[] already being
declared in other kernel headers, and so I just commented it out and it worked
fine.

	# diff collect2.c collect2.c.ORIG
	191c191
	< /* extern char *sys_siglist[]; */
	---
	> extern char *sys_siglist[];

With that trivial modification, everything compiled.  I then ran the test suite
and got some errors (which I don't know how to interpret just yet), however
after doing a full install and recompiling my kernel with it, I had no
problems.

	Hope this helps someone.
Tom


-- 
Tom Kunz
Systems Programmer                         tkunz@hardees.rutgers.edu
http://hardees.rutgers.edu/~tkunz/               Phone: 732-445-5687
PGP Fingerprint:    14 52 1F 99 E2 BB 63 2E  6E AE 2D F0 EF 11 4D FC