0

I'm trying to compile a sample code that should work both on Solaris and Linux. The make file on solaris run the command "lorder". There is a similar command for linux?

Thanks

Ciccio
  • 11
  • `lorder` is available under some GNU/Linux distributions (e.g. Debian GNU/Linux 9 (stretch)). What is yours? And, if it hasn't `lorder`by default, did you check what's available from your package manager? – Renaud Pacalet Oct 15 '18 at 07:55
  • Possible duplicate of [How do I determine the fastest link order?](https://stackoverflow.com/questions/13367377/how-do-i-determine-the-fastest-link-order). No equivalent is needed, so just **`:`** works in makefiles. – Thomas Dickey Oct 15 '18 at 08:20

1 Answers1

0

lorder command was finding object files, I remember. I think you can use the updatedb and locate * .o command.

updatedb
locate *.o
Ozgur
  • 1
  • 1