Juan Rey wrote:
When I try to compile a program, this way :
g++ source1.cc object1.o
g++ source2.cc object2.o
..
..
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
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
When I try to compile a program, this way :
g++ source1.cc object1.o
g++ source2.cc object2.o
..
..
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
I
3 matches
Mail list logo