gnustep-dev
[Top][All Lists]
Advanced

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

Re: problem linking on MAC OSX


From: Nicola Pero
Subject: Re: problem linking on MAC OSX
Date: Thu, 12 Apr 2007 13:25:46 +0200 (CEST)

Good idea ... probably amit hetawal could try it by doing
something like --

$(TARGET): $(OBJECTS)
    g++ -g -o $(TARGET) $(OBJECTS) $(LDFLAGS)

coral_test.o: coral_test.c Makefile
    gcc $(CPPFLAGS) coral_test.c


Thanks

-----Original Message-----
From: Wolfgang Sourdeau <address@hidden>
Sent: Wed, April 11, 2007 7:59 pm
To: address@hidden
Subject: Re: problem linking on MAC OSX

You should use gcc for compiler and g++ as linker (env var "LD"). That 
way, the proper linking will occur but the pointer casting won't choke 
with C++ stupid constraints.


Wolfgang



_______________________________________________
Gnustep-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnustep-dev





reply via email to

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