This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: GNU GCC -m32 Problem?


Joseph North wrote:

Your question is off-topic on the gcc mailing list, which is for discussion of development *of* GCC, not *with* GCC.

   Thanks a lot, ~ "gcc -m32 . . " worked!
   However, then, I got,

/usr/bin/ld: skipping incompatible ../../libastro/libastro.a when
searching for -lastro
/usr/bin/ld: cannot find -lastro
collect2: ld returned 1 exit status
If you insist on cross-posting, you will gain a place in more and more kill files.
As to the error message, it means that the library path you have specified probably shows a copy of libastro.a for a different target (e.g. 64-bit linux), but none matching your -m32 target. Supposing you built it yourself with -m64, the reason should be evident.


---AV & Spam Filtering by M+Guardian - Risk Free Email (TM)---


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