Brian Nelson wrote:

Juan Rey <[EMAIL PROTECTED]> writes:

When I try to  compile a program, this way :

g++ source1.cc object1.o
g++ source2.cc object2.o


Shouldn't these be:

g++ -c -o object1.o source1.cc
g++ -c -o object2.o source2.cc

?

..
..
g++ -g  -O2 -o binary object1.o object2.o .... -llib1 -llib2...

I get this warning at the end:

/usr/bin/ld: BFD 2.11.92.0.12.3 20011121 Debian/GNU Linux assertion fail
../../bfd/elf-strtab.c:262

It builds a binary file, but it doesn't work.

Any idea ?. Help would be appreciated .
Thanx in advance !!!


Yes it is this way, but anyway I'm still getting this message...





Reply via email to