Help in GCC linking!!!Thank a lot# Unix - 噫吁兮,危乎高哉
m*n
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
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