|
|
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » How to produce target *.lib?
How to produce target *.lib? [message #2828] |
Thu, 27 April 2006 06:58  |
 |
fudadmin
Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
|
Ultimate Contributor Administrator |
|
|
How to produce target *.lib?
P.S. Or how to remove that ...:
Linking...
LIBC.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup
I don't need any main... and I don't want dll. And I don't want to spend time to use command line.
[Updated on: Thu, 27 April 2006 07:37] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: How to produce target *.lib? [message #3039 is a reply to message #3038] |
Thu, 04 May 2006 18:55   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
epigone wrote on Thu, 04 May 2006 12:45 | The details requested by fudadmin:
I've downloaded the bundle UPP+MinGW ver. 602 and installed it, since I'm trying to (slowly...) move away from Borland Builder.
First step, to me, would be to have re-built the *.lib files I was using previously with the other compiler and manage them like any other *.a files in the distribution.
I could not find the way to do that from inside TheIDE.
Since my knowledge on gcc and bintools usage are limited, I would prefer to do that from inside IDE (i.e. the way to do the things I got used with, plus laziness ...).
So, how do I use TheIDE and MinGW to build my *.a files ?
|
Actually, why do you need to make .a files? TheIDE way is to use packages - static libraries are just implementation detail...
OTOH, if you really desire to have .a, you can use this implementation detail to your advantage - TheIDE builds .a when producing release version. Simply create some empty main package, perform the build and gather them 
Mirek
|
|
|
Re: How to produce target *.lib? [message #3040 is a reply to message #3038] |
Thu, 04 May 2006 19:30  |
 |
fudadmin
Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
|
Ultimate Contributor Administrator |
|
|
epigone wrote on Thu, 04 May 2006 17:45 | The details requested by fudadmin:
I've downloaded the bundle UPP+MinGW ver. 602 and installed it, since I'm trying to (slowly...) move away from Borland Builder.
First step, to me, would be to have re-built the *.lib files I was using previously with the other compiler and manage them like any other *.a files in the distribution.
I could not find the way to do that from inside TheIDE.
Since my knowledge on gcc and bintools usage are limited, I would prefer to do that from inside IDE (i.e. the way to do the things I got used with, plus laziness ...).
So, how do I use TheIDE and MinGW to build my *.a files ?
|
1. Why "trying (slowly...)"? If you read our forums, people here start writing tutorials after 1 month with U++...
2. Why MingW? MS Express toolkit and SDK compile faster and are "native" for Win GUI, IMO...
3. If you still have problems, post one set of your "going-to-be -lib" files here (zipped) and I'll make an example for you.
|
|
|
Goto Forum:
Current Time: Sat Apr 26 23:11:11 CEST 2025
Total time taken to generate the page: 0.00955 seconds
|
|
|