nanogui: Linking Microwin when cross-compile
Subject:
Re: [nanogui] Re: Linking Microwin when cross-compile
From:
"Aaron J. Grier" ####@####.####
Date:
31 Jul 2006 18:22:33 +0100
Message-Id: <20060731172213.GL18581@mordor.unix.fryenet>
On Sat, Jul 29, 2006 at 05:39:57AM -0700, tan yongzai wrote:
> "Aaron J. Grier" ####@####.#### wrote:
> > On Thu, Jul 27, 2006 at 08:45:44AM -0700, tan yongzai wrote:
> > > I tried to troubleshoot my earlier cross-compilation problems and
> > > stuck at the follow error. Really hope that someone can give me
> > > some pointer to advance forward. Many Thanks.
> > [...]
> > > /opt/crosstool/gcc-2.95.3-glibc-2.2.5/arm-unknown-linux-gnu/arm-unknown-linux-gnu/bin/ld: cannot find -lX11
> > > collect2: ld returned 1 exit status
> >
> > where is the cross-compiled libX11.a for your ARM target?
>
> I only found the libX11.a in the C:\cygwin\usr\X11R6\lib directory.
> How do I generate the cross-compiled libX11.a for the ARM target?
the same way you generate the rest of userland for your ARM target. is
there libX11.a on your ARM target?
--
Aaron J. Grier | Frye Electronics, Tigard, OR | ####@####.####