Displaying 2 results from an estimated 2 matches for "function_import".
2019 Jan 25
2
How to generate .bc file using configure && make on Mac OS X?
Hi,
I use the following commands to compile a GNU package to .bc files on Linux.
./configure CC=clang RANLIB=llvm-ranlib CFLAGS=-flto
LDFLAGS=-Wl\,-plugin-opt=save-temps\ -flto\ -fuse-ld=gold
make
But since it uses ld.gold, it won't work on Mac OS X. Is there
something equivalent that works on Mac OS X? Thanks.
--
Regards,
Peng
2019 Jan 28
2
How to generate .bc file using configure && make on Mac OS X?
...T 0
| #define COND_COMMAND 1
| #define COND_REGEXP 1
| #define COPROCESS_SUPPORT 1
| #define ARITH_FOR_COMMAND 1
| #define NETWORK_REDIRECTIONS 1
| #define PROGRAMMABLE_COMPLETION 1
| #define DEBUGGER 1
| #define CASEMOD_ATTRS 1
| #define CASEMOD_EXPANSIONS 1
| #define GLOBASCII_DEFAULT 1
| #define FUNCTION_IMPORT 1
| #define MEMSCRAMBLE 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3819: error: in `/Users/pengy/homebake/work/bash/build/Linux/y':
configure:3821: error: C compiler cannot create executables
===
--
Regards,
Peng