Author Topic: Looking for this...  (Read 7323 times)

0 Members and 1 Guest are viewing this topic.

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
The Autoconf system is compatable with Cygwin. I can imagine that getting a full autoconf system would be a project to remember. :) I've used them before on Cygwin and PS2Linux and they're very convenient, but they take a while to run which tells me they'll take a lot longer to make. Personally, I'd settle for a GCC makefile, a Linux makefile, and of course the MSVC .dsp/.dsw files as an easy way of keeping everything seperate so stuff doesn't get mixed up. I have an old makefile (originally code.mak) that I've tried to bring up to date (mainly by changing all the file/folder names to lowercase) you might want to look at. I haven't gotten it to compile, but when it comes to editing makefiles I'm a novice. I also have no idea what changes have been made to the code since that makefile was made. (IIRC it was created from the .dsp file, which is something I'll have to look into now that I just remembered it, just have to try and remember the program name. Maybe, just maybe, running it on the new .dsp files will make a usable makefile.)
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Well, that dsw2mak awk script didn't really help. I have found some things that I don't get though.

1. Where the heck is NAME_MAX defined? I've seen other stuff defined as being NAME_MAX (in windows_stub/config.h) but I can't find an actual definition for NAME_MAX.

2. Where the heck is PATH_MAX defined? (See above.)

3. What is direct.h? Is that a DX8 header file? Anyone who wants to compile FS2 under Cygwin will need it and I'm not entirely sure what it is.
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline RandomTiger

  • Senior Member
  • 211
Is that PATH_MAX or MAX_PATH?

MAX_PATH is a windows define for the maximum path length, typically 512.

direct.h is not a DX file but it is a windows header.
« Last Edit: October 22, 2002, 05:13:50 am by 848 »

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
It's PATH_MAX because MAX_PATH is being defined as PATH_MAX.

#ifndef _MAX_PATH
#define _MAX_PATH PATH_MAX
#endif

#ifndef MAX_PATH
#define MAX_PATH PATH_MAX
#endif

#ifndef MAX_PATH_LEN
#define MAX_PATH_LEN PATH_MAX
#endif

#ifndef MAX_FILENAME_LEN
#define MAX_FILENAME_LEN NAME_MAX
#endif

#ifndef _MAX_FNAME
#define _MAX_FNAME NAME_MAX
#endif
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers