由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - Help in GCC linking!!!Thank a lot
相关主题
Re: hwo to cp a linklink的问题
文件的LINK到底有什么用处?C++ 面试题目分享(1)
help! cannot bind to socket!C++ Q62: loop in a linked list (Bloomberg)
[转载] How to keep unreference symboles during linking? (g++)[合集] 问问版上的各位都是怎么开始学习算法和设计题目的?
want to confirm ? on linked filemicrostrategy一般用C/C++还是Java?
简单问题一个弱弱的问问跟hash有关的问题
Question about linking two directories请教Bloomberg online assesment
what is the mean of "LL & SC"[合集] C++ Q76: singly linked list -- 这个逆序打印有什么错?
相关话题的讨论汇总
话题: linking话题: gcc话题: lot话题: when话题: arguments
进入Unix版参与讨论
1 (共1页)
m*******n
发帖数: 103
1
Hello,
1. My gcc arguments are too long (>256), so when I put this long parameters
into command line, UNIX cannot accept the arguments after size 256. Anybody
know how to solve it?
2. When I use gcc to link two C++ files (A and B), I found one problem.
If I difine X's function body in A, the linking is OK.
However if I define X's function body in B, the linking reports "some
undefined symbols".
This problem says "the linking is relative to the order of definition".
How to avoid t
k**e
发帖数: 86
2

Add "\" at every line end
Declare the function name in a header file

【在 m*******n 的大作中提到】
: Hello,
: 1. My gcc arguments are too long (>256), so when I put this long parameters
: into command line, UNIX cannot accept the arguments after size 256. Anybody
: know how to solve it?
: 2. When I use gcc to link two C++ files (A and B), I found one problem.
: If I difine X's function body in A, the linking is OK.
: However if I define X's function body in B, the linking reports "some
: undefined symbols".
: This problem says "the linking is relative to the order of definition".
: How to avoid t

1 (共1页)
进入Unix版参与讨论
相关主题
[合集] C++ Q76: singly linked list -- 这个逆序打印有什么错?want to confirm ? on linked file
BB电面简单问题一个
如何删除 linked list 的最后一个元素 (转载)Question about linking two directories
面试题如果需要用到Linked listwhat is the mean of "LL & SC"
Re: hwo to cp a linklink的问题
文件的LINK到底有什么用处?C++ 面试题目分享(1)
help! cannot bind to socket!C++ Q62: loop in a linked list (Bloomberg)
[转载] How to keep unreference symboles during linking? (g++)[合集] 问问版上的各位都是怎么开始学习算法和设计题目的?
相关话题的讨论汇总
话题: linking话题: gcc话题: lot话题: when话题: arguments