Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Errors with Gtk



On Tue, Mar 26, 2002 at 02:59:38PM -0800, Justin C. Walker wrote:
...
>You may want to add -traditional-cpp (or the more recent, and preferred 
>-no-cpp-precomp; I'm sadly ignorant of the spelling, though) to your 
>CFLAGS when building for Darwin.  This avoids the problem altogether.  
>I'd only do this if you run into a lot of this, because if the compiles 
>generally succeed, the use of precompiled headers speeds up the build 
>noticeably.

Looking at the output of ``perl -V:*'' it shows the arguments used when
compiling perl on the system:
	-g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace \
	-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing

I assume the ``-pipe -pipe'' is an oddity of perl's Configure script, and
that one would suffice.  Now if only gcc had regular man pages instead of
the stupid ``info'' that Stallman loves so much...,  This presents a bit of
a challenge since I don't find ``info'' on the system I have here, and the
gcc documentation on one of our Linux development machines doesn't mention
some of these options (e.g. -no-cpp-precomp, and -flat_namespace).

Given that perl is usually a pretty good compiler test, I would be inclined
to snarf its options.

Bill
--
INTERNET:   email@hidden  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Nobody wants to be called common people, especially common people.''
    Will Rogers
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.



References: 
 >Errors with Gtk (From: Francois Reboursier <email@hidden>)
 >Re: Errors with Gtk (From: "Justin C. Walker" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.