|
ar.exe & scripts: msg#00007gnu.mingw.msys
Hi! I am new to this list, so please bear with me if I am posting to the wrong list and point me to wherever I might get help. :-) So here goes - I am currently maintaining some source tree at my University which is meant to build & run with Linux, MacOS X and Windows. We are moving away from MS VS and would very much like to use g++ et al everywhere --> we switched to MinGW/MSYS. Atm I am having problems with ar and "-M" - reading some script to create the lib. The script itself is generated by qmake (Qt anybody? ;-)) and prints CREATE $(DEVHOME)/arch/$(ARCH)/lib/libsomething.a ADDMOD release/file1.o ADDMOD release/file2.o ADDMOD release/file3.o SAVE Quite simple; but whatever I do, running ar -M < scriptfile always bails out with Syntax error in archive script, line 1 Replacing the variables - actually these are environment varibales - with their content helps - but that's not what I want! Esp. DEVHOME and ARCH are used to be independent of install prefixes and arches. Any clues? Is this a known bug? I installed MinGW-4.1.0 and MSYS-1.0.10; anything more I can provide? Help would be really appreciated as I'm stuck! :-/ regards, Florian Schricker ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: RE: Bug with backticks behaviour in mSYS?: 00007, Luke Dunstan |
|---|---|
| Next by Date: | Re: ar.exe & scripts: 00007, Greg Chicares |
| Previous by Thread: | RE: Bug with backticks behaviour in mSYS?i: 00007, Mark Cave-Ayland |
| Next by Thread: | Re: ar.exe & scripts: 00007, Greg Chicares |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |