由买买提看人间百态

topics

全部话题 - 话题: compilers
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
N********n
发帖数: 8363
1
来自主题: Programming版 - 学compiler的书哪本好?

Demand of compiler work in the market is too little compared with other
stuff such as web, db, networks and so on. Not worth your effort.
c*******9
发帖数: 6411
2
来自主题: Programming版 - gcc compile option
I try to compile multiple c files, and would like the object files ouptut in
the same directory
gcc -c -o /user/ouput -c *.c
but does not seem to work, is there an option in gcc to specify that?
in visual c++, i can use /fo option to specify a folder for ouput, anything
similar in gcc?
thanks
G*****7
发帖数: 1759
3
来自主题: Programming版 - intel released c++ compiler 2013
finally a decent production-grade, x64-capable c++11 compiler on windows.
p.s., not to downplay the c++11 compliance of mingw, but its lack of x64
target-ability is a huge pain.
G*****7
发帖数: 1759
4
来自主题: Programming版 - intel released c++ compiler 2013
ms designed c++ amp to be an open spec and wishes compiler vendors to
implement that.
now that gcc has cilk, why shouldn't intel (edg actually) support c++ amp.
p****r
发帖数: 165
5
来自主题: Programming版 - vc 2008: compilation error about header file
when user defined header file is declared as instead of "xxx.h" , my
vc 2008 always report error. Is there a way to configure it so compiles ok?
Thanks.
p****r
发帖数: 165
6
来自主题: Programming版 - third party c/c++ code and compile it on win 7
we got some third party c/c++ code that we would like to rebuild on win 7.
it was developed in 2007 with VC 2008. if use VC2008 but recompile it on win
7, does it usually require significant code changes? once compiled on win 7
and generate .dll file, will the .dll file work on the old platform that it
used to run?
I suspect there is some 32-bit/ 64 bit issue here. thanks
p****r
发帖数: 165
7
来自主题: Programming版 - third party c/c++ code and compile it on win 7
if compile works on win 7, will the generated .dll file still work on the
old server platform? or might not? Thanks.
the .dll is called from excel vb.
G*****7
发帖数: 1759
8
i think you are looking for preprocessor definitions.
in your source code:
#ifdef Load_FILE
cout << "Load_FILE is defined";
#else
cout << "Load_FILE is not defined";
#endif
in your compiler settings, add:
-DLoad_FILE
without space between -D and your preprocessor definition.
t****t
发帖数: 6806
9
他问的就是怎么设compiler option...
properties -> c/c++ -> preprocessor -> preprocessor definitions
p****r
发帖数: 165
10
is there a way to save a copy of a project in visual studio (solution file),
and then also save the compiler/linker setup option for that project. So I
could base on that project to create a copy and work on the copy? Thanks.
p****r
发帖数: 165
11
来自主题: Programming版 - compiler error C2061
I redefine variant as VCvariant, but compiler keep generate C2061 error. any
suggestions? Thanks.
k***p
发帖数: 115
12
来自主题: Programming版 - 请教boost::any compile错误。
我的compiler是gcc 4.7。 多谢
$g++ testAny.cpp -o testAny
testAny.cpp: In function ‘void AnyTesting3()’:
testAny.cpp:66:54: error: no match for ‘operator=’ in ‘myPropertySet.std:
:map<_Key, _Tp, _Compare, _Alloc>::operator[], boost
::any, std::less >, std::allocator std::basic_string, boost::any> > >((* & std::basic_string(((
const char*)"BarrType"), (*(const std::allocator*)(& std::allocator<
char>()))))) = (BarrierType)... 阅读全帖
D*****r
发帖数: 6791
13
来自主题: Programming版 - Compiler
算吧,了解了之后,就知道compiler背着自己到底本质上在干什么,或者说知道自己到
底在干什么。
有些理论的东西,什么各种自动机啊,正则表达式啊,知道一下好像有帮助。
t**r
发帖数: 3428
14
anybody took Stanford Compiler course on Coursera?
seems amazing.
How do you like it?
useful?
t**r
发帖数: 3428
15
我草,会写compiler的没有会写python的在公司吃香,我也醉了
y**********u
发帖数: 6366
16
compiler现在还有什么做头?
t**r
发帖数: 3428
17
来自主题: Programming版 - 有人上过coursera的compiler么?
感觉如何
学完会自己写compiler了么
★ 发自iPhone App: ChineseWeb 8.7
★ 发自iPhone App: ChineseWeb 8.7
r*a
发帖数: 1503
18
来自主题: Programming版 - 有人上过coursera的compiler么?
It is a good course. I think you should take it if you want to understand
compiler.
s****a
发帖数: 238
19
来自主题: Programming版 - 有人上过coursera的compiler么?
所有的作业就是写一个compiler for a toy language,词法分析和语法分析都是用现成
的工具,类型检查和代码生成要自己写,但是都有框架给你。目标机器是stack
machine所以基本上没有寄存器分配问题。没有涉及优化,虽然课上有提到。
N********n
发帖数: 8363
20
来自主题: Programming版 - 有人上过coursera的compiler么?

COMPILER是高投入低产出科目,没啥意思。
n*****3
发帖数: 1584
21
来自主题: Programming版 - 有人上过coursera的compiler么?
我longlong ago compiler课就用这做project
我觉得设计得狠好

longlong
x***4
发帖数: 1815
22
我的app是用JDK 1.8搞的(用了lambda之类的新特性)。现在想用一个dependency。把
它加到maven的pom后,maven抓回来的jar是用java 1.5compile的。我能让maven直接下
代码,再用我的jre 1.8 再compile这个dependency吗?具体该怎样做?
j***y
发帖数: 1640
23
有没有 10%啊?
发现 compiler 作业好难
b******y
发帖数: 9224
24
我原先手写过一个简单的recursive descent interpreter, 用来parse and execute
basic programming language的,很是提高对compiler的理解。
t**b
发帖数: 3170
25
来自主题: Programming版 - NB的码工,有几个能自己写compiler的
我写过一年多的compiler,但这个有啥可说的呢?假如参加大公司的general hire面试
肯定过不去(我没参加过,只是看网上贴的有感)。我觉得不刷题能做面试题比你上面
列的难多了。
H****S
发帖数: 1359
26
来自主题: Programming版 - scala下一代compiler dotty
感觉idea还好,他家的presentation compiler是自己定制的,基本上甭管多复杂的
shapeless implicits都可以识别出来,很厉害,不过SI-2712的那些还是例外。真正烂
的是eclipse,那是真的烂泥扶不上墙。
s*********k
发帖数: 1989
27
来自主题: Software版 - Help, install C++ compiler (转载)
【 以下文字转载自 CS 讨论区 】
发信人: summerbrook (sizzling, dizzling), 信区: CS
标 题: Help, install C++ compiler
发信站: BBS 未名空间站 (Mon Oct 13 20:10:02 2008)
I downloaded the Borland .exe file, freecommandLinetools.exe
It says double-click to start installation. But I did and nothing happened (even after I reboot the computer). What I can do? THanks,
o*******e
发帖数: 186
28
I am compiling a .tex file to get a Slide Mode version. The .dvi file show
correctly in slide mode. But when I wanna turn it into .pdf file, the '
contents' are horizontal while the media paper is A4 portrait ( I need landscape). The '
Orientation' option in GSView does not work either. Anybody can help?
Thanks a lot.
b****t
发帖数: 114
29
来自主题: TeX版 - compiling error.
Hi all,
I got this error, when I compiled a tex file.
l.714 ...to random search and simulated annealing}

?
! Illegal parameter number in definition of \reserved@a.

2
l.714 ...to random search and simulated annealing}

?
! Illegal parameter number in definition of \reserved@a.

1
l.714 ...to random search and simulated anneal
T*******y
发帖数: 6523
30
My compiling always takes a while, and I often open a web to browse, which
is distracting somehow.
What do you do while waiting?
r****t
发帖数: 10904
31
1. switch to texlive? Texlive on Linux is so much faster than MikTex,
several fold faster.
2. Also, use AucTex preview mode so you do not need to compile so often.
r****t
发帖数: 10904
32
That way compiling only checks syntax to ensure your tex file is accurate.

's
T*******y
发帖数: 6523
33
It's slow or not depends on how many figures there are and how big the
figures are. With pure text, it's fast either way.
Do you know any way to compile partial documents in WinEdt? I don't seem to
find it.
b*******g
发帖数: 513
34
来自主题: TeX版 - index也要compile几次吗?
以前听apie大虾说,bibtex要compile4次,latex,bibtex,latex,latex.照做了,对的。现在要compile一个index file,也要compile4次吗,latex, index,latex,latex?找到了index在winedit上的那个按钮,是a-2.望高人指点!
a*****g
发帖数: 19398
35
来自主题: TeX版 - index也要compile几次吗?
反正多编译几次吧。
因为有些资料要通过编译产生新文件,用以更新。
我似乎记得谁说过……
从前的电脑太烂了,内存硬盘都很小,所以编译一次只能干有限的事情
所以很多东西都要分成好几次编译
这个多次编译的手续被延续下来了

的。现在要compile一个index file,也要compile4次吗,latex, index,latex,latex?
找到了index在winedit上的那个按钮,是a-2.望高人指点!
b*******g
发帖数: 513
36
来自主题: TeX版 - index也要compile几次吗?
什么是latex Makefile?是一种软件吗?昨天在我的winedit上试了试,就compile 了
一次,就好了。奇怪。

, 我都试过,觉得都不错。
l**x
发帖数: 202
37
at least compile three times to get toc

have
l**x
发帖数: 202
38
at least compile three times to get toc

have
b****g
发帖数: 1204
39
以前好好的,不记得什么时候开始,WinEdit 6.0像蜗牛一样慢,生成一个PDF或DVI
file要10分钟以上。中间有一段时间恢复正常,file迅速生成。现在又不行了。升级到
7.1,又下载了texstudio,全都一样。一个7k的tex file,compile中间出过几次error
message,几个小时了还没有生成PDF,恨不得把电脑砸了。有人能指教一下是什么原因
吗?
笔记本是Lenovo T520,i7, 4GB RAM。把360也退出了,准备再试试卸载。我以前的
Centrino也跑得飞快,不明白。
k*****g
发帖数: 311
40
来自主题: Unix版 - hOW CAN i COMPILE AND RUN FORTRAN?
i AM NOT ABLE TO USE c RIGHT NOW.
tHE ONLY LANGUAGE i CAN USE IS FORTRAN,WHERE CAN i
DOWNLOAD POWERSTATION OR ANYTHING THE LIKE TO COMPILE AND RUN
THE FORTRAN FILE?
tHANK YOU.
r****n
发帖数: 2
41
The automatically generated Makefile use cc as compiler. But
the cc(/usr/ucb/cc)
in my workstation(Sun Solaris 2.6) seems to be corrupted. It
only has 3487 bytes
in size and when I type "cc" in the command line, it reports
software package not installed. So I'm think of replacing cc
with gcc. But there
seems no way to modify Makefile since it's automatically
generated by imake. Now
the problem is how to modify Imakefile to achieve this goal?
Thanks a lot!
b****t
发帖数: 19
42
来自主题: Unix版 - compile c
I used cc or CC to compile my c file, it said that
sin, sqrt, log etc cannot be found. But if I tried
a small one with these functions, it works.
I'm confused.
d**h
发帖数: 364
43
来自主题: Unix版 - A tough compiler problem
I have a source code which is developed on egcs.
How to compile it with gcc 2.7 or 2.95?
(Don't tell me to re-write it, as I expect to
receive more codes on egcs, I cannot afford to
re-write them all)
Thanks.
w*****n
发帖数: 94
44
来自主题: Unix版 - how to compile wget package???
wget has nothing to do with cgi ba?
The compilation instructions for unix programs are often found in an
INSTALL file, the README file also contains important information.
General steps are:
1) gunzip -c wget-xxx.tar.gz | tar xvf -
2) ./configure
3) make
4) make install
l*****y
发帖数: 10
45
The error of compiling is:
In file included from /usr/local/lib/gcc-lib/alpha-dec-osf5.1/2.9-gnupro-99r1
/../../../../include/g++-2/streambuf.h:36,
from /usr/local/lib/gcc-lib/alpha-dec-osf5.1/2.9-gnupro-99r1
/../../../../include/g++-2/iostream.h:31,
from /usr/local/lib/gcc-lib/alpha-dec-osf5.1/2.9-gnupro-99r1
/../../../../include/g++-2/fstream.h:30,
from /usr/local/lib/gcc-lib/alpha-dec-osf5.1/2.9-gnupro-99r1
/../../../../include/g++-2/fstream:
n****g
发帖数: 1245
46
来自主题: Unix版 - c compile error help!
I have a c compiler error
when try to link several .obj files,
the error is that the external valuable at head files ,thwen
the variables was "mulitiple defined" in several .o files,
hwo to handle the problem? thanks.
t***y
发帖数: 110
47
来自主题: Unix版 - cxterm compile
hi,
i want to install cxterm in the sun unix.
but there is no cc in my machine and
only gcc there.
when i compile cxterm, there will be many
errors.
how to solve this problem?
thanks a lot!!
w*******g
发帖数: 99
48
来自主题: Unix版 - SUN F90 compiler
I transfered my Fortran 90 program from WinNT to Solaris 8. But it seems that
the Fortran 90 compiler under Sun could not recognize elementrary function
"sign"... and everything it tells me it is not a intrinsic function. Could you
please tell me what is wrong or which library should I specify? Thank you!
w*******g
发帖数: 99
49
来自主题: Unix版 - SUN F90 compiler
What's what I did but I just wonder whether there is such a function in Sun F90
compiler. It should be Fortran standard...
s****s
发帖数: 8
50
I have F77 codes. On SGI Indigo2 R10000,
the comilation option in makefile is -O -mips4.
It ran very well.
But when I move to SUN blade2000,
I use comilation option:
-fast -xprefetch -xtarget=ultra3 -xchip=ultra3 -fns=yes -fsimple=2
it could pass compilation and generate excutable file. but when I run
it, it always show the fowlling info at the end:
Note: IEEE floating-point exception flags raised:
Inexact; Underflow;
Nonstandard floating-point mode enabled
See the Numerical Computation
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)