Compile Objective C 2.0 code on Linux
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=74eniI7kJCIDPSLSdZOed4rC8EeJkYtxpCc9ym5TMe8=; b=H7y2nSEbW62x1rtXDv+A50WprEZuS/5+5q7X0A6/CUY9zo9Nc3x3b8NUwjLJh7WC8p iTwysVHcdJHVG4851/j0948SyxDznZC1y3P5kIw66Xg7aakG09hs6x/5ochFakBoGCT6 TwSFekoAj4UVZG5TSuh9nCn06LwHXGgcDlF6E= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=AMJsluxYy+xSkfM9zYo8w3bc9Ybga7GghIsPNHzPc1SOQQuf2hu4XmpXIReSMuuY6h wJ/rFSMkD52gWo1cERyWAqqgpewlZGQ/2lUGk0whYOp3/fXFts94zbhISMKWlMmIy12a qXcgBfU8uE/CpBZN1XG7ex3xkInCp2pPB2ZPI= I'm trying to install all the necessary tools needed to compile Objective C 2.0 code on a Linux workstation. I've downloaded the gcc-5465 package off the Apple website and executed:
../configure --prefix=/tmp/123/ --enable-languages=objc
followed by: make bootstrap
/usr/include/limits.h:125:26: error: no include path in which to search for limits.h make[2]: *** [crtbegin.o] Error 1 make[2]: Leaving directory `/home/user/Download/gcc-5465/xxx/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/home/user/Download/gcc-5465/xxx/gcc' make: *** [bootstrap] Error 2
if I do make (note, no bootstrap)
../../gcc/objc/objc-act.c: In function 'objc_init': ../../gcc/objc/objc-act.c:716: warning: suggest braces around empty body in an 'if' statement ../../gcc/objc/objc-act.c: In function 'objc_init_exceptions': ../../gcc/objc/objc-act.c:7745: error: 'darwin_macosx_version_min' undeclared (first use in this function) ../../gcc/objc/objc-act.c:7745: error: (Each undeclared identifier is reported only once ../../gcc/objc/objc-act.c:7745: error: for each function it appears in.) ../../gcc/objc/objc-act.c: In function 'objc_create_init_utf16_var': ../../gcc/objc/objc-act.c:19227: warning: implicit declaration of function 'objc_cvt_utf8_utf16' make[1]: *** [objc/objc-act.o] Error 1 make[1]: Leaving directory `/home/user/Download/gcc-5465/xxx/gcc' make: *** [all-gcc] Error 2
Is there something I'm missing here? I know there is already a gnu implementation of objc but I want to use the features of version 2.0. Any help or suggestions would be GREATLY! appreciated. Thanks _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jake McMahon