www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/29/16:34:50

Date: 29 Feb 96 16:20:58 EST
From: Fulco Bohle <100662 DOT 3563 AT compuserve DOT com>
To: Delorie <djgpp AT delorie DOT com>
Subject: rebuild of compiler
Message-ID: <960229212057_100662.3563_EHV42-1@CompuServe.COM>

Hello DJ,

Can you tell me how to recompile the djgpp V2 c-compiler.
My goal is to obtain a c-compiler with the following properties:

1)	sizeof( short) = 16 bits
2)	sizeof( int) = 16 bits
3)	sizeof( long) = 32 bits
4)	#pragma pack(2) is default

If you read the gcc manual it mentions an include file machine.h where you can
put definitions like

#define HOST_BITS_PER_INT	16
#define BITS_PER_UNIT		8
#define BITS_PER_WORD		16
#define MAX_BITS_PER_WORD	16
#define UNITS_PER_WORD		2

etc.

Where goes the machine.h include file ?
which batch starts the rebuild ?

Can you mail me directly !

Thanks 
Fulco Bohle.

- Raw text -


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