设为首页收藏本站

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย french

搜索
热搜: 活动 交友 discuz

gnustep [复制链接]
查看:249 | 回复:24

7

主题

1926

回帖

3891

积分

论坛元老

积分
3891
发表于 2013-8-13 16:39:02 | 显示全部楼层

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

you sure? 如果是的话,我就换成64bit的了

debian6 64Bit clang+llvm 安装 g++-multilib,编译通过。

60

主题

508

回帖

1210

积分

金牌会员

积分
1210
 楼主| 发表于 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。。。

7

主题

1926

回帖

3891

积分

论坛元老

积分
3891
发表于 2013-8-13 16:44:08 | 显示全部楼层

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

那请帮忙试一下http://darling.dolezel.info/en/Build
我现在换成64bit。。。

没有图形界面,可能帮不了你了……

60

主题

508

回帖

1210

积分

金牌会员

积分
1210
 楼主| 发表于 2013-8-13 16:51:11 | 显示全部楼层

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

没有图形界面,可能帮不了你了……

换了64bit,结果编译时提示:(RP啊)。。[ol]
  • [  1%] 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[2]: *** [CMakeFiles/objc.dir/objc_msgSend.S.o] 错误 1
  • make[1]: *** [CMakeFiles/objc.dir/all] 错误 2
  • make: *** [all] 错误 2
  • [/ol]复制代码
  • 7

    主题

    1926

    回帖

    3891

    积分

    论坛元老

    积分
    3891
    发表于 2013-8-13 16:44:00 | 显示全部楼层

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

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


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

    60

    主题

    508

    回帖

    1210

    积分

    金牌会员

    积分
    1210
     楼主| 发表于 2013-8-13 16:44:42 | 显示全部楼层

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

    clang+llvm编译?
    发编译命令出来看看
    [ol]
  • 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[/ol]复制代码
  • 7

    主题

    1926

    回帖

    3891

    积分

    论坛元老

    积分
    3891
    发表于 2013-8-13 16:51:00 | 显示全部楼层

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

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

    主题

    450

    回帖

    990

    积分

    高级会员

    积分
    990
    发表于 2013-8-13 17:47:50 | 显示全部楼层
    问题还没解决???

    0

    主题

    1

    回帖

    4

    积分

    新手上路

    积分
    4
    发表于 2013-8-13 16:51:00 | 显示全部楼层

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

    我是新建了一个目录Build,然后进去编译。
    clang+llvm3.3,apt安装libstdc++5 libstdc++6 g++-multilib ...

    然后呢,make一样报错。。。[ol]
  • [ 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[2]: *** [CMakeFiles/objc.dir/objc_msgSend.S.o] 错误 1
  • make[1]: *** [CMakeFiles/objc.dir/all] 错误 2
  • make: *** [all] 错误 2
  • [/ol]复制代码
    hcw1588 发表于 2013-8-14 15:38

    然后呢,make一样报错。。。

    我是用你给的那个压缩包编译的,没有checkout代码。
    说说你的编译环境吧。
  • 60

    主题

    508

    回帖

    1210

    积分

    金牌会员

    积分
    1210
     楼主| 发表于 2013-8-13 17:57:02 | 显示全部楼层

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

    我是用你给的那个压缩包编译的,没有checkout代码。
    说说你的编译环境吧。 ...

    eOS,也就是ubuntu12.04 ,clang+llvm,然后基本都是默认的了。
    您需要登录后才可以回帖 登录 | 立即注册

    论坛客服/商务合作/投诉举报:2171544 (QQ)
    落伍者创建于2001/03/14,本站内容均为会员发表,并不代表落伍立场!
    拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论!
    落伍官方微信:2030286 邮箱:(djfsys@gmail.com|tech@im286.com)
    © 2001-2014

    浙公网安备 33060302000191号

    浙ICP备11034705号 BBS专项电子公告通信管[2010]226号

      落伍法律顾问: ITlaw-庄毅雄

    Archiver|手机版|Discuz! X

    GMT+8, 2026-8-5 12:18 , Processed in 0.014239 second(s), 4 queries , Gzip On, Redis On.

    返回顶部