ahlstromcj/sequencer64

Won't compile using -pipe option

Closed this issue · 5 comments

Tried to compile using the -pipe option in order to lessen the use of the SSD, but it failed complaining about a file not found. (Sorry, cannot quote the error as I've lost the log.)

I export CFLAGS from .bashrc. Basically, I thought I'd speed things up and possibly save some SSD wear&tear as I have plenty of RAM. The process went fine for quite some time but then perhaps a file was explicitly being looked for... Shall I retry and send you the output?

I was able to get it to build, but I did find a bug in configure.ac that I fixed. Check out the latest midi_control branch. Either of these work:

$ CFLAGS="-pipe" ./bootstrap -ed

$ CFLAGS="-pipe" ./configure --enable-debug --disable-shared

Adjust for your build options. Of course, if you have "export CFLAGS="-pipe" in your .bashrc, that would cover all project that you build.

I updated the INSTALL file, too.

Aw sorry for not coming back with the logs. Anyway the fix works... Thanks! I haven't tried --with-alsamidi which I did use before but I assume it wouldn't matter.