So I've been using cygwin and I need to compile lua libraries myself but it's not going quite to plan.
I can get it to compile and produce an object file (liblua.a)
But when I link to the object file I get this error:
Cygwin wrote:
/../../../liblua.a: could not read symbols: File format not recongnized
I've always avoided command line compiling and compiling any libraries myself like the plaque so I'm really clueless, any ideas on would I could have done wrong?
If it helps any I'm using Cygwin with GCC 3.4.4 and I'm trying to compile lua 5.1
Question... why are you compiling in Cygwin? Start a new Visual Studio project, drag and drop a few files, push build, and you can avoid all of the bullshit.
GyroVorbis wrote:Question... why are you compiling in Cygwin? Start a new Visual Studio project, drag and drop a few files, push build, and you can avoid all of the bullshit.
because he'd going through the "OMG COMMAND LINE" phase, where one is uncontrollably compelled to do everything possible with the command line, even if there are better, easier methods.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.