u**t 发帖数: 11 | 1 【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: uutt (代号), 信区: Programming
标 题: Unix C 求教: 怎么样把一个c程序compile成lib/下的 .a, .so文件
发信站: The unknown SPACE (Mon Dec 2 11:42:15 2002) WWW-POST
比如我一个b.c文件, 要把他变成lib/底下的b.a, b.so什么的.
还有, 这.a和.so有什么区别呀?
谢谢! |
|
d*******t 发帖数: 36 | 2 I would like to install cxterm-5.2.2 in my Ultra 10 with solaris 9.
I compile it and system give following error message:
gmake all-recursive
gmake[1]: Entering directory `/home/Jianqiao/cxterm/cxterm-5.2.2'
Making all in cxterm
gmake[2]: Entering directory `/home/Jianqiao/cxterm/cxterm-5.2.2/cxterm'
gcc -g -O2 -o cxterm.bin button.o HZbuiltn.o HZinMthd.o HZutil.o screen.o
util.o charproc.o HZchList.o HZInput.o input.o scrollbar.o VTPrsTbl.o cursor.o
HZfilter.o HZpopup.o main.o tabs.o data.o |
|
R*********t 发帖数: 217 | 3 should an executable compiled on Solaris 9 run on Solaris 8? |
|
c******y 发帖数: 37 | 4 It may or may not work and is not guaranteed. Solaris only
supports backwards binary compatibility, which means a
binary compiled on an old version version of Solaris will
be guaranteed to run on a newer version of Solaris. |
|
g***i 发帖数: 31 | 5 我下载了xcode tools,装了后有了gcc,但是还是没法compile *.f90 文件,
请问哪位大虾指点一二,
谢谢 |
|
|
s*********k 发帖数: 1989 | 7 【 以下文字转载自 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, |
|
p****r 发帖数: 165 | 8 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. |
|
s***c 发帖数: 113 | 9 what i know is like 'sir' said, compaq visual fortran 6.6.
i need to use fortran in both windows and linux. there is already a
compiler on linux. i need one for windows.
where to get cygwin g77/f77? thanks so much.
i guess most of codes i am using are written in fortran77, not 90 or 95. |
|
S***y 发帖数: 186 | 10 CVF 6 should be the best Fortran compiler for Windows.
The latest version I use is 6.6A.
For price info, you'd better check with HP-compaq's website.
I think you can purchase on-line. |
|
h*****t 发帖数: 20 | 11 用{A,_Complex,2}时 Compile时老是说类型不对
Matrix的数据内各个element是_Complex
敬请诸位支招
3x |
|
p*******e 发帖数: 3 | 12 有谁知道哪里有free的Fortran90 Compiler可以下载?
谢谢了! |
|
a******s 发帖数: 232 | 13 我曾经试了一下优化,发现好像优化会快点,编译的时候还自动平行什么的,但是实际
运行起来快不了多少阿,我现在ifc就用-r8 -tpp7,其他的都不用,lf95用了手册上推荐
的--dbl --nap --nchk --tpp --ng -O --npca --nsav --ntrace,这都是运行的参数,
调试的时候没有优化:)
你还有pgi的compiler阿?是买的,还是?:) |
|
b**n 发帖数: 289 | 14 I try to generate Gaussian distribution random numbers using gasdev() which
references ran1(). But the compiler I use (ifort) gives me the following
error:
/tmp/ifortWvLH4w.o: In function `randomn_.gasdev_':
random.f90:(.text+0x359): undefined reference to `ran1_'
random.f90:(.text+0x36b): undefined reference to `ran1_'
So strange.
I attached the code. It looks a little bit strange below.
PROGRAM RANDOMN
IMPLICIT NONE
INTEGER :: idu=-10
REAL :: random
print *, ran1(idu),ran1(idu)
idu=- |
|
e*****y 发帖数: 1 | 15 I tried to mex -setup for my old fortran code. I installed intel visual
fortran 9.0 with IMSL 5.0. Unfortunately, I got error message during my
setting up compiler. Briefly, it shows that MS Platform SDK cannot be found
by mex -setup. First of all, I thought I haven't installed SDK yet. So I
downloaded and successfully installed. Then I still got the same error
message after SDK installation. Is there anyone knowing how to fix this
problem?
BTW: I've already set up environmental varables during |
|
s**b 发帖数: 169 | 16 compiling m function to exe file can speed up your code.
In my case, I observe it is about 3 times faster than m file.
But not sure in other cases. |
|
K*****n 发帖数: 23 | 17 why don't you install the latest version of lammps? it is much better.
I am not sure the 2001 version, but with current version, there is always
a STUBS direction when you untar it. It is designed to replace the MPI
instructions for serial edition.
If you do need to use the 2001 version, one possible solution is to install
openmpi on your machine and compile an mpi version, then just use one
processor. |
|
w***n 发帖数: 1137 | 18 可以买一些商用的compiler,如果想免费,就用cygwin + gcc 吧 |
|
O******e 发帖数: 734 | 19 Linux plus Intel ifort noncommercial license (no fee).
Intel's noncommercial ifort is not available for any
Windows platform.
Or try GCC's gfortran, but it is still buggy.
Or go to fortran.com and look through the list of
compilers, see what suits you. |
|
O******e 发帖数: 734 | 20 Intel Fortran compiler is also available
for Mac, but I don't remember whether they
offer the noncommercial license. See Intel's
website for information. |
|
d*******2 发帖数: 340 | 21 请问MS Visual Studio .NET 2005可以用作matlab的C compiler吗?如果可以,请问MS
Visual Studio .NET 2005的11张盘需要都安装吗?
先谢了! |
|
f**********n 发帖数: 169 | 22 用的win7 64的系统, 装上matlabr2009a后, 想跑一个系统仿真,不过却提示报错,
说compiler
unknown. 网上搜了一下,说少了lcc编译器,版上各位在给64位系统装matlab的时候遇
到过同样的
情况么? 谢谢了。 |
|
g****t 发帖数: 31659 | 23 一个compiler企业板好像700多还是7000多。
你觉得matlab会允许存在免费的可以转换成
stand alone程序的工具么
这两天老板让我没事写个东西计算某产品所用变压器损耗温升的程序。
我是不太熟mathcad,不过以前玩过挺久的matlab.也写一点embedded C。
不知有什么推荐方法可以把m文件转成单个可执行exe之类的文件么。最好还能自动
产生些用户界面之类的.网上看似有一些,不知哪位有经验?
我想CS发展到如今,应该有很多傻瓜软件面世了吧..... |
|
|
l***g 发帖数: 1035 | 25 any compiler working under xp should work under win seven
worst case visual express 2010. |
|
I***a 发帖数: 704 | 26 现在需要用Design Compiler综合自己做的库,所以必须要自己写.lib文件。
同学说自动的cell characterization工具目前我们都没有license.
其实我只需要知道每个输入pin的input capacitance就可以了。
有谁知道如何得到吗?
1. 是在process手册里查unit transistor的input capacitance.
2. 提供一个电流源,通过 V= C*i*dt, 在spectre里仿真测量。
3. 利用S-parameter工具测量
which one? thanks. |
|
I***a 发帖数: 704 | 27 我用Design Compiler综合了2个design,分别得到了area,
这个area就是一个数,比如15000,请问单位是什么,thanks. |
|
I***a 发帖数: 704 | 28 In Design Compiler, 我用write_sdf命令得到的.sdf文件back-annotate到综合后的
verilog netlist总是有这个问题:
Instance '/FFT8inputs/\Regs_4/Q_reg[20] ' does not have a generic named 'tpd
_clk_q_posedge'.
tpd_clk_q_posedge, tpd_clk_qbar_posedge, tsetup_d_clk_posedge_posedge,
tsetup_d_clk_negedge_posedge, thold_d_clk_posedge_posedge, thold_d_clk_
negedge_posedge,
这6个generic参数说是对应的DFF cell里没有:
entity DFF_E is
generic(
TimingChecksOn: Boolean := True;
InstancePath: STRING := "*";
Xon: Boolean := False;
... 阅读全帖 |
|
I***a 发帖数: 704 | 29 Design Compiler生成的.sdf文件里所有的怎么interconnect delay都是0?
我用report_timing -nets命令发现所有的net delay都是0,为什么会这样呢?
是什么地方的设置有问题吗?
Thanks. |
|
h**e 发帖数: 2 | 30 I am runing a windows 7 machine. Can anyone recommend a free fortran
compiler? Will appreciate your help a lot. |
|
b*******g 发帖数: 513 | 31 别扯远了。谁能回答我的问题? c++的compile和debug是不是不是一回事?多谢! |
|
t*****9 发帖数: 19 | 32 compile 首先生成一个目标文件 .obj
因为可能用到别的库文件,如输入输出流等等,所以下一步是 link, 生成一个可执行文
件, .exe
最后跑这个可执行文件(.exe)
debug是调试。
Unix下可以用g++完成,非常方便。例如单个文件可以这样编译:
$g++ myfile.cpp -o myoutput
然后执行(run):
$./myoutput |
|
S******y 发帖数: 1123 | 33 How to install R on Linux via source compilation?
Has anybody done it?
I could not find step by step instructions online.
would appreciate if you could share your experience.
Thanks. |
|
S******y 发帖数: 1123 | 34 Thanks. biomedbox!
I finally got R_2.8 installed successfully on 64-bit Linux via yum.
No need for source compilation for now... |
|
w*******y 发帖数: 60932 | 35 Ive been looking around for some good deals on halloween costumes the past
couple of days and noticed that there wasnt much posted on SD. I compiled
everything I could find from searching through different sites and hope
these discounts can help some people out. If you happen to find anything
else thats not listed, let me know and Ill add it.
Happy Halloween!
Halloween Express:
http://www.halloweenexpress.com/
$5 off $50 purchase, Expires: 10/31/10 (Code: CJ5OFF50)
$10 off $100 purchase, Expir... 阅读全帖 |
|
w*******y 发帖数: 60932 | 36 As the most anticipated video game of the year approaches, Ive had trouble
keeping up with all the upcoming Call of Duty: Black Ops deals (Xbox 360 &
PS3). So, I decided to post a compilation of deals as of 10/30. I realize
other deals have come and gone but my main focus is to help my fellow
slickdealers get the most gaming bang for their buck (starting today).
Most of the below prices are already available except for Kmart and Toys R
Us, which you will have to wait until release day (11/9).... 阅读全帖 |
|
w*******y 发帖数: 60932 | 37 This a re-post of a thread that I compiled last year. The links are, for
the most part, from last year's post - many states have not updated their "e
-file" pages yet (several suggest that they'll be accepting returns on
January 18th).
Nonetheless, wanted folks to be able to get a jump start on planning (and
eliminate the "stress" of finding software with "free state returns" etc.,
if it's unnecessary.
If you post updates to the Wiki, or indicate up to date links to 2010, I
will keep the links... 阅读全帖 |
|
|
|
w*******y 发帖数: 60932 | 40 From NoiseTrade:
Link:
http://www.noisetrade.com/jarsofclay
Good luck, site is getting nailed! Supposedly this is a mix of old and new.
Free album/compilation called Gather and Build: A Collection
11 tracks:
This Land is Your Land
Closer
We Will Follow featuring Gungor
Oh My God
Stay Forgive Me re-imagined by Stephen Mason
Safe to Land
Save My Soul
Body and Wine
Run in the Night featuring Thad Cockrell
Water Under the Bridge
Flood New Rain mix
|
|
|
w*******y 发帖数: 60932 | 42 Compiling the list of leap day freebies and deals here
1. Free $10 gift card at tanger shopping malls
see here
http://slickdeals.net/f/4002322-F...-2-29-only
2. Chick fil a
Chick-Fil-A stores will be hosting a Leap Day giveaway in honor of our extra
day in 2012. On Wednesday, February 29, Chick-Fil-A will be giving away
free four-counts of Chick-n Minis to customers -- no coupons or purchase
needed. This will be apparently between 6:30am and 10:30am.
3. Free cookie at SUBWAY
http://www.subway.... 阅读全帖 |
|
f**d 发帖数: 768 | 43 这是一本计算神经科学的优秀著作,全文拷贝这里(图和公式缺),有兴趣的同学可以
阅读
如需要,我可以分享PDF文件(--仅供个人学习,无商业用途)
From Computer to Brain
William W. Lytton
From Computer to Brain
Foundations of Computational Neuroscience
Springer
William W. Lytton, M.D.
Associate Professor, State University of New York, Downstato, Brooklyn, NY
Visiting Associate Professor, University of Wisconsin, Madison
Visiting Associate Professor, Polytechnic University, Brooklyn, NY
Staff Neurologist., Kings County Hospital, Brooklyn, NY
In From Computer to Brain: ... 阅读全帖 |
|
g*********e 发帖数: 14401 | 44 i have three pages of failure
1 month ago Accepted 36 ms cpp
1 month ago Accepted 44 ms cpp
1 month ago Compile Error N/A cpp
1 month ago Wrong Answer N/A cpp
1 month ago Wrong Answer N/A cpp
1 month ago Compile Error N/A cpp
1 month ago Compile Error N/A cpp
1 month ago Compile Error N/A cpp
1 month ago Compile Error N/A cpp
1 month ago Compile Error N/A cpp
1 month ago Compile Error N/A ... 阅读全帖 |
|
n*****e 发帖数: 473 | 45 If that is your first website, congrats! I didn't read your post, just
clicked on the link. Here are my 2cents:
Use bootstrap if you can. both wp and joomla are outdated. many media
companies still support Drupal.
Try to land local pros to help you. I would never contract out my projects
overseas.
just a simple test, here is what I got:
"in compiled.php line 8084
at RouteCollection->match(object(Request)) in compiled.php line 7351
at Router->findRoute(object(Request)) in compiled.php line 7316
a... 阅读全帖 |
|
z*******n 发帖数: 1034 | 46 http://www.informit.com/articles/printerfriendly/2211695
Introduction to "The Java Language Specification, Java SE 8 Edition"
By James Gosling, Gilad Bracha, Alex Buckley, Bill Joy, Guy L. Steele
Date: Jun 12, 2014
The Java® programming language is a general-purpose, concurrent, class-
based, object-oriented language. It is designed to be simple enough that
many programmers can achieve fluency in the language. The Java programming
language is related to C and C++ but is organized rather dif... 阅读全帖 |
|
p******n 发帖数: 9144 | 47 这是 osx 下边的errormessage
JikesRVM: WHOOPS. Got a signal (Bus error: 10; #10) that the hardware
signal handler wasn't prepared for.
JikesRVM: UNRECOVERABLE trapped signal 10 (Bus error: 10)
handler stack 3516700c
cs 0x0000001b
ds 0x00000023
es 0x00000023
fs 0x00000000
gs 0x0000000f
ss 0x00000023
edi 0x33a73b00
esi -- PR/VP 0x34328f1c
ebp 0x75841a80
esp -- SP 0x34341a24
ebx 0x33a73b88
edx ... 阅读全帖 |
|
w**z 发帖数: 8232 | 48 还是学Java 吧, 虽然facebook will try to compile php to run on VM,并不是说
直接用Java, 但Java clearly is more popular choice of programming language
than others. And more clearly, JVM is the most popular platform.
http://nerds-central.blogspot.com/2012/08/facebook-moving-to-jv
Facebook Moving To The JVM
The Big Guns get behind mlvm. I mean, BIG like GE, and Facebook!
"Are interpreters immoral?" A question I posed some months ago which might
soon become irrelevant. General purpose interpretors are about to go t... 阅读全帖 |
|
D**0 发帖数: 2048 | 49 ☆─────────────────────────────────────☆
perse (盐) 于 (Tue Oct 25 06:52:12 2011, 美东) 提到:
休息了一个暑假, 不想暑假里时事比故事还要精彩. 两三个月下来, Yahoo, HP,
AMD, Apple的CEO都以经换了一轮了. 俺写这个系列的本意, 不是再给硅谷添一
篇野史, 而是想和大家探讨一下硅谷的未来. 这么一来, 偶要说的, 可能都要变
成马后炮了.
幸好当下说到的intel目前还相当强大, 似乎没有式微的样子. 那么话从头说. 回
到2003年.
那时候, 可能是intel历史上最难堪的时期之一. 如果说先进的工艺技术, 和优越的体
系结构是intel在赛跑中甩开对手的两条腿, PC市场和enterprise server是intel
获取巨额利润的两只手, 2003-2004的英特可以算是双腿一软, 两手一松, 甩了个四脚
朝天. 可是和一只真正的乌龟不同, 不管外人猜测intel内部应当是怎样的手忙脚乱.
Intel此时看起来仍然一如既往, 毫不慌张. 他所作的就是不断的强调自己技... 阅读全帖 |
|
f**********3 发帖数: 295 | 50 21次才通过一题,弱爆了...
Submit Time Status Run Time Language
0 minutes ago Accepted 612 ms java
12 minutes ago Wrong Answer N/A java
20 minutes ago Runtime Error N/A java
4 hours, 8 minutes ago Runtime Error N/A java
1 day, 1 hour ago Compile Error N/A java
1 day, 14 hours ago Time Limit Exceeded N/A java
1 day, 14 hours ago Runtime Error N/A java
1 day, 14 hours ago Runtime Error N/A java
1 day, 15 hours ago Run... 阅读全帖 |
|