Re: problems building a .SO file on linux

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

 



Hi Jonathan,

I've seen this problem before.

The script file (the Makefile) had a CR/LF (0D 0A) line terminator, inconsistently on some lines. The CR was interpreted as part of the output name, and the ls command displayed the control character as ?.

Maybe that is what you are running into.

I blame CP/M (which used CR/LF (0D 0A) line terminators), which was used as the model for DOS, which was used as the model for Win16, which was used as the model for OS/2 1.x (16-bit) and 2.x+ (32-bit), and Win32.

Of course, there's more blame to go around. In the Apple camp, AppleDOS, ProDOS, GS/OS, Macintosh all the way up to OS 9 were using CR (0D) for the line ending. Ugh. With OS X, they made the switch to NL (0A) as the line ending -- without too much gnashing of teeth. (At one point, OS/2 and Windows NT 3.5 tried to make the switch to NL (0A), but there was too much legacy issues and the effort was abandoned. Alas.)

--Eljay

"The nice thing about standards is that there are so many to choose from."


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux