|
Specs vs static linkage?: msg#00260gcc.help
Hi everyone: I am trying to add a new option into specs file, say -xxxx, for g++. I'd like to let gcc substitute -xxxx to some compile options and some libraries. So I modify specs file to: *cclplus: %{xxxx: -I/usr/local/include/xxxx } And then: *lib: %{xxxx: -llocal_xxxx} While I am compiling program without -static option,for example g++ -xxxx t.cpp, my modification just works. But while -static is given, gcc failed to compile, and I am forced to compile it via g++ -xxxx t.cpp -llocal_xxxx. This problem should be due to libraries dependence, how can I avoid it? |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: FILE Pointer: 00260, Muthukumar Ratty |
|---|---|
| Next by Date: | Trouble Buiding gcc-3.2.1 on HP-UX Itanium Box: 00260, Kiran K |
| Previous by Thread: | Trouble building an Intel to SPARC cross-compileri: 00260, Daniel Salomon |
| Next by Thread: | Trouble Buiding gcc-3.2.1 on HP-UX Itanium Box: 00260, Kiran K |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |