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]

LDFLAGS -static


Hi every body:
I'm having a problem configuring a program for a static compilation.
I'm using the command

LDFLAGS="--static -I/usr/lib" CC="diet gcc -nostdinc" ./configure \
--prefix=~/result --disable-shared --enable-all-static --disable-nls

how ever i keet on getting an error complainig about the need for
libnewt.
the library is there. I installed it from rpm packages with it's devel
package.

I've tried adding CPPFLAGS="-L/usr/include"

I've tried searching the archieve before asking.
any advice about how to solve this, or a place where I can get more about
this situation ??
but no luck. I'm using redhat 7.3
By the way, I'm not an expert in compiling and linking .
Thanx alot. 
-- 
  Mansour Al-Aqeel
  mansour77@ownmail.net

-- 
http://www.fastmail.fm - A no graphics, no pop-ups email service


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