This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


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

Compiling insight failled with -lgdi32


Hi every body,

After running into many troubles with the installation of gcc as a cross 
compiler for an arm-elf target using cygwin-1.3.1...
I now have problem with insight 5.0...

I searched through the mailling list archive but did not find my problem :  
cannot find -lgdi32

I patched as said on sources.redhat.com/ecos => install under Win..
cd /src/gdb/insight-5.0
tr -d '\r' < insight-tcl.pat | patch -p0

I also used the patch from Christopher Faylor (using the same way) avaible 
on insight home page

I use those commands to configure and build:
mkdir -p /tmp/build/gdb
cd /tmp/build/gdb
CC='gcc -mwin32'   /src/gdb/insight-5.0/configure --target=arm-elf \
--prefix=/tools \
--exec-prefix=/tools/H-i686-pc-cygwin \
-v 2>&1 | tee configure.out

make -w all install 2>&1 | tee make.out

But I still have the following error :
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-3/../../../../i686-pc-cygwin/bin/ld: 
cannot find -lgdi32
collect2: ld returned 1 exit status
make[2]: *** [cygtcl80.dll] Error 1
make[2]: Leaving directory `/tmp/build/gdb/tcl/win'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/build/gdb/tcl'
make: *** [all-tcl] Error 2
make: Leaving directory `/tmp/build/gdb'

Thanx in advance for any advices...


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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