public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* toplev.c
@ 1998-01-15 16:30 Jakub Jelinek
  1998-01-17  1:40 ` toplev.c Andreas Schwab
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jakub Jelinek @ 1998-01-15 16:30 UTC (permalink / raw)
  To: egcs

Hi!

In toplev.c I read:

#ifdef __alpha
extern char *sbrk ();
#endif

Now, this prototype is needed not only for alpha, but for all 64bit
platforms which have sizeof(void *) > sizeof(int).

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
Ultralinux - first 64bit OS to take full power of the UltraSparc
Linux version 2.1.77 on a sparc64 machine (333.41 BogoMips).
___________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: toplev.c
@ 1998-01-19  2:06 Kaveh R. Ghazi
  1998-01-19  9:41 ` toplev.c Richard Henderson
  0 siblings, 1 reply; 8+ messages in thread
From: Kaveh R. Ghazi @ 1998-01-19  2:06 UTC (permalink / raw)
  To: jj, schwab; +Cc: egcs

 > From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
 > 
 > Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz> writes:
 > 
 > |> Hi!
 > |> In toplev.c I read:
 > 
 > |> #ifdef __alpha
 > |> extern char *sbrk ();
 > |> #endif
 > 
 > |> Now, this prototype is needed not only for alpha, but for all 64bit
 > |> platforms which have sizeof(void *) > sizeof(int).
 > 
 > Actually every platform would benefit from it, unless there is a conflict
 > with some broken header.
 > -- 
 > Andreas Schwab                                      "And now for something

	You can add GCC_NEED_DECLARATION(sbrk) to configure.in and put
#ifdef NEED_DECLARATION_SBRK wrapper around the extern decl. 

		--Kaveh
--
Kaveh R. Ghazi			Project Manager / Custom Development
ghazi@caip.rutgers.edu		ICon CMT Corp.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1998-01-20  7:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-15 16:30 toplev.c Jakub Jelinek
1998-01-17  1:40 ` toplev.c Andreas Schwab
1998-01-17 22:30 ` toplev.c Jeffrey A Law
1998-01-19  2:25   ` toplev.c Robert Lipe
1998-01-20  2:21     ` toplev.c Klaus Kaempf
1998-01-20  7:07 ` toplev.c Jeffrey A Law
1998-01-19  2:06 toplev.c Kaveh R. Ghazi
1998-01-19  9:41 ` toplev.c Richard Henderson

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