+------------------------------------------------------------------------------
| On Monday, Oct 31, 2005 at 10:38:32AM +0100, Chris B. Vetter wrote:
| 
| To: [EMAIL PROTECTED]
| Cc: 
| From: "Chris B. Vetter" <[EMAIL PROTECTED]>
| Date: Mon, 31 Oct 2005 10:38:32 +0100
| Subject: Re: Distinguish between platforms with defs
| 
| On 10/30/05, Adam Fedor <[EMAIL PROTECTED]> wrote:
| > On Oct 29, 2005, at 3:04 PM, Andreas H?schler wrote:
| > > I know about __APPLE__ and WIN32, but how can I say that I am on a
| > > Solaris machine?
| > You can run this script to see what gcc defines on various platforms.
| [...]
| > #!/bin/sh
| > for def in `gcc -E -v - </dev/null 2>&1 | grep [-]$`; do
| >    case $def in -D*) echo $def;; esac
| > done
| 
| Interesting....
| 
|   chuck:cbv :0> sh check.sh
|   -D_LONGLONG
|   chuck:cbv :0>

freebsd ;)

| 
| Now that wouldn't be very helpful, would it?
| 
| --
| Chris
| 
| 
| _______________________________________________
| Discuss-gnustep mailing list
| [email protected]
| http://lists.gnu.org/mailman/listinfo/discuss-gnustep

-- 


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to