Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: ttk@larva.flyingcroc.NO.SPAM.PLEASE.net
Subject: Re: DEC compilers available for Linux?
Date: 26 Sep 2000 01:20:25 GMT	[thread overview]
Message-ID: <8qotkp0vjj@news1.newsguy.com> (raw)
In-Reply-To: 39C7AD53.EEBDBBAC@us.ibm.com

  I thought this might be of interest to some in this newsgroup, 
since you were tossing around sizeof-reporting code:

  http://www.andansbutt.org/ttk/stdtypes/stdtypes101.tar

  It's an application that runs on your host system and generates
an "stdtypes.h" file that defines a bunch of known-sized types 
and other potentially useful system-dependent information.  I use
it quite a lot to generate platform-independent code more easily.

  Adding it to an application distribution can be as easy as 
adding "stdtypes.h" to its Makefile's "all" rule, and then adding
a rule:

stdtypes.h: stdtypes.c
	$(CC) -o stdtypes stdtypes.c $(LIB)
	./stdtypes

(add whatever trimming your Makefile needs, of course)

  -- TTK
-- 
"Live and Learn; Die and Learn Faster"
(motto of the Lynbrook Historical Simulations club)
Technical and RKBA documents at: http://larva.flyingcroc.net/~ttk/


  reply	other threads:[~2000-09-26  1:20 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-18  4:00 DEC compilers available for Linux? darcher8987
2000-09-18  4:00 ` Greg Lindahl
2000-09-18  4:00 ` Serguei Patchkovskii
2000-09-19  0:42   ` W Bauske
2000-09-18  4:00 ` Hack
2000-09-19  4:00   ` RL Griswold
2000-09-26  1:20     ` ttk [this message]
2000-09-19  4:00   ` Robert Harley
2000-09-19  6:12   ` Takeyasu Wakabayashi
2000-09-19  4:00     ` Warner Bruns
2000-09-19  4:00       ` Takeyasu Wakabayashi
2000-09-19  4:00         ` Tony Hammitt
2000-09-19  6:15     ` Takeyasu Wakabayashi
2000-09-19  4:00       ` Nick Ntarmos
2000-09-19  4:00         ` Takeyasu Wakabayashi
2000-09-24  4:00 ` Don Baker
2000-09-24  4:00   ` Rob Komar
2000-09-26  4:00     ` Don Baker
2000-09-26  4:00       ` Serguei Patchkovskii
2000-10-17  4:00     ` jdonsbach
2000-09-24  4:00   ` Serguei Patchkovskii
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox