> On 05.04.2012 22:20, L Michaels wrote:
> So, what I'm doing: I have a small own configure script that
> does this:
>
> CXXFLAGS="${FLAGS}" \
> LDFLAGS="-static-libgcc -static-libstdc++" \
> ./configure \
> --enable... (other configure options)
>
> As you can guess, FLAGS can be set to other compiler options.
> This is similar to what you do, but I'm using LDFLAGS instead
> of LIBS, and I don't (need to) export the variables.
For some reason, when I leave out the -lgcc_eh I get an unwind error. The
library builds fine. It's when I compile and build another application using
the static flags and the fltk library that I get a duplicate error. I'm using
gcc version 4.6.2 if that means anything.
Will have to check into setting this via LDFLAGS. I thought I tried it that
way originally and the settings got ignored. Seemed to work when I set LIBS,
so I used that. Will look at this again. I'd prefer to set LDFLAGS if that
works.
Thanks for the tips.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk