This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada PATCH] Fix bootstrap for NetBSD


Ada fails to build on NetBSD (both trunk and the 4.2 branch) as it tries
to use the clearenv function that is not present on NetBSD.  The patch
attached patch fix this.

Bootstrapped an tested on i386-unknown-netbsdelf3.1.

OK to commit on trunk and the 4.2 branch?

/Krister


2007-06-30 Krister Walfridsson <cato@df.lth.se>


	* env.c ( __gnat_clearenv): Use the __gnat_unsetenv mechanism for
	NetBSD.

Attachment: env.c.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]