Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Glenn Engel
Wed, 09 Nov 1988 06:11
another hp-ux crt0+ fix
Author: Glenn Engel
Date: Wed, 09 Nov 1988 06:11
Date: Wed, 09 Nov 1988 06:11
40 lines
1412 bytes
1412 bytes
Here's another patch for g++ crt0.c. This is applied to version 1.25.1.
A call to _cleanup is needed to flush and close open files.
Also, with the advent of ATT C++ 2.0 on the scene, include files in
/usr/include/CC are no longer compatible with g++ due to the
extern "C" declarations. If the next release of g++ does not yet
implement this feature I suggest that /usr/include/CC be the LAST
directory in the search path for cpp rather than the second path.
This would allow definitions to be picked up from gcc-include before
CC includes.
--
| Glenn R. Engel
| Hewlett-Packard
| (206) 335-2066
| glenne%hplsla@hplabs.hp.com
*** crt0.c.orig Tue Nov 8 08:00:43 1988
--- crt0.c Tue Nov 8 08:35:02 1988
***************
*** 676,681
int status;
{
__do_global_cleanup ();
_exit (status);
}
#endif
--- 676,684 -----
int status;
{
__do_global_cleanup ();
+ #ifdef hp9000s300
+ _cleanup();
+ #endif
_exit (status);
}
#endif
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads