Opened 16 years ago

Closed 16 years ago

#2770 closed bug (fixed)

Problem compiling with c++ when directory has space(s) in it

Reported by: scottmc Owned by: bonefish
Priority: normal Milestone: R1
Component: Build System Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Try this:

c++ -o foo.o -c "/boot/home/Sub Dir Spaces/test.cxx"
and:
g++ -o foo.o -c "/boot/home/Sub Dir Spaces/test.cxx"

where test.cxx is just a simple program.
With the c++ line you get this error on Haiku:
g++: cannot specify -o with -c or -S and multiple compilations but the g++ compiles it just fine.

Attachments (1)

screen1.png (86.0 KB ) - added by scottmc 16 years ago.
c++ vs. g++ with spaces in directory name. This was with hrev27718

Download all attachments as: .zip

Change History (2)

by scottmc, 16 years ago

Attachment: screen1.png added

c++ vs. g++ with spaces in directory name. This was with hrev27718

comment:1 by bonefish, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev27738.

Note: See TracTickets for help on using tickets.