public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Cygwin Gcc Compatibility with gcc on other platforms ??
@ 1999-07-29 14:04 N8TM
  1999-07-29 14:20 ` gcc build error--configuration problem? Josh Baudhuin
  1999-07-31 18:34 ` Cygwin Gcc Compatibility with gcc on other platforms ?? N8TM
  0 siblings, 2 replies; 10+ messages in thread
From: N8TM @ 1999-07-29 14:04 UTC (permalink / raw)
  To: raman_bakshi, cygwin

In a message dated 99-07-29 16:53:22 EDT, raman_bakshi@yahoo.com writes:

<< if i write and compile code
 using cygwin gcc (ANSI C code), will that code
 compile (not execute, thats another thing dependent
 on cpu etc) on platforms like linux etc where the GNU
 gcc compiler is available ? >>
Yes, if you truly restrict yourself to ANSI C and don't depend on libraries 
and non-ANSI include files which invariably differ from cygwin.  The cygwin 
developers have done an amazing job of making cygwin into a standard gnu 
compiler host, so you get excellent cross-platform compatibility.  This goal 
fortunately appears to be kept in mind by most of those who are working at 
the same time to get more Windoze compatibility.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: gcc build error--configuration problem?
@ 1999-07-29 15:40 Earnie Boyd
  1999-07-31 18:34 ` Earnie Boyd
  0 siblings, 1 reply; 10+ messages in thread
From: Earnie Boyd @ 1999-07-29 15:40 UTC (permalink / raw)
  To: cygwin

--- Mumit Khan <khan@xraylith.wisc.EDU> wrote:
> "Josh Baudhuin" <joshb@Cadence.COM> writes:
-8<-
> > gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O -c rcs.c
> > rcs.c: In function `apply_rcs_changes':
> > rcs.c:6994: parse error before `('
> > make[1]: *** [rcs.o] Error 1
> > make: *** [all] Error 1
> > 
> [ ... ]
> 
> > 
> > Seems like there must be a macro in there for ADD or DELETE. Is the
> > configuration wrong? Do I need to do more to set up the build environment
> > than the simple install of full.exe? [Doesn't seem to be a CDK install
> > anymore.]
> > 
> 
> The windows32api headers define a DELETE macro, which is obviously not
> what RCS expects.
> 
> You may need to insert a #undef DELETE after the appropriate to nullify
> the windows one and use RCS one.
> 
> Damn these namespace polluting macros in system headers.
> 
> My preference of course is to change the RCS macros/enums to use RCS_
> prefix and be done with it.

Yep.  Exactly what I did when I built it.  I might add that I've not had any
problems using it with text files.  I haven't had the need for binary files so
I can't say what will happen if you use the -b switch.  It appears to be coded
for it though.
===
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1999-07-31 18:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-29 14:04 Cygwin Gcc Compatibility with gcc on other platforms ?? N8TM
1999-07-29 14:20 ` gcc build error--configuration problem? Josh Baudhuin
1999-07-29 14:31   ` Mumit Khan
1999-07-29 14:38     ` Josh Baudhuin
1999-07-31 18:34       ` Josh Baudhuin
1999-07-31 18:34     ` Mumit Khan
1999-07-31 18:34   ` Josh Baudhuin
1999-07-31 18:34 ` Cygwin Gcc Compatibility with gcc on other platforms ?? N8TM
1999-07-29 15:40 gcc build error--configuration problem? Earnie Boyd
1999-07-31 18:34 ` Earnie Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).