delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/07/01:50:47

From: "Franco Antico" <antico AT mindspring DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Help with compiling FSU pthreads in Win98
Date: Tue, 6 Jul 1999 14:34:40 -0400
Organization: MindSpring Enterprises
Lines: 58
Message-ID: <7lti60$i4l$1@nntp1.atl.mindspring.net>
NNTP-Posting-Host: a5.f7.48.7c
X-Server-Date: 6 Jul 1999 18:33:36 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi all,

    I am new to djgpp and I am sure that you all have seen
something like this before, but I'd appreciate any help...

    I am trying to get FSU's pthreads package to compile on
Win98. I unzipped the pthreads.zip package preserving all
long file names.
    There is a simple configure.bat that copies the "correct"
makefile to a file named Makefile so that make can run it.

    So far so good. Now I run make and I get:

C:\djgpp\threads\src>make
copy ../include/pthreadconfig.h config_internals.h
Invalid switch - /include
gcc -I../include  -O2 -DC_CONTEXT_SWITCH -DCLEANUP_HEAP -D_POSIX -D__dos__ -
DSRP
 -DC_INTERFACE -DINTERNALS -o config_header2 config_header.c
In file included from config_header.c:35:
signal_internals.h:33: ../src/config_internals.h: No such file or directory
(ENO
ENT)
In file included from config_header.c:36:
internals.h:33: ../src/config_internals.h: No such file or directory
(ENOENT)
make.exe: *** [config_header2] Error 1

    After this I took a first glance at the Makefile itself, and it seems
the
directory slashes are all the wrong ones for DOS (indicated by Invalid
switch?).
Moreover it looks like the amount  of editing involved would be about the
same
as hand compiling the sources sans makefile.

    Now the configure.bat warns that:

This DOS port assumes filename of style 8.3 (8 chars base name, 3 ext)
It may only work correctly under Windows95 if the Makefile is edited.

    Ok, but what do I edit? A bunch of the sources have long
file names. How do I get around this? I saw there is a way to
turn off numeric tails and force Win98 to truncate file names that
are greater than 8.3. Can this help?

    I have been running gxx with no problems. I have long file names enabled
in djgpp.env, and I have simply respected the 8.3 convention, and everything
runs
fine windowed in Win98.

thanks for your help,
Franco





- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019