First off all correct me if I'm wrong. I'm relatively new to llgo and golang.
I ran into a problem using external libraries for go and compiling them with llgo. It's showing me the error that it couldn't import the lib because it couldn't find the export data. I figured out that .gox files contains the export data.
So the standard libs are currently on a file format, I only saw on one page:
"FILE.gox, when used, will typically contain nothing but export data. This can be generated from FILE.o via
objcopy -j .go_export FILE.o FILE.gox" (https://golang.org/doc/install/gccgo#Imports)
So I was thinking about two possibilities to access external libs via llgo:
1. Maybe I can put my library somewhere in the llgo folder for having them builded like the standard libs. Is that possible with the current (or a modified) build process? Does the build process of llgo even create these files itself or are they just downloaded somewhere from the internet?
2. Can I compile my external library somehow so I can get the .o-file / the .gox-file?
Thanks in advance.
Cheers,
Phil
First off all correct me if I'm wrong. I'm relatively new to llgo and golang.
I ran into a problem using external libraries for go and compiling them with llgo. It's showing me the error that it couldn't import the lib because it couldn't find the export data. I figured out that .gox files contains the export data.
So the standard libs are currently on a file format, I only saw on one page:
"FILE.gox, when used, will typically contain nothing but export data. This can be generated from FILE.o via
objcopy -j .go_export FILE.o FILE.gox" (https://golang.org/doc/install/gccgo#Imports)
So I was thinking about two possibilities to access external libs via llgo:
1. Maybe I can put my library somewhere in the llgo folder for having them builded like the standard libs. Is that possible with the current (or a modified) build process? Does the build process of llgo even create these files itself or are they just downloaded somewhere from the internet?
2. Can I compile my external library somehow so I can get the .o-file / the .gox-file?
Thanks in advance.
Cheers,
Phil
--
You received this message because you are subscribed to the Google Groups "llgo-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to llgo-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks Andrew!