This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem in C++ compiling


When we added compiled C++ obj files to dll using
> following command:
>
> C++ -G -dy -lc -o$HOME/lib/libibcpp.so
> ~/o/ib/cpp/*.o
> Where cpp directory contains all cpp obj files.
> Now after doing this, while making exe file of
> ccalthser, the error msg has changed  to following:
>
>
>
> relocations referenced
>         from file(s)
>         /usr/tmp/ccN0YYhe.o
>  fatal error: relocations remain against allocatable
> but non-writable section: .
> text
>
> collect2: ld returned 1 exit status
>        
regards,
 
Santosh Varma

Email id : vsantosh@psi.soft.net
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]