Re: .s file causing problems when linking

2008-07-24 Thread Brian Dessent
Nathan Thern wrote: > That sounds great. However, I can't get it to work: > "gcc -o scheme.exe *.o -Wl,--out-implib,scheme.dll.a" creates a > working scheme.exe, but silently doesn't create scheme.dll.a > and For the last time, please read the link I gave. Specifically this part: > However, k

Re: .s file causing problems when linking

2008-07-23 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nathan Thern wrote: | That sounds great. However, I can't get it to work: | "gcc -o scheme.exe *.o -Wl,--out-implib,scheme.dll.a" creates a | working scheme.exe, but silently doesn't create scheme.dll.a | and | "gcc -shared -o scheme.exe *.o -Wl,--o

Re: .s file causing problems when linking

2008-07-23 Thread Nathan Thern
On Tue, Jul 22, 2008 at 7:19 PM, Brian Dessent <[EMAIL PROTECTED]> wrote: > Nathan Thern wrote: >> I'm following the build instructions for generic x86 *nix, going under >> the assumption that cygwin fits in that category. I believe the > Cygwin can't change the fact that fundamentally these are di

Re: .s file causing problems when linking

2008-07-22 Thread Brian Dessent
Nathan Thern wrote: > I'm following the build instructions for generic x86 *nix, going under > the assumption that cygwin fits in that category. I believe the Cygwin can't change the fact that fundamentally these are different operating systems, so for example linking works differently as does th

Re: .s file causing problems when linking

2008-07-22 Thread Nathan Thern
On Tue, Jul 22, 2008 at 4:01 PM, Brian Dessent <[EMAIL PROTECTED]> wrote: > You seem to have two separate issues here. >> The main executable is created with this command: >> > gcc -o scheme.exe cmpauxmd.o > > Wait, are you saying that you need to export symbols from the executable > that will be

Re: .s file causing problems when linking

2008-07-22 Thread Brian Dessent
Brian Dessent wrote: > typing things twice I'll just provide a link: > . Sorry, I meant to link to the last reply in that thread, i.e. -- Unsubscribe info: http://

Re: .s file causing problems when linking

2008-07-22 Thread Brian Dessent
Nathan Thern wrote: You seem to have two separate issues here. > The main executable is created with this command: > > gcc -o scheme.exe cmpauxmd.o Wait, are you saying that you need to export symbols from the executable that will be imported by another module? If so then the above is not suf

.s file causing problems when linking

2008-07-22 Thread Nathan Thern
I am attempting to compile MIT/GNU Scheme on cygwin. The build proceeds fine through the main executable, but fails when linking a dynamically openable module. The main executable is created with this command: > gcc -o scheme.exe cmpauxmd.o cmpauxmd.o is created by: > ./makegen/m4.sh cmpauxmd.