Re: [GXemul-users] Errors with SVN
Status: Alpha
Brought to you by:
gavare
From: Anders G. <ga...@gm...> - 2009-08-19 19:09:35
|
Ons 2009-08-19 klockan 20:40 +0200 skrev Anders Gavare: > > Perhaps you can modify configure to add -lgomp if needed? > > That could be one way. However, there must be a reason why > -D_GLIBCXX_PARALLEL is set in your CXXFLAGS. The place where that flag > is set should probably also have added -lgomp. > > Is that a default Debian flag, or something which was added some other > way to your CXXFLAGS? Is there maybe a separate LDFLAGS but for C++? (Is > -lgomp in your LDFLAGS perhaps, and GXemul's configure ignores it?) On a closer look, it seems that the configure script ignored LDFLAGS. Building a file with just plain make seems to make use of LDFLAGS: $ make hi c++ -O2 -fno-strict-aliasing -pipe hi.cc -o hi $ rm hi $ CXXLINK=apa make hi c++ -O2 -fno-strict-aliasing -pipe hi.cc -o hi $ rm hi $ LDFLAGS=apa make hi c++ -O2 -fno-strict-aliasing -pipe apa hi.cc -o hi c++: apa: No such file or directory *** Error code 1 (As seen above, I also tried CXXLINK, but that wasn't used.) So, if you feel like trying SVN revision 5617, then it should work as long as your LDFLAGS contains -lgomp. http://gxemul.svn.sourceforge.net/viewvc/gxemul/gxemul/trunk/configure?r1=5552&r2=5617 Anders |