discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Status of gnustep for gcc-4.6


From: Banlu Kemiyatorn
Subject: Re: Status of gnustep for gcc-4.6
Date: Wed, 16 Mar 2011 10:05:24 +0700

Does Objective-C++ work? I try g++ from ubuntu's gcc-snapshot

 g++ (Ubuntu/Linaro 20110308-1) 4.6.0 20110308 (experimental) [trunk
revision 170786]
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I try to compile a file.mm

3Σ_OBJCC_FILES = \
        AXMath.mm \

Is that all I need in GNUmakefile?

g++  -rdynamic      -shared-libgcc -fexceptions -fgnu-runtime -o 3Σ.app/./3Σ \
        ./obj/3Σ.obj/main.m.o ./obj/3Σ.obj/AppController.m.o
./obj/3Σ.obj/AXBlocks.m.o ./obj/3Σ.obj/AXCameraData.m.o
./obj/3Σ.obj/AXCamera.m.o ./obj/3Σ.obj/AXCamera_View.m.o
./obj/3Σ.obj/AXCOLLADAParser.m.o ./obj/3Σ.obj/AXFunctions.m.o
./obj/3Σ.obj/AXGeometry.m.o ./obj/3Σ.obj/AXMesh.m.o
./obj/3Σ.obj/AXMeshData.m.o ./obj/3Σ.obj/AXMeshData+WavefrontOBJ.m.o
./obj/3Σ.obj/AXMeshData+STL.m.o ./obj/3Σ.obj/AXNode.m.o
./obj/3Σ.obj/AXNode_View.m.o ./obj/3Σ.obj/AXObjectData.m.o
./obj/3Σ.obj/AXTree.m.o ./obj/3Σ.obj/AXScene.m.o
./obj/3Σ.obj/AXScene_View.m.o ./obj/3Σ.obj/AXSpace.m.o
./obj/3Σ.obj/AXSpace_View.m.o ./obj/3Σ.obj/AXTeapot.m.o
./obj/3Σ.obj/AXTeapot_View.m.o ./obj/3Σ.obj/AXTransform.m.o
./obj/3Σ.obj/AXTransform_View.m.o ./obj/3Σ.obj/AXView.m.o
./obj/3Σ.obj/externs.m.o ./obj/3Σ.obj/TSCamera.m.o
./obj/3Σ.obj/AXMath.mm.o      -L/home/id/GNUstep/Library/Libraries
-L/usr/local/lib     -lgnustep-gui  -lGL -lGLU -lm -I/usr/include
-lgnustep-base    -l:libobjc.so.4   -lm

./obj/3Σ.obj/AXMath.mm.o: In function `_i_AXMath(long long, long long)':
...../AXMath.mm:9: undefined reference to
`objc_msg_lookup(objc_object*, objc_selector const*)'

If I don't build GS with http://svn.gna.org/svn/gnustep/libs/libobjc2/trunk
and use /usr/lib/gcc-snapshot/lib/libobjc_gc.so.3  I'll get a warning

NSLog(@"WARNING your program is becoming multi-threaded, but you are
using an ObjectiveC runtime library which does not have a thread-safe
implementation of the +initialize method.  This means that any classes
not already used may be incorrectly initialised, potentially causing
strange behaviors and crashes.  Please build/run GNUstep-base with a
runtime which supports the +initialize method.");

On Tue, Feb 1, 2011 at 3:06 AM, Nicola Pero
<nicola.pero@meta-innovation.com> wrote:
> Hi Jochen,
>
> GNUstep trunk should work with gcc-4.6.  I don't know myself when the next
> gnustep-base
> and gnustep-gui releases are scheduled for.
>
> Thanks
>
> On 31 Jan 2011, at 20:28, Jochen Schmitt wrote:
>
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hallo,
>>
>> I'm the maintainer of serveral gnustep packages on Fedora Linux.
>>
>> The Fedora project have decided to intruduced gcc-4.6 on Fedora linux
>> which should release in may of this year.
>>
>> Because I have to find out, that I'm not able to compile the current
>> gnustep-base with this new compiler, is there any plans to provid a
>> release of gnustep which is supported on gcc-4.6.
>>
>> Best Regards:
>>
>> Jochen Schmitt
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.11 (GNU/Linux)
>> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>>
>> iJwEAQECAAYFAk1HDW0ACgkQZLAIBz9lVu9jYwP7BAf12Kx58VdCry30A1DreVIP
>> zLYbnuIjlYtkW3mnZ7j6zq7dR23SS8y6n3Mdi8pa4zrQz/u2Ifo4iciPkd8WhmHO
>> 10DsHuUASyWFxjuNDLZzCljUC0SW5Yvo7nyK9wSYWcykVPopKJAcUcIilnRnxcfx
>> XaBq/t6BNVcYkZSLHpk=
>> =vcmK
>> -----END PGP SIGNATURE-----
>>
>>
>> _______________________________________________
>> Discuss-gnustep mailing list
>> Discuss-gnustep@gnu.org
>> http://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep
>



-- 
    .----.     Banlu Kemiyatorn
  /.../\...\   漫画家
 |.../  \...|  http://qstx.blogspot.com (Free Software Advocacy & Development)
 |../    \..|  http://feedbat.blogspot.com (Studio Work For Hire)
  \/      \/   http://groundzerostudiocomplex.blogspot.com (Studio Research)



reply via email to

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