4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Compiling C code files to Linux
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
kepler
Junior WebHelper
Junior WebHelper


Joined: 08 Feb 2002
Posts: 37

PostPosted: Sat Oct 23, 2004 6:36 pm (13 years, 1 month ago) Reply with QuoteBack to Top

Hi,

I've got a serious problem my friends; my system is win32 with Windows XP running. But the c code files I program must be ready to run in Linux - because of the webserver platform. I have DJGPP, but I was never able to build it as a cross compiler(host=win32 and target=Linux ).
The files, are versions of the same software - a astronomy software to run in a webserver ( at cosmos.com.pt ), so the releases are from month to month ( or even more spaced in reality ).

I was wondering if someone could compile them for me as a favour - I would send the code by mail of course ( usually, zipped, is 70 kb long )

Can someone help me?

Best regards,

Kepler
OfflineView User's ProfileFind all posts by keplerSend Personal Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Sat Oct 23, 2004 9:41 pm (13 years, 1 month ago) Reply with QuoteBack to Top

I might be able to do that for you; will scripts be included to build it (i.e. something like automake), or would I have to manually run lots of cc commands?

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
kepler
Junior WebHelper
Junior WebHelper


Joined: 08 Feb 2002
Posts: 37

PostPosted: Sun Oct 24, 2004 9:18 am (13 years, 1 month ago) Reply with QuoteBack to Top

Hi,

Thanks for replying. No, I've already made a makefile.unx
You just have to type "make -f makefile.unx" ( I think that this is the command), and the compiler does the rest.

Best regards,

Kepler
OfflineView User's ProfileFind all posts by keplerSend Personal Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Sun Oct 24, 2004 9:39 am (13 years, 1 month ago) Reply with QuoteBack to Top

Ah, in that case I'm happy to help Smile Shall I PM you my email address?

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
kepler
Junior WebHelper
Junior WebHelper


Joined: 08 Feb 2002
Posts: 37

PostPosted: Sun Oct 24, 2004 9:53 am (13 years, 1 month ago) Reply with QuoteBack to Top

Good morning,

Yes, please send me a PM with your email address. Thank you very much for helping me out.

Kind regards,

Kepler
OfflineView User's ProfileFind all posts by keplerSend Personal Message
kepler
Junior WebHelper
Junior WebHelper


Joined: 08 Feb 2002
Posts: 37

PostPosted: Sun Oct 24, 2004 10:26 am (13 years, 1 month ago) Reply with QuoteBack to Top

Ah, just one question: wich compiler do you use?

Regards,

Kepler
OfflineView User's ProfileFind all posts by keplerSend Personal Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Sun Oct 24, 2004 11:21 am (13 years, 1 month ago) Reply with QuoteBack to Top

On Linux I have GCC 3.2.3 (that's Red Hat Enterprise Linux 3), and I can also compile on FreeBSD using GCC 3.4.2 (that's FreeBSD 5.3)

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.057057 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme