PDA

View Full Version : Compiling for linux->.so


~Shady~
25th June 2006, 14:42
First off all: I DIDNT SEARCH for it because search function doesnt work..
soo here my question how to compile for linux (.so files)
Im lost for it soo help me out:)

tq

nUllSkillZ
25th June 2006, 15:35
There's a sticky thread:
Compiling a mod under GNU/Linux (http://www.splashdamage.com/index.php?name=pnPHPbb2&file=viewtopic&t=6510)

~Shady~
25th June 2006, 15:57
FOR linux not UNDER linux ;)

Jaquboss
25th June 2006, 16:58
for means under :)
that doesn't apply on compiling for win under linux

~Shady~
25th June 2006, 18:13
hooooooooooo i only want to know how i can compile my file's to a .so file or what ever soo a server on linux can run the mod

Lanz
25th June 2006, 19:11
If you mean compiling a linux binary from a windows machine, good luck. It might very well be possible but I don't know of anyone that has documented a way to do it.

Don't have to high hopes that someone will give you an how-to guide anyway.

kamikazee
25th June 2006, 19:16
It should be possible, but I think it implies that you need to build a windows based version of GNU's C compiler.

In that case, it's even easier to get an Linux distro like (K)Ubuntu and compile it from there.

SCDS_reyalP
25th June 2006, 19:31
You should be able to do it from cygwin, but it would require quite a bit of work unless you are already familiar with setting up cross compile environments with GCC. It is almost certainly easier just to run linux in some way (vmware, dual boot, live cd, find some random pentium II for free...)

~Shady~
28th June 2006, 16:08
hmm i will ask a friend to compile it he is under linux thought about it anyway because my c program doesnt compile for it anyway but thanx for help all

P4nth3r
3rd July 2006, 08:29
I think it was possible with VS6 but that probably won't run under SP2 =/
I just send the code to somebody with a linux machine and let him compile it for me.

Greetz Panther

kamikazee
3rd July 2006, 09:28
I think it was possible with VS6 but that probably won't run under SP2 =/Visual C++ 6 runs on a Windows install with SP2.
But I have no clue on how to compile those binaries for Linux using a Microsoft program. I just use my Linux install.

SCDS_reyalP
3rd July 2006, 21:42
But I have no clue on how to compile those binaries for Linux using a Microsoft program.
You cannot.

Hewster
8th July 2006, 15:29
ROFL I love how you put things so clearly reyalP :)

In my experience, you can use a linux distro whichs runs directly from CD like "knoppix" (spelling)
but remeber I had trouble getting it to work.

Since I invested in VMWARE all my cross OS problems are solved :)

Oh yeah @~Shady~ simplest thing to-do is ask a friend to compile for you ;)

Hewster

~Shady~
9th July 2006, 16:49
ok well i will try ;) tq all