|
From: | Thomas Dineen |
Subject: | Re: [Mingw-cross-env-list] Some Library Build Questions |
Date: | Mon, 12 Sep 2011 19:16:13 -0700 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 |
Hi Volker: Yes I read the tutorial, and correct me if I am wrong, it seems to focus on the steps required to set up the build to call the cross environment tools and set the required paths. But for building libraries are there any secret sauce command line switches that I have missed? As represented in the questions below? For example I successfully built and ran a GTK example in the cross environment which required the following: -mms-bitfields 1) What about 32 bit versus 64 bit? This all runs 32 bit right? Is the default (meaning no command line switch) in this environment 32bit? 2) Some libraries have a --static command line parameter. These libraries should all be compiled as static? With the -static parameter? 3) Beyond doing a link to a test application, what unix tool will tell me that I have succeeded in producing library of the proper format for MS linking and execution? File and objdump are my old favorites but do not seem to be helping here. Thomas Dineen On 9/12/2011 1:23 PM, Volker Grabsch wrote:
Thomas Dineen schrieb:Please note that I have reviewed the materials on your web site entitled "Guidelines For Creating Packages" The materials presented there seem focused on adding packages to the cross environment. I am looking for guidance on building applications and libraries with the Cross Environment tools, which would not necessarily become part of the cross compile environment.You might want to have a look at our tutorial: http://mingw-cross-env.nongnu.org/#tutorial In particular, the steps 5a, 5b, etc seem to cover your topics. Sorry for not answering all your questions. Feel free to ask again after you've read the tutorial. Also, feel free to propose corrections and additions. The most convenient way to do it is checking out our development version, and proposing a patch for the doc/index.html file. http://mingw-cross-env.nongnu.org/#development Please note that the HTML file has some kind of "coding style" (regarding idention etc), and should be handled with the same care as all other source code. No offense intended, but sometimes people don't think that HTML source should be readable, so I'd like to make this clear upfront. Greets, Volker
[Prev in Thread] | Current Thread | [Next in Thread] |