www.digitalmars.com         C & C++   DMDScript  

c++ - Path separator confusion in linker

reply "Matthew Wilson" <dmd synesis.com.au> writes:
The compiler works fine with / as well as \, whereas the linker does not.
This is ... hours later ... somewhat of a confounding contradiction. :(
Apr 06 2003
parent reply "Walter" <walter digitalmars.com> writes:
"Matthew Wilson" <dmd synesis.com.au> wrote in message
news:b6r6j4$vrg$1 digitaldaemon.com...
 The compiler works fine with / as well as \, whereas the linker does not.
 This is ... hours later ... somewhat of a confounding contradiction. :(

That's another artifact of following the Microsoft convention of using / for switches. Optlink is command compatible with most Microsoft linkers.
Apr 07 2003
parent "Matthew Wilson" <dmd synesis.com.au> writes:
IC.

I can live with it.

:)

"Walter" <walter digitalmars.com> wrote in message
news:b6sjm5$crt$3 digitaldaemon.com...
 "Matthew Wilson" <dmd synesis.com.au> wrote in message
 news:b6r6j4$vrg$1 digitaldaemon.com...
 The compiler works fine with / as well as \, whereas the linker does


 This is ... hours later ... somewhat of a confounding contradiction. :(

That's another artifact of following the Microsoft convention of using /

 switches. Optlink is command compatible with most Microsoft linkers.

Apr 07 2003