New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re: $(LD_OUT) can't have a space after it for MS linking. #1056
Comments
From @doughera88In the 'ins' branch, build/Makefile.in looks like it's heading down the The problem is that while MS forbids a space, Solaris 8 requires one. -- |
From @pmichaudOn Fri, Jun 12, 2009 at 11:36:31AM -0700, Andy Dougherty wrote:
Rakudo simply uses parrot_config to get most of its build information, #2 doesn't seem all that enticing to me and seems like it will result Pm |
The RT System itself - Status changed from 'new' to 'open' |
From @doughera88
This patch implements the "similar aproach". I can't test this because Inline Patchdiff --git a/build/Makefile.in b/build/Makefile.in
index 16b23c2..afa7e0a 100644
--- a/build/Makefile.in
+++ b/build/Makefile.in
@@ -10,11 +10,9 @@ PARROT_INCLUDE_DIR = @includedir@$(PARROT_VERSION)
PARROT_LIB_DIR = @libdir@$(PARROT_VERSION)
PARROT_SRC_DIR = @srcdir@$(PARROT_VERSION)
-CC = @cc@ -c
-CC_OUT = @cc_o_out@
+CC = @cc@
CFLAGS = @ccflags@ @cc_shared@ @cc_debug@ @ccwarn@ @cc_hasjit@ @cg_flag@ @gc_flag@
LD = @ld@
-LD_OUT = @ld_out@
LDFLAGS = @ldflags@ @ld_debug@
LD_LOAD_FLAGS = @ld_load_flags@
LIBPARROT = @inst_libparrot_ldflags@
@@ -367,9 +365,9 @@ $(DYNPMC): $(PMC_SOURCES)
$(PMC2C) --dump $(PMC2C_INCLUDES) $(PMC_SOURCES)
$(PMC2C) --c $(PMC2C_INCLUDES) $(PMC_SOURCES)
$(PMC2C) --library $(GROUP) --c $(PMC_SOURCES)
- $(CC) $(CC_OUT) $(GROUP)$(O) -I$(PMC_DIR) $(CINCLUDES) $(CFLAGS) $(GROUP).c
- cd $(PMC_DIR) && $(CC) $(CINCLUDES) $(CFLAGS) *.c
- $(LD) $(LD_OUT)$(DYNPMC) $(GROUP)$(O) src/pmc/*$(O) $(LINKARGS)
+ $(CC) -c @cc_o_out@$(GROUP)$(O) -I$(PMC_DIR) $(CINCLUDES) $(CFLAGS) $(GROUP).c
+ cd $(PMC_DIR) && $(CC) -c $(CINCLUDES) $(CFLAGS) *.c
+ $(LD) @ld_out@$(DYNPMC) $(GROUP)$(O) src/pmc/*$(O) $(LINKARGS)
DYNOPS_TARGETS = \
$(OPS_DIR)/$(OPS)$(LOAD_EXT) \
@@ -382,22 +380,22 @@ $(DYNOPS): $(DYNOPS_TARGETS)
$(OPS_DIR)/$(OPS)$(LOAD_EXT): $(OPS_DIR)/$(OPS_SOURCE)
cd $(OPS_DIR) && $(OPS2C) C --dynamic $(OPS_SOURCE)
- cd $(OPS_DIR) && $(CC) $(CC_OUT) $(OPS)$(O) $(CINCLUDES) $(CFLAGS) $(OPS).c
- cd $(OPS_DIR) && $(LD) $(LD_OUT)$(OPS)$(LOAD_EXT) $(OPS)$(O) $(LINKARGS)
+ cd $(OPS_DIR) && $(CC) -c @cc_o_out@$(OPS)$(O) $(CINCLUDES) $(CFLAGS) $(OPS).c
+ cd $(OPS_DIR) && $(LD) @ld_out@$(OPS)$(LOAD_EXT) $(OPS)$(O) $(LINKARGS)
$(OPS_DIR)/$(OPS)_switch$(LOAD_EXT): $(OPS_DIR)/$(OPS_SOURCE)
cd $(OPS_DIR) && $(OPS2C) CSwitch --dynamic $(OPS_SOURCE)
- cd $(OPS_DIR) && $(CC) $(CC_OUT) $(OPS)_switch$(O) $(CINCLUDES) $(CFLAGS) $(OPS)_switch.c
- cd $(OPS_DIR) && $(LD) $(LD_OUT)$(OPS)_switch$(LOAD_EXT) $(OPS)_switch$(O) $(LINKARGS)
+ cd $(OPS_DIR) && $(CC) -c @cc_o_out@$(OPS)_switch$(O) $(CINCLUDES) $(CFLAGS) $(OPS)_switch.c
+ cd $(OPS_DIR) && $(LD) @ld_out@$(OPS)_switch$(LOAD_EXT) $(OPS)_switch$(O) $(LINKARGS)
$(OPS_DIR)/$(OPS)_cg$(LOAD_EXT): $(OPS_DIR)/$(OPS_SOURCE)
cd $(OPS_DIR) && $(OPS2C) CGoto --dynamic $(OPS_SOURCE)
- cd $(OPS_DIR) && $(CC) $(CC_OUT) $(OPS)_cg$(O) $(CINCLUDES) $(CFLAGS) $(OPS)_cg.c
- cd $(OPS_DIR) && $(LD) $(LD_OUT)$(OPS)_cg$(LOAD_EXT) $(OPS)_cg$(O) $(LINKARGS)
+ cd $(OPS_DIR) && $(CC) -c @cc_o_out@$(OPS)_cg$(O) $(CINCLUDES) $(CFLAGS) $(OPS)_cg.c
+ cd $(OPS_DIR) && $(LD) @ld_out@$(OPS)_cg$(LOAD_EXT) $(OPS)_cg$(O) $(LINKARGS)
$(OPS_DIR)/$(OPS)_cgp$(LOAD_EXT): $(OPS_DIR)/$(OPS_SOURCE)
cd $(OPS_DIR) && $(OPS2C) CGP --dynamic $(OPS_SOURCE)
- cd $(OPS_DIR) && $(CC) $(CC_OUT) $(OPS)_cgp$(O) $(CINCLUDES) $(CFLAGS) $(OPS)_cgp.c
- cd $(OPS_DIR) && $(LD) $(LD_OUT)$(OPS)_cgp$(LOAD_EXT) $(OPS)_cgp$(O) $(LINKARGS)
+ cd $(OPS_DIR) && $(CC) -c @cc_o_out@$(OPS)_cgp$(O) $(CINCLUDES) $(CFLAGS) $(OPS)_cgp.c
+ cd $(OPS_DIR) && $(LD) @ld_out@$(OPS)_cgp$(LOAD_EXT) $(OPS)_cgp$(O) $(LINKARGS)
--
Andy Dougherty doughera@lafayette.edu |
From @pmichaudOn Fri Jun 12 11:36:31 2009, doughera wrote:
I've started a new branch ("ins2") based on a more recent Rakudo and the Thanks! Pm |
From @doughera88On Fri, 24 Jul 2009, Patrick R. Michaud via RT wrote:
Yes, I think that fixes the space problem for Solaris, and, as far as I Unfortunately, I've been unable to test it. Building parrot with Sun's Still, the generated Makefile looks ok to me on Solaris. -- |
From @pmichaudOn Mon, Jul 27, 2009 at 11:56:14AM -0700, Andy Dougherty via RT wrote:
Is Rakudo trunk able to build on Solaris, or is it just the 'ins2' Pm |
From @doughera88On Wed, 29 Jul 2009, Patrick R. Michaud via RT wrote:
I don't know for sure, but I'd expect trunk to behave similarly. That -- |
From @doughera88The problem on Solaris 8 is fixed in the ins2 branch by commit 69c123146f851c28fb562ca0b217c01d4610ed26 Clean up compiler flags for certain compilers (RT #66558) |
From [Unknown Contact. See original ticket]The problem on Solaris 8 is fixed in the ins2 branch by commit 69c123146f851c28fb562ca0b217c01d4610ed26 Clean up compiler flags for certain compilers (RT #66558) |
@doughera88 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#66558 (status was 'resolved')
Searchable as RT66558$
The text was updated successfully, but these errors were encountered: