discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MacOSX target.make


From: Matt Rice
Subject: Re: MacOSX target.make
Date: Sun, 2 Apr 2006 11:34:01 -0700 (PDT)


--- Yves de Champlain <yves@gnu-darwin.org> wrote:

> I am compiling gnustep on Tiger with gcc-4.1 and
> found that it does  
> support -bundle
> 
> It could look like
> 
> --- target.make.orig  2006-04-02 00:01:02.000000000
> -0500
> +++ target.make       2006-04-02 00:03:59.000000000 -0500
> @@ -299,7 +299,7 @@
> DYLIB_DEF_FRAMEWORKS += -framework Foundation
> endif
> -ifeq ($(CC_BUNDLE), no)
> +ifeq ($(OBJC_RUNTIME_LIB), gnu)
> # GNU compiler
> INTERNAL_LDFLAGS += -flat_namespace -undefined
> warning
> @@ -333,8 +333,8 @@
>             fi; \
>             $(LN_S) $(LIB_LINK_VERSION_FILE)
> $(LIB_LINK_FILE))
> -BUNDLE_LD       =  /usr/bin/ld
> -BUNDLE_LDFLAGS  += -bundle /usr/lib/bundle1.o
> +BUNDLE_LD       =  $(CC)
> +BUNDLE_LDFLAGS  += -bundle
> else
> # Apple Compiler
> 

yeah as i understand it
fsf gcc supports -bundle but it cannot be the first
argument to gcc, otherwise it gets confused with the
-b argument. so maybe a potential pitfall to watch out
for

apples gcc may or may not have the same requirement..

> yves



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]