delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/12/20:11:46

From: "Tom Arild Nęss" <tan AT tandbergtv DOT no>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: make problems
Date: Thu, 12 Aug 1999 17:00:55 +0200
Lines: 35
Message-ID: <7ounj2$hs8$1@elle.eunet.no>
References: <7ordb3$ejf$1 AT elle DOT eunet DOT no> <37B2B84B DOT 52CFE26D AT gmx DOT de>
NNTP-Posting-Host: 195.1.63.5
X-Newsreader: Microsoft Outlook Express 4.72.2106.4
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Marcus Rohrmoser wrote in message <37B2B84B DOT 52CFE26D AT gmx DOT de>...
>"Tom Arild Nęss" wrote:
>>
>> Hello!
>>
>> I'm having a problem using the DJGPP make in combination with the Lattice
C
>> compiler (for M68K processors). The output looks like this:
>>
>> > make test.o
>> lc -cf -b0 -r0 -v -ccw -s -m2 -o.\ test
>   ^^^
>
>This directs the output into a file named ". test" which isn't possible
>on DOS filesystems. Use "-o./test" to get a file named "test" in the
>current directory.


Close, but I just figured out the solution myself. The '-o.\' does not apply
to test, but tells that the object file should be written to the current
directory. This must be done, since some of the c-files resides in other
directories.

The solution was really simple. When make was ported from UNIX, the '/' was
presereved as a directory separator, instead of '\'. This meant that the
'-o.\' simply had to be written as '-o./'.

But thanks for the help anyway. :)

--
Tom



- Raw text -


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