HP3000-L Archives

March 2002, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Sun, 31 Mar 2002 17:05:24 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
>Nope. It is not a standard define in either compiler.

Hmmm. Maybe it's just because I still use a pre-3.0 gcc here?

shell/iX> uname -sr
MPE/iX  C.70.00

shell/iX> gcc --version
2.95.2

shell/iX> cat hmpf.c

#include <stdio.h>

main() {
#ifdef mpeix
  printf("have mpeix\n");
#else
  printf("dont have mpeix\n");
#endif
}

shell/iX> gcc -o hmpf-gcc hmpf.c
shell/iX> c89 -o hmpf-c89 hmpf.c

shell/iX> ./hmpf-gcc
have mpeix

shell/iX> ./hmpf-c89
dont have mpeix

(result for CCXL from CI is similar to result of c89 from Shell)

Lars.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2