Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-01

Smartlinking

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Carsten Bager

I have built a Windows cross compiler for ARM It is working fine without smartlinking. When I activate smartlinking I get this error:

Free Pascal Compiler version 2.0.2 [2005/12/16] for arm

Assembling arm2138reg
Assembling with smartlinking arm2138reg
/cygdrive/l/ARMBIN/AR: arm2138reg.slarm2138reg*.o: No such file or directory

Any good idears how I correct this error.
(I can see there is missing a slash or backslash in the filename, is this an error in the compiler?)
(Everything works fine under Linux)

Regards Carsten

Marco van de Voort
to Carsten Bager
Show quoted text 14 lines
I have built a Windows cross compiler for ARM It is working fine without smartlinking. When I activate smartlinking I get this error: Free Pascal Compiler version 2.0.2 [2005/12/16] for arm Assembling arm2138reg Assembling with smartlinking arm2138reg /cygdrive/l/ARMBIN/AR: arm2138reg.slarm2138reg*.o: No such file or directory Any good idears how I correct this error. (I can see there is missing a slash or backslash in the filename, is this an error in the compiler?) (Everything works fine under Linux)

Sounds like there was a backslash there, but the cygwin tools ate them. This is a problem in the cygwin tools.

Try to avoid cygwin binutils, and use mingw ones if available. There is a reason why we ship mingw ones :-)

P.s. have a look at the
pub/fpc/contrib/cross/ directory.

Peter Vreman
to Carsten Bager: I have built a Windows cross compiler for ARM It is working fine without smartlinking.…
Show quoted text 14 lines
I have built a Windows cross compiler for ARM It is working fine without smartlinking. When I activate smartlinking I get this error: Free Pascal Compiler version 2.0.2 [2005/12/16] for arm Assembling arm2138reg Assembling with smartlinking arm2138reg /cygdrive/l/ARMBIN/AR: arm2138reg.slarm2138reg*.o: No such file or directory Any good idears how I correct this error. (I can see there is missing a slash or backslash in the filename, is this an error in the compiler?) (Everything works fine under Linux)

You are using cygwin, this is a mixture of windows and unix. There is no explicit support for it in fpc so there can be failures under win32 because fpc expects a cmd.exe shell and not a unix like sh shell.

Carsten Bager
to Marco van de Voort: Sounds like there was a backslash there, but the cygwin tools ate them. This is a problem…
Show quoted text 23 lines
> I have built a Windows cross compiler for ARM It is working fine > without smartlinking. When I activate smartlinking I get this error: > > Free Pascal Compiler version 2.0.2 [2005/12/16] for arm > > Assembling arm2138reg > Assembling with smartlinking arm2138reg > /cygdrive/l/ARMBIN/AR: arm2138reg.slarm2138reg*.o: No such file > or directory > > Any good idears how I correct this error. > (I can see there is missing a slash or backslash in the filename, is this > an error in the compiler?) > (Everything works fine under Linux) Sounds like there was a backslash there, but the cygwin tools ate them. This is a problem in the cygwin tools. Try to avoid cygwin binutils, and use mingw ones if available. There is a reason why we ship mingw ones :-) P.s. have a look at the pub/fpc/contrib/cross/ directory.

In the file win32crossbinutils2005.zip I found what I needed Thank you

Regards Carsten

Carsten Bager Bøvlingbjerg El-automatik Brørupvænget 10 7650 Bøvlingbjerg Tlf. +4597885222 Fax +4597885434 www.beas.dk The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any other MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance. ---- File information ----------- File: Beas_Logo_1cm.bmp Date: 4 May 2004, 12:14 Size: 15720 bytes. Type: Unknown
Carsten Bager
to Marco van de Voort: Sounds like there was a backslash there, but the cygwin tools ate them. This is a problem…
Show quoted text 23 lines
> I have built a Windows cross compiler for ARM It is working fine > without smartlinking. When I activate smartlinking I get this error: > > Free Pascal Compiler version 2.0.2 [2005/12/16] for arm > > Assembling arm2138reg > Assembling with smartlinking arm2138reg > /cygdrive/l/ARMBIN/AR: arm2138reg.slarm2138reg*.o: No such file > or directory > > Any good idears how I correct this error. > (I can see there is missing a slash or backslash in the filename, is this > an error in the compiler?) > (Everything works fine under Linux) Sounds like there was a backslash there, but the cygwin tools ate them. This is a problem in the cygwin tools. Try to avoid cygwin binutils, and use mingw ones if available. There is a reason why we ship mingw ones :-) P.s. have a look at the pub/fpc/contrib/cross/ directory.

In the file win32crossbinutils2005.zip I found what I needed Thank you

Regards Carsten