SKIDROW 发表于 2013-8-13 16:39:02


hcw1588 发表于 2013-8-13 16:51

you sure? 如果是的话,我就换成64bit的了
debian6 64Bit clang+llvm 安装 g++-multilib,编译通过。

hcw1588 发表于 2013-8-13 16:35:00


SKIDROW 发表于 2013-8-13 17:47

debian6 64Bit clang+llvm 安装 g++-multilib,编译通过。
那请帮忙试一下http://darling.dolezel.info/en/Build
我现在换成64bit。。。

SKIDROW 发表于 2013-8-13 16:44:08


hcw1588 发表于 2013-8-13 17:57

那请帮忙试一下http://darling.dolezel.info/en/Build
我现在换成64bit。。。
没有图形界面,可能帮不了你了……

hcw1588 发表于 2013-8-13 16:51:11


SKIDROW 发表于 2013-8-13 18:29

没有图形界面,可能帮不了你了……
换了64bit,结果编译时提示:(RP啊)。。[*] Building ASM object CMakeFiles/objc.dir/objc_msgSend.S.o
[*]/home/chongwenhuang/gnustep-libobjc2/objc_msgSend.x86-64.S:228:1: warning: ignoring directive for now
[*].ifc "%rdi", "%rdi"
[*]^
[*]/tmp/objc_msgSend-HJ6OiD.s:158:2: note: while in macro instantiation
[*] MSGSEND %rdi, %rsi
[*] ^
[*]/home/chongwenhuang/gnustep-libobjc2/objc_msgSend.x86-64.S:233:1: error: Encountered a .else that doesn't follow a .if or an .elseif
[*].else
[*]^
[*]/tmp/objc_msgSend-HJ6OiD.s:158:2: note: while in macro instantiation
[*] MSGSEND %rdi, %rsi
[*] ^
[*]/home/chongwenhuang/gnustep-libobjc2/objc_msgSend.x86-64.S:239:1: error: Encountered a .endif that doesn't follow a .if or .else
[*].endif
[*]^
[*]/tmp/objc_msgSend-HJ6OiD.s:158:2: note: while in macro instantiation
[*] MSGSEND %rdi, %rsi
[*] ^
[*]/home/chongwenhuang/gnustep-libobjc2/objc_msgSend.x86-64.S:228:1: warning: ignoring directive for now
[*].ifc "%rsi", "%rdi"
[*]^
[*]/tmp/objc_msgSend-HJ6OiD.s:162:2: note: while in macro instantiation
[*] MSGSEND %rsi, %rdx
[*] ^
[*]/home/chongwenhuang/gnustep-libobjc2/objc_msgSend.x86-64.S:233:1: error: Encountered a .else that doesn't follow a .if or an .elseif
[*].else
[*]^
[*]/tmp/objc_msgSend-HJ6OiD.s:162:2: note: while in macro instantiation
[*] MSGSEND %rsi, %rdx
[*] ^
[*]/home/chongwenhuang/gnustep-libobjc2/objc_msgSend.x86-64.S:239:1: error: Encountered a .endif that doesn't follow a .if or .else
[*].endif
[*]^
[*]/tmp/objc_msgSend-HJ6OiD.s:162:2: note: while in macro instantiation
[*] MSGSEND %rsi, %rdx
[*] ^
[*]/home/chongwenhuang/gnustep-libobjc2/objc_msgSend.S:15:1: error: unmatched .ifs or .elses
[*]
[*]^
[*]make: *** 错误 1
[*]make: *** 错误 2
[*]make: *** 错误 2
[*]复制代码

SKIDROW 发表于 2013-8-13 16:44:00


hcw1588 发表于 2013-8-14 10:47

换了64bit,结果编译时提示:(RP啊)。。

clang+llvm编译?
发编译命令出来看看

hcw1588 发表于 2013-8-13 16:44:45


SKIDROW 发表于 2013-8-14 12:08

clang+llvm编译?
发编译命令出来看看[*]svn co http://svn.gna.org/svn/gnustep/libs/libobjc2/trunk/ gnustep-libobjc2
[*]cd gnustep-libobjc2
[*]OBJCFLAGS=-fblocks CC=clang CXX=clang++ cmake .
[*]rm GNUmakefile
[*]make
[*]sudo make install复制代码

SKIDROW 发表于 2013-8-13 16:51:00


hcw1588 发表于 2013-8-14 12:16

我是新建了一个目录Build,然后进去编译。
clang+llvm3.3,apt安装libstdc++5 libstdc++6 g++-multilib[*]cd Build
[*]cmake .. -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
[*]复制代码

senny 发表于 2013-8-13 17:47:50

问题还没解决???

hcw1588SKIDROW 发表于 2013-8-13 16:51:00


SKIDROW 发表于 2013-8-14 13:49

我是新建了一个目录Build,然后进去编译。
clang+llvm3.3,apt安装libstdc++5 libstdc++6 g++-multilib ...
然后呢,make一样报错。。。[*][ 36%] Building ASM object CMakeFiles/objc.dir/objc_msgSend.S.o
[*]/home/chongwenhuang/gnustep-libobjc2/objc_msgSend.x86-64.S:228:1: warning: ignoring directive for now
[*].ifc "%rdi", "%rdi"
[*]^
[*]/tmp/objc_msgSend-II6nan.s:158:2: note: while in macro instantiation
[*] MSGSEND %rdi, %rsi
[*] ^
[*]/home/chongwenhuang/gnustep-libobjc2/objc_msgSend.x86-64.S:233:1: error: Encountered a .else that doesn't follow a .if or an .elseif
[*].else
[*]^
[*]/tmp/objc_msgSend-II6nan.s:158:2: note: while in macro instantiation
[*] MSGSEND %rdi, %rsi
[*] ^
[*]/home/chongwenhuang/gnustep-libobjc2/objc_msgSend.x86-64.S:239:1: error: Encountered a .endif that doesn't follow a .if or .else
[*].endif
[*]^
[*]/tmp/objc_msgSend-II6nan.s:158:2: note: while in macro instantiation
[*] MSGSEND %rdi, %rsi
[*] ^
[*]/home/chongwenhuang/gnustep-libobjc2/objc_msgSend.x86-64.S:228:1: warning: ignoring directive for now
[*].ifc "%rsi", "%rdi"
[*]^
[*]/tmp/objc_msgSend-II6nan.s:162:2: note: while in macro instantiation
[*] MSGSEND %rsi, %rdx
[*] ^
[*]/home/chongwenhuang/gnustep-libobjc2/objc_msgSend.x86-64.S:233:1: error: Encountered a .else that doesn't follow a .if or an .elseif
[*].else
[*]^
[*]/tmp/objc_msgSend-II6nan.s:162:2: note: while in macro instantiation
[*] MSGSEND %rsi, %rdx
[*] ^
[*]/home/chongwenhuang/gnustep-libobjc2/objc_msgSend.x86-64.S:239:1: error: Encountered a .endif that doesn't follow a .if or .else
[*].endif
[*]^
[*]/tmp/objc_msgSend-II6nan.s:162:2: note: while in macro instantiation
[*] MSGSEND %rsi, %rdx
[*] ^
[*]/home/chongwenhuang/gnustep-libobjc2/objc_msgSend.S:15:1: error: unmatched .ifs or .elses
[*]
[*]^
[*]make: *** 错误 1
[*]make: *** 错误 2
[*]make: *** 错误 2
[*]复制代码
hcw1588 发表于 2013-8-14 15:38

然后呢,make一样报错。。。
我是用你给的那个压缩包编译的,没有checkout代码。
说说你的编译环境吧。

hcw1588 发表于 2013-8-13 17:57:02


SKIDROW 发表于 2013-8-14 16:30

我是用你给的那个压缩包编译的,没有checkout代码。
说说你的编译环境吧。 ...
eOS,也就是ubuntu12.04 ,clang+llvm,然后基本都是默认的了。
页: 1 [2] 3
查看完整版本: gnustep