Re: Compile error under cygwin

Tuomo Valkonen <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
On 2007-12-28, Bryan Richter <[email protected]> wrote:
> I have no clue, personally. The libtu.a compiles just fine, and -lintl
> is clearly in the gcc command line, in front of -llibtu.

This is the standard GCC/*nix linker brain damage: you have to have
the libs meticulouslu ordered on the command line. It wants -lintl
after -ltu. Trying to arrange for that is pain. gcc/ld sucks.

> gcc  ion.o preload.o    ../mod_tiling/mod_tiling.a
> ../mod_query/mod_query.a ../mod_menu/mod_menu.a ../mod_dock/mod_dock.a
> ../mod_sp/mod_sp.a ../mod_sm/mod_sm.a ../mod_statusbar/mod_statusbar.a
> ../de/de.a ../ioncore/ioncore.a -Os -lintl -L/usr/X11R6/lib -lX11 -lXext
> -L../libmainloop -lmainloop -L../libextl -lextl -L../libtu -ltu
> -L/usr/local/lib -llua -ldl -lm -lSM -lICE -o ion3


-- 
Tuomo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.