|
From: <ky...@us...> - 2013-07-31 17:45:18
|
Revision: 650
http://sourceforge.net/p/euslisp/code/650
Author: kyouhei
Date: 2013-07-31 17:45:06 +0000 (Wed, 31 Jul 2013)
Log Message:
-----------
gcc on cygwin can't pass option to linker
Modified Paths:
--------------
trunk/EusLisp/lisp/Makefile.Cygwin
trunk/EusLisp/lisp/comp/comp.l
Modified: trunk/EusLisp/lisp/Makefile.Cygwin
===================================================================
--- trunk/EusLisp/lisp/Makefile.Cygwin 2013-07-30 08:20:57 UTC (rev 649)
+++ trunk/EusLisp/lisp/Makefile.Cygwin 2013-07-31 17:45:06 UTC (rev 650)
@@ -76,8 +76,7 @@
OFLAGS=-O2
# link-editor's default flags ?-rdynamic
-#SOFLAGS= -shared --allow-shlib-undefined --warn-unresolved-symbols --unresolved-symbols=ignore-all --warn-once --enable-extra-pe-debug --enable-auto-import
-SOFLAGS= -shared --export-all-symbols --unresolved-symbols=ignore-all --enable-runtime-pseudo-reloc
+SOFLAGS= -shared -Wl,--export-all-symbols -Wl,--unresolved-symbols=ignore-all -Wl,--enable-runtime-pseudo-reloc
LDFLAGS= -Wl,--out-implib=$(BINDIR)/$(@F).a -Wl,--export-all-symbols -Wl,--enable-auto-import
MTCOBJECTS= $(OBJDIR)/mthread.o $(OBJDIR)/mthread_posix.o
@@ -141,11 +140,3 @@
$(BINDIR)/eus:
@echo ";; Do not compile eus for Cygwin, Just symlink"
(cd $(BINDIR); rm -f eus.exe; ln -sf eusgl.exe eus.exe)
-
-
-
-
-
-
-
-
Modified: trunk/EusLisp/lisp/comp/comp.l
===================================================================
--- trunk/EusLisp/lisp/comp/comp.l 2013-07-30 08:20:57 UTC (rev 649)
+++ trunk/EusLisp/lisp/comp/comp.l 2013-07-31 17:45:06 UTC (rev 650)
@@ -1390,7 +1390,7 @@
(if (and (memq :cygwin *features*)
(not *kernel*))
(concatenate string
- "; gcc -shared -g -falign-functions=4 --export-all-symbols --unresolved-symbols=ignore-all --enable-runtime-pseudo-reloc -o "
+ "; gcc -shared -g -falign-functions=4 -Wl,--export-all-symbols -Wl,--unresolved-symbols=ignore-all -Wl,--enable-runtime-pseudo-reloc -o "
(namestring file.dll) " "
(namestring file.o) " "
*eusdir* (unix:getenv "ARCHDIR")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|