Link to home
Start Free TrialLog in
Avatar of muskad202
muskad202

asked on

porting linux code to windows (".a" libraries)

hi !!

i have a c++ prog .. i'm using it on linux, but it doesn't use any linux specific features .. use g++ to compile ..it uses a library (".a" + ".so.1" files)

i now need to make the code work on windows .. so i downloaded the Mingw compiler .. it compiles fine, but gives some linker errors ("function not found" .. these functions are present in the library files - ".a" + ".so.1") .. i've copied these 2 files to the lib folder of mingw .. but it doesn't seem to help ...

can anyone tell me wht i'm doing wrong ?? i thought mingw was able to link against ".a" files .. is there any other compiler that i could use ??

thanks :)
muskad202
ASKER CERTIFIED SOLUTION
Avatar of __init__
__init__

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of muskad202
muskad202

ASKER

unfortunately, i don't have the src of the library :(
thanks anywayz :)