01-07-2005, 05:53 AM
I'm trying to port a dll header to freebasic but it's not going to work without a .dll.a file. Does anyone have the tool nek made to do it, since nodtveit is down?
Does anyone have a copy of the utility to make .dll.a files?
|
01-07-2005, 05:53 AM
I'm trying to port a dll header to freebasic but it's not going to work without a .dll.a file. Does anyone have the tool nek made to do it, since nodtveit is down?
01-07-2005, 07:33 AM
Adosorken ( http://fb.nodtveidt.net ) wrote a batch file with the needed tools to do that ( posted here: http://forum.qbasicnews.com/viewtopic.php?t=7740 ).
His site is down, so I post ( @ Adosorken - hope you don't mind... ) the readme file and the batch file: makea.txt
01-07-2005, 07:42 AM
You can get dlltool and pexports from the mingw package.
And no, I don't mind fsw actually, I believe you can get this file on freebasic.tk as well...
I'd knock on wood, but my desk is particle board.
01-07-2005, 08:33 AM
Here for those without guts to download mingw:
http://hybd.net/~mms/fb/pexports.exe (13kb) http://hybd.net/~mms/fb/dlltool.exe (187kb)
01-07-2005, 08:47 AM
Thanks everyone. Now my evil port of SDL_Net can finally commence and fail miserably! MWAHAHAHAHAHA!
(actually, I've already managed to get the init going -- I only want to be able to toss TCP packets around, after all)
01-07-2005, 10:35 PM
Hey, I get this error when trying to make the .dll.a file for a library (is is a valid win32 dll):
Code: E:\freeBASIC\bin>makea zlib1 I'm screwbarred, aren't I?
Life is like a box of chocolates', hrm, WTF, no it isn't, more like, 'life is like a steaming pile of horse crap.'
01-09-2005, 12:24 PM
It is strange. If I run "makea sth.dll", I get the same error. But "makea sth" runs ok.
01-09-2005, 12:36 PM
I found the problem with zlib (freeimage also did this and they gave a solution). You need sed.exe for non-VC compiled stuffs since the PE image doesn't exist as such.
Life is like a box of chocolates', hrm, WTF, no it isn't, more like, 'life is like a steaming pile of horse crap.'
01-09-2005, 12:40 PM
Quote:It is strange. If I run "makea sth.dll", I get the same error. But "makea sth" runs ok.There's nothing strange about that. If you had read the instructions for makea, you'd have noticed that you are required to leave out the .dll extension or the process will fail.
I'd knock on wood, but my desk is particle board.
01-09-2005, 12:41 PM
My question:
I have get libpython23.dll.a by Adosorken's makea.bat and here is the fbc code Code: Declare Function Py_Initialize Lib "python23" Alias "Py_Initialize" () As Long Quote:py.o(.text+0x2f):fake: undefined reference to `Py_Initialize@0'what is the matter? |
« Next Oldest | Next Newest »
|