Trying your example using v5.5 I now get 7 errors similar to this one:
Unresolved external '_allegro_install' referenced from d:\bcc55\bin\test.obj.
Include one concerning the WinMain function.
I get these errors using your command line example.
Incase it's a configuration problem here's the files contents.