Re: Linkage order in Linux

2010-02-09 Thread Ian Lance Taylor
michael kapelko writes: > Recently I found out a surprising requirement to compile own > application with Horde3D library (http://horde3d.org/), OpenGL 3D > graphics engine. > Horde3D library links to shared GL library. But -lHorde3D must be > listed *before* -lGL for any application to work corr

Linkage order in Linux

2010-02-09 Thread michael kapelko
Hello. Recently I found out a surprising requirement to compile own application with Horde3D library (http://horde3d.org/), OpenGL 3D graphics engine. Horde3D library links to shared GL library. But -lHorde3D must be listed *before* -lGL for any application to work correctly. If I link the appl