www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/23/10:15:49

Message-ID: <39A3D9CE.AC8E7538@maths.unine.ch>
Date: Wed, 23 Aug 2000 16:03:58 +0200
From: Gautier <gautier DOT demontmollin AT maths DOT unine DOT ch>
Organization: Maths - Uni =?iso-8859-1?Q?Neuch=E2tel?=
X-Mailer: Mozilla 4.74 (Macintosh; U; PPC)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How do I customize libc for custom OS?
References: <8nqvcn$9a10a$1 AT ID-33463 DOT news DOT cis DOT dfn DOT de> <39A134C9 DOT 309EBC9C AT maths DOT unine DOT ch> <8nu3ib$9ev2v$1 AT ID-33463 DOT news DOT cis DOT dfn DOT de>
NNTP-Posting-Host: mac13-32.unine.ch
X-Trace: 23 Aug 2000 16:03:58 +0100, mac13-32.unine.ch
Lines: 39
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Tobias Skytte:

> hmm. yes Ada95 definently sounds interresting, but before I download GNAT
> (22 mb on a slooow connection) can you tell me this:

From ftp://ftp.gwu.edu/pub/ada/ez2load/ you can d'load

FILE: djgpp201.zip
FILE: gnat3101.zip
FILE: gnat3102.zip
FILE: gnat3103.zip
FILE: gnat3104.zip
FILE: gw_gnat.zip
(grabbed from install script)

plus install.scr and ginstall.exe . The whole is < 6 * 1.44MB.

> 1) would I still need to modify the libc (since GNAT depends on djgpp) to
> make my OS? or does GNAT not use libc at all?

GNAT uses libc, but it provides the pragma no_run_time that eliminates
the run time system - I've just read it in the GNATList mailing list
http://lyris.seas.gwu.edu/cgi-bin/lyris.pl?enter=gnatlist&text_mode=1
gnatlink has certainly options for replacing libc .

> 2) is Ada95 often used to devellop OS's? is it easier to 'modify' it to work
> with a custom OS than other compilers (like djgpp or FPK etc etc)?

On some embedded systems (e.g. systems you meet in the sky or space) the
OS is all-Ada. It is possible to customise it a lot and in a relative
standard way. You can also program advanced things without allocator/deallocator
(sometimes it is required for robust mini-OSes) since Ada handles complex,
even unconstrained structures just like an integer or a character.

The best is to ask the gurus on GNATList or on news:comp.lang.ada .

HTH
______________________________________________________
Gautier  --  http://members.xoom.com/gdemont/gsoft.htm

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019