We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
How do I compile my project into a Library (*.LIB)? Where can I get more information regarding this topic?
It's just as easy as building a normal application. Just check the box for building a library in the project options, tab "Output".
[Sigh, doesn't anybody read any documentation any more these days?]
You don't even have to read documentation - it's a checkbox clearly marked 'Create Library'
Anyone who really can't spot that in a GUI is really going to struggle with reading documentation:
http://www.keil.com/support/man/docs/uv3/uv3_dg_output.htm
I'm not using the Keil IDE!!!!!!!!!!!!!!! Only the command line compiler from another editor. So NO there is no checkbox labeled "CREATE LIBRARY"
http://www.keil.com/support/man/docs/lib51/
I'm not using the Keil IDE!!!!!!!!!!!!!!!
Why the many exclamation marks?
Don't you think that you should have started your original post with the information that you where not using the IDE?
You have to realize that it is you who will decide the quality of the answers you receive by the quality of your own posts. Live and learn!
if not exist amc.lib goto usliex del amc.lib :usliex c:\tools\keil\c51\bin\lib51 c amc.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a MCmain.obj to amc.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a MCutil.obj to amc.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a MCautil.obj to amc.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a MCiic.obj to amc.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a MCiicutl.obj to amc.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a MCcmd.obj to amc.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a MCvfd.obj to amc.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a MCdr600.obj to amc.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a MCupld.obj to amc.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a MCtool.obj to amc.lib >..\trash\trashbin
Erik
why is text between pre and /pre folding???
I try not to have tabs in anything, this piece did
Per
There is a difference between a quality answer to a post and some sarcastic non-relevant personal opinion. If someone want to reply to a post, they should keep it to the topic and do not try to prove their personal ethics and opinions.
MC
Per: Don't you think that you should have started your original post with the information that you where not using the IDE?</i?
MC: There is a difference between a quality answer to a post and some sarcastic non-relevant personal opinion
If "state everyting when posting a question" is Pers "personal opinion", it is my "personal opinion" as well.
MC Poindexter,
There is a difference between a quality question and a one that does not clearly state all the relevant information.
I didn't say Per's reply was a personal opinion and sarcastic but the reply from Andy Neil.
"You don't even have to read documentation - it's a checkbox clearly marked 'Create Library'
Anyone who really can't spot that in a GUI is really going to struggle with reading documentation:"
Again, if you had made clear in your question that you were not using the GUI, I wouldn't have made that comment to you. Note that it's substantially the same as the comment from Hans-Bernhard Broeker.
Now that we know that you're not using the GUI, clearly that comment doesn't apply to you - but your original question still doesn't give any indication that you'd made much effort with the manuals, does it?
Unfortunately, there are all too many examples on this forum where people are using the GUI and yet still ask the same question...
Unfortunately, there are all too many examples on this forum where people are using the GUI and yet still ask the same question... methinks that is due to "too many examples" of people that skip "crawl, then walk, then .." but go directly to 'run'. That is a known method for breaking a leg. Of course, the first you do after breaking a leg is to holler 'help'
1. I posted a vague question 2. Andy was sarcastic and rude 3. Erik tried to help and then misunderstood 4. For reply #10 I don't have much to say 5. Andy apologized in some way 6. And I am apologizing too
(Sorry and thanks guys)
Now that it is all clear
Lets enjoy n Happy New year!!
We are (or at least have been) enjoying a great New Year!
One method often used by people who prefer make files is to open the GUI tool once, and perform a full build. Some GUI have an option to export the project to a Makefile, but most other GUI still allow you to see the command lines run, allowing the user to see all relevant command line steps and options needed to build a project.
"Some GUI have an option to export the project to a Makefile"
Not uVision.
:-(
But uVision does have the option to export to a Batch file - which would still show all the relevant steps, command-lines, etc.
The uVision dialogues also show the resulting command lines, and I think all of the tool listing files show the command-line options used...