linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Cross compilation question
@ 2003-09-09  7:44 Toni Van Remortel
  2003-09-09 16:18 ` Wolfgang Denk
  2003-09-09 16:28 ` Dan Kegel
  0 siblings, 2 replies; 4+ messages in thread
From: Toni Van Remortel @ 2003-09-09  7:44 UTC (permalink / raw)
  To: linuxppc-embedded


Hi all,

I've installed ELDK as compiler-set, and it is successfully used to
compile linuxppc_2_4_devel, rtai and FLTK for my EP405 board.

Now I have a FLTK-based program which I like to cross-compile, but I get
stuck to one error I cannot solve right now:

ppc_4xx-g++ -static -g test.cxx -I/ppc/fltk-1.1.4rc2 -o test
-L/opt/eldk/ppc_4xx/lib -L/opt/eldk/ppc_4xx/usr/lib
-L/ppc/fltk-1.1.4rc2/lib -L/opt/PPC_X/usr/X11R6/lib -L/opt/PPC_X/usr/lib
-lfltk -lXext -lX11
/opt/eldk/usr/ppc-linux/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status

As far as I know, is libstdc++.so in /opt/eldk/ppc_4xx/usr/lib, which is
added as -L.

Anyone who know the solution (which will probably be easy).

Regards.
--
                           Toni Van Remortel
              Wetenschappelijk Medewerker - D-science lab
              Tel: +32 3 205 61 72 - Fax: +32 3 205 61 95
                      E-mail: t.vanremortel@ha.be

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-09-10  9:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-09  7:44 Cross compilation question Toni Van Remortel
2003-09-09 16:18 ` Wolfgang Denk
2003-09-10  9:30   ` Toni Van Remortel
2003-09-09 16:28 ` Dan Kegel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).