| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 58409 | 2005-05-31 02:36:00 | How to Compile C for linux | hamstar (4) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 359933 | 2005-05-31 02:36:00 | Hi guys, I got the source code for my favourite notepad app, Notepad2 (www.flos-freeware.ch) and it is in C, or C++ maybe. I want to compile it so it runs in linux, as wine doesn't do it justice... so how can I get it to compile, or do I have to change everthing to refer to linux things in the source. i have to do that dont I? |
hamstar (4) | ||
| 359934 | 2005-05-31 03:33:00 | yes | anacarda (8241) | ||
| 359935 | 2005-05-31 03:33:00 | It depends a lot on what you have got with the source code. If you have only one file called notepad2.c or .cc (and, probably, one called notepad2.h) you will have to learn quite a lot. If there's a whole directory-worth with README, INSTALL, sort of files and maybe a "Makefile" and any files with "configure" in the name you might be lucky. It all depends on how it was written. If the conditionals have been included so it is portable it shouldn't be too much trouble. If it was written for Windows only, you might find it to be a "challenge". Try "notepad2 linux" in Google. ;) I would just try some of the nice editors in Linux. joe suits me. ;) |
Graham L (2) | ||
| 1 | |||||