From: Damian D. <dam...@ho...> - 2007-03-14 18:06:57
|
Thank you for your reply - I read though the link that you sent to me. The static library is in C, and it is precisely that very same source code that I currently have problems with. I havent even reached the stage of trying to link it yet in Microsoft Visual Studio. The objects compile (using gcc or mingw32-gcc), but then trying to archive them together with ar fails with the error "File format not recognised". How can this be when it has just been compiled with the same tools? ----Original Message Follows---- From: Greg Chicares <chi...@co...> Reply-To: MinGW Users List <min...@li...> To: MinGW Users List <min...@li...> Subject: Re: [Mingw-users] Building a static library - the correct way to go? Date: Wed, 14 Mar 2007 17:50:23 +0000 On 2007-3-14 16:41 UTC, Damian Donnelly wrote: > > I have some source code that I need to compile into a static library, which > I will then use with a Microsoft Visual Studio C++ project at the linker > stage. The MS project is managed C++ Is the static library's source code C, or C++? See: http://mingw.org/MinGWiki/index.php/MixingCompilers ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ MinGW-users mailing list Min...@li... You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ |