[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnumake, windows and backslashes

From: Earnie Boyd
Subject: Re: gnumake, windows and backslashes
Date: Fri, 11 Apr 2003 07:29:03 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130

address@hidden wrote:

I'm using gnumake 3.77 or 3.79.1 under Windows 2000 and the following
problem occurs:

When make calls my compiler (via process_begin), all the backslashes in the
command have gone. The command is printed correctly with all the
backslashes in place, but the compiler is called without them.

Unfortunately  I can't use slashes because my compiler doesn't like them.

Sounds like you need a new compiler! :) Seriously, there is no reason for your compiler to enforce the backslash directory delimiter rule. All of the functions provided by MS accept a forward slash for directory delimiter.

What can I do to get my backslashes in place?

Use two backslashes.

Here's a part of my makefile:
--- cut here ---
AS = as308
AFLAGS = -Oobj

# Assemble
obj\ncrt0.r30 : asm\ncrt0.a30

obj\\ncrt0.r30 : asm\\ncrt0.a30

Earnie. (Minimalist GNU for Windows)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]