Compiling for linux->.so


(~Shady~) #1

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) #2

There’s a sticky thread:
Compiling a mod under GNU/Linux


(~Shady~) #3

FOR linux not UNDER linux :wink:


(Jaquboss) #4

for means under :slight_smile:
that doesn’t apply on compiling for win under linux


(~Shady~) #5

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) #6

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) #7

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) #8

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~) #9

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) #10

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) #11

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) #12

You cannot.


(Hewster) #13

ROFL I love how you put things so clearly reyalP :slight_smile:

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 :slight_smile:

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

Hewster


(~Shady~) #14

ok well i will try :wink: tq all